public class SendInvoice extends AbstractSendRequest<SendInvoice>
thisAsT
Constructor and Description |
---|
SendInvoice(java.lang.Integer chatId,
java.lang.String title,
java.lang.String description,
java.lang.String payload,
java.lang.String providerToken,
java.lang.String startParameter,
java.lang.String currency,
LabeledPrice... prices) |
Modifier and Type | Method and Description |
---|---|
SendInvoice |
isFlexible(boolean isFlexible) |
SendInvoice |
needEmail(boolean needEmail) |
SendInvoice |
needName(boolean needName) |
SendInvoice |
needPhoneNumber(boolean needPhoneNumber) |
SendInvoice |
needShippingAddress(boolean needShippingAddress) |
SendInvoice |
photoHeight(java.lang.Integer photoHeight) |
SendInvoice |
photoSize(java.lang.Integer photoSize) |
SendInvoice |
photoUrl(java.lang.String photoUrl) |
SendInvoice |
photoWidth(java.lang.Integer photoWidth) |
SendInvoice |
providerData(java.lang.String providerData) |
disableNotification, replyMarkup, replyToMessageId
add, addAll, getContentType, getFileName, getMethod, getParameters, getResponseType, getTimeoutSeconds, isMultipart, serialize, toWebhookResponse
public SendInvoice(java.lang.Integer chatId, java.lang.String title, java.lang.String description, java.lang.String payload, java.lang.String providerToken, java.lang.String startParameter, java.lang.String currency, LabeledPrice... prices)
public SendInvoice providerData(java.lang.String providerData)
public SendInvoice photoUrl(java.lang.String photoUrl)
public SendInvoice photoSize(java.lang.Integer photoSize)
public SendInvoice photoWidth(java.lang.Integer photoWidth)
public SendInvoice photoHeight(java.lang.Integer photoHeight)
public SendInvoice needName(boolean needName)
public SendInvoice needPhoneNumber(boolean needPhoneNumber)
public SendInvoice needEmail(boolean needEmail)
public SendInvoice needShippingAddress(boolean needShippingAddress)
public SendInvoice isFlexible(boolean isFlexible)