Class CreateInvoiceLink.Builder
java.lang.Object
org.teleight.teleightbots.api.methods.CreateInvoiceLink.Builder
- Enclosing class:
CreateInvoiceLink
-
Method Summary
Modifier and TypeMethodDescriptionbuild()businessConnectionId(@Nullable String businessConnectionId) description(@NotNull String description) isFlexible(boolean isFlexible) maxTipAmount(int maxTipAmount) needEmail(boolean needEmail) needName(boolean needName) needPhoneNumber(boolean needPhoneNumber) needShippingAddress(boolean needShippingAddress) photoHeight(int photoHeight) photoSize(int photoSize) photoWidth(int photoWidth) prices(@NotNull LabeledPrice[] prices) providerData(@Nullable String providerData) providerToken(@NotNull String providerToken) sendEmailToProvider(boolean sendEmailToProvider) sendPhoneNumberToProvider(boolean sendPhoneNumberToProvider) subscriptionPeriod(int subscriptionPeriod) suggestedTipAmounts(int[] suggestedTipAmounts) toString()
-
Method Details
-
businessConnectionId
public CreateInvoiceLink.Builder businessConnectionId(@Nullable @Nullable String businessConnectionId) - Returns:
this.
-
title
- Returns:
this.
-
description
- Returns:
this.
-
payload
- Returns:
this.
-
providerToken
- Returns:
this.
-
currency
- Returns:
this.
-
prices
- Returns:
this.
-
subscriptionPeriod
- Returns:
this.
-
maxTipAmount
- Returns:
this.
-
suggestedTipAmounts
- Returns:
this.
-
providerData
- Returns:
this.
-
photoUrl
- Returns:
this.
-
photoSize
- Returns:
this.
-
photoWidth
- Returns:
this.
-
photoHeight
- Returns:
this.
-
needName
- Returns:
this.
-
needPhoneNumber
- Returns:
this.
-
needEmail
- Returns:
this.
-
needShippingAddress
- Returns:
this.
-
sendPhoneNumberToProvider
- Returns:
this.
-
sendEmailToProvider
- Returns:
this.
-
isFlexible
- Returns:
this.
-
build
-
toString
-