Class SendInvoice.SendInvoiceBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.send.SendInvoice.SendInvoiceBuilder
-
- Enclosing class:
- SendInvoice
public static class SendInvoice.SendInvoiceBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
callback
public SendInvoice.SendInvoiceBuilder callback(java.util.function.Consumer<Message> callback)
-
errorHandler
public SendInvoice.SendInvoiceBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public SendInvoice.SendInvoiceBuilder chatId(ChatId chatId)
-
replyToMessageId
public SendInvoice.SendInvoiceBuilder replyToMessageId(java.lang.Integer replyToMessageId)
-
disableNotification
public SendInvoice.SendInvoiceBuilder disableNotification(java.lang.Boolean disableNotification)
-
replyMarkup
public SendInvoice.SendInvoiceBuilder replyMarkup(ReplyMarkup replyMarkup)
-
title
public SendInvoice.SendInvoiceBuilder title(java.lang.String title)
-
description
public SendInvoice.SendInvoiceBuilder description(java.lang.String description)
-
payload
public SendInvoice.SendInvoiceBuilder payload(java.lang.String payload)
-
providerToken
public SendInvoice.SendInvoiceBuilder providerToken(java.lang.String providerToken)
-
startParameter
public SendInvoice.SendInvoiceBuilder startParameter(java.lang.String startParameter)
-
currency
public SendInvoice.SendInvoiceBuilder currency(java.util.Currency currency)
-
prices
public SendInvoice.SendInvoiceBuilder prices(java.util.List<LabeledPrice> prices)
-
providerData
public SendInvoice.SendInvoiceBuilder providerData(java.lang.String providerData)
-
photoUrl
public SendInvoice.SendInvoiceBuilder photoUrl(java.lang.String photoUrl)
-
photoSize
public SendInvoice.SendInvoiceBuilder photoSize(java.lang.Integer photoSize)
-
photoWidth
public SendInvoice.SendInvoiceBuilder photoWidth(java.lang.Integer photoWidth)
-
photoHeight
public SendInvoice.SendInvoiceBuilder photoHeight(java.lang.Integer photoHeight)
-
needName
public SendInvoice.SendInvoiceBuilder needName(java.lang.Boolean needName)
-
needPhoneNumber
public SendInvoice.SendInvoiceBuilder needPhoneNumber(java.lang.Boolean needPhoneNumber)
-
needEmail
public SendInvoice.SendInvoiceBuilder needEmail(java.lang.Boolean needEmail)
-
needShippingAddress
public SendInvoice.SendInvoiceBuilder needShippingAddress(java.lang.Boolean needShippingAddress)
-
isFlexible
public SendInvoice.SendInvoiceBuilder isFlexible(java.lang.Boolean isFlexible)
-
build
public SendInvoice build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-