Package dev. inmo. tgbotapi. types. payments
Types
Invoice
Link copied to clipboard
data class Invoice(title: String, description: String, startParameter: StartParameter, currency: Currency, amount: Long) : Amounted, Currencied
Content copied to clipboard
LabeledPrice
Link copied to clipboard
LabeledPricesSerializer
Link copied to clipboard
PreCheckoutQuery
Link copied to clipboard
data class PreCheckoutQuery(id: PreCheckoutQueryId, user: User, currency: Currency, amount: Long, invoicePayload: InvoicePayload, shippingOptionId: ShippingOptionIdentifier?, orderInfo: OrderInfo?) : Currencied, Amounted
Content copied to clipboard
ShippingAddress
Link copied to clipboard
ShippingOption
Link copied to clipboard
data class ShippingOption(id: ShippingOptionIdentifier, title: String, prices: List<LabeledPrice>) : Priced
Content copied to clipboard
ShippingQuery
Link copied to clipboard
data class ShippingQuery(id: ShippingQueryIdentifier, user: User, invoicePayload: InvoicePayload, shippingAddress: ShippingAddress)
Content copied to clipboard
SuccessfulPayment
Link copied to clipboard
data class SuccessfulPayment(currency: Currency, amount: Long, invoicePayload: String, telegramPaymentChargeId: String, providerPaymentChargeId: String, shippingOptionId: String?, orderInfo: OrderInfo?) : Amounted, Currencied
Content copied to clipboard
Functions
javaCurrency
Link copied to clipboard