CommonSendInvoiceData

interface CommonSendInvoiceData : Titled, Currencied, Priced

Functions

Link copied to clipboard
abstract fun setPhoto(    photoUrl: String,     photoSize: Long? = null,     photoWidth: Int? = null,     photoHeight: Int? = null)
Link copied to clipboard
abstract fun unsetPhoto()

Properties

Link copied to clipboard
abstract val currency: Currency
Link copied to clipboard
abstract val description: String
Link copied to clipboard
abstract val maxTipAmount: Int?
Link copied to clipboard
abstract val payload: String
Link copied to clipboard
abstract val photoHeight: Int?
Link copied to clipboard
abstract val photoSize: Long?
Link copied to clipboard
abstract val photoUrl: String?
Link copied to clipboard
abstract val photoWidth: Int?
Link copied to clipboard
abstract val priceDependOnShipAddress: Boolean
Link copied to clipboard
abstract val prices: List<LabeledPrice>
Link copied to clipboard
abstract val providerData: String?
Link copied to clipboard
abstract val providerToken: String
Link copied to clipboard
abstract val requireEmail: Boolean
Link copied to clipboard
abstract val requireName: Boolean
Link copied to clipboard
abstract val requirePhoneNumber: Boolean
Link copied to clipboard
abstract val requireShippingAddress: Boolean
Link copied to clipboard
abstract val shouldSendEmailToProvider: Boolean
Link copied to clipboard
abstract val shouldSendPhoneNumberToProvider: Boolean
Link copied to clipboard
abstract val suggestedTipAmounts: List<Int>?
Link copied to clipboard
abstract val title: String?

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
inline fun CommonSendInvoiceData.asCreateInvoiceLink(): CreateInvoiceLink?
Link copied to clipboard
Link copied to clipboard
inline fun CommonSendInvoiceData.asSendInvoice(): SendInvoice?
Link copied to clipboard
inline fun CommonSendInvoiceData.createInvoiceLinkOrNull(): CreateInvoiceLink?
Link copied to clipboard
inline fun CommonSendInvoiceData.createInvoiceLinkOrThrow(): CreateInvoiceLink
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.ifCreateInvoiceLink(block: (CreateInvoiceLink) -> T): T?
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.ifInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.ifSendInvoice(block: (SendInvoice) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun CommonSendInvoiceData.requireCreateInvoiceLink(): CreateInvoiceLink
Link copied to clipboard
Link copied to clipboard
inline fun CommonSendInvoiceData.requireSendInvoice(): SendInvoice
Link copied to clipboard
inline fun CommonSendInvoiceData.sendInvoiceOrNull(): SendInvoice?
Link copied to clipboard
inline fun CommonSendInvoiceData.sendInvoiceOrThrow(): SendInvoice
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenCreateInvoiceLink(block: (CreateInvoiceLink) -> T): T?
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenSendInvoice(block: (SendInvoice) -> T): T?