Class SendInvoice
- java.lang.Object
-
- com.jtelegram.api.requests.framework.AbstractTelegramRequest
-
- com.jtelegram.api.requests.framework.QueryTelegramRequest<T>
-
- com.jtelegram.api.requests.message.framework.req.SendableChatRequest<T>
-
- com.jtelegram.api.requests.message.framework.req.SendableMessageRequest<Message>
-
- com.jtelegram.api.requests.message.send.SendInvoice
-
- All Implemented Interfaces:
TelegramRequest
public class SendInvoice extends SendableMessageRequest<Message>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SendInvoice.SendInvoiceBuilder
-
Field Summary
-
Fields inherited from class com.jtelegram.api.requests.framework.AbstractTelegramRequest
errorHandler, gson
-
Fields inherited from interface com.jtelegram.api.requests.framework.TelegramRequest
JSON_MEDIA_TYPE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SendInvoice.SendInvoiceBuilder
builder()
java.util.Currency
getCurrency()
java.lang.String
getDescription()
java.lang.Boolean
getIsFlexible()
java.lang.Boolean
getNeedEmail()
java.lang.Boolean
getNeedName()
java.lang.Boolean
getNeedPhoneNumber()
java.lang.Boolean
getNeedShippingAddress()
java.lang.String
getPayload()
java.lang.Integer
getPhotoHeight()
java.lang.Integer
getPhotoSize()
java.lang.String
getPhotoUrl()
java.lang.Integer
getPhotoWidth()
java.util.List<LabeledPrice>
getPrices()
java.lang.String
getProviderData()
java.lang.String
getProviderToken()
java.lang.String
getStartParameter()
java.lang.String
getTitle()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.requests.message.framework.req.SendableMessageRequest
getDisableNotification, getReplyMarkup, getReplyToMessageId, isValid, setReplyToMessageId
-
Methods inherited from class com.jtelegram.api.requests.message.framework.req.SendableChatRequest
canEqual, equals, getChatId, hashCode, setChatId
-
Methods inherited from class com.jtelegram.api.requests.framework.QueryTelegramRequest
handleResponse, setCallback
-
Methods inherited from class com.jtelegram.api.requests.framework.AbstractTelegramRequest
getBody, getEndPoint, handleError, handleException, serialize, setErrorHandler, validate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.jtelegram.api.requests.framework.TelegramRequest
build
-
-
-
-
Method Detail
-
builder
public static SendInvoice.SendInvoiceBuilder builder()
-
getTitle
public java.lang.String getTitle()
-
getDescription
public java.lang.String getDescription()
-
getPayload
public java.lang.String getPayload()
-
getProviderToken
public java.lang.String getProviderToken()
-
getStartParameter
public java.lang.String getStartParameter()
-
getCurrency
public java.util.Currency getCurrency()
-
getPrices
public java.util.List<LabeledPrice> getPrices()
-
getProviderData
public java.lang.String getProviderData()
-
getPhotoUrl
public java.lang.String getPhotoUrl()
-
getPhotoSize
public java.lang.Integer getPhotoSize()
-
getPhotoWidth
public java.lang.Integer getPhotoWidth()
-
getPhotoHeight
public java.lang.Integer getPhotoHeight()
-
getNeedName
public java.lang.Boolean getNeedName()
-
getNeedPhoneNumber
public java.lang.Boolean getNeedPhoneNumber()
-
getNeedEmail
public java.lang.Boolean getNeedEmail()
-
getNeedShippingAddress
public java.lang.Boolean getNeedShippingAddress()
-
getIsFlexible
public java.lang.Boolean getIsFlexible()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-