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