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
Labeled Price
Link copied to clipboard
Labeled Prices Serializer
Link copied to clipboard
Pre Checkout Query
Link copied to clipboard
data class PreCheckoutQuery(id: PreCheckoutQueryId, user: User, currency: Currency, amount: Long, invoicePayload: InvoicePayload, shippingOptionId: ShippingOptionIdentifier?, orderInfo: OrderInfo?) : Currencied, Amounted, FromUser
Content copied to clipboard
Shipping Address
Link copied to clipboard
Shipping Option
Link copied to clipboard
data class ShippingOption(id: ShippingOptionIdentifier, title: String, prices: List<LabeledPrice>) : Priced
Content copied to clipboard
Shipping Query
Link copied to clipboard
data class ShippingQuery(id: ShippingQueryIdentifier, user: User, invoicePayload: InvoicePayload, shippingAddress: ShippingAddress) : FromUser
Content copied to clipboard
Successful Payment
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
java Currency
Link copied to clipboard