SuccessfulPayment

@Serializable
data class SuccessfulPayment(val currency: Currency, val amount: Long, val invoicePayload: String, val telegramPaymentChargeId: TelegramPaymentChargeId, val providerPaymentChargeId: String, val shippingOptionId: String? = null, val orderInfo: OrderInfo? = null) : Amounted, Currencied

Constructors

Link copied to clipboard
constructor(currency: Currency, amount: Long, invoicePayload: String, telegramPaymentChargeId: TelegramPaymentChargeId, providerPaymentChargeId: String, shippingOptionId: String? = null, orderInfo: OrderInfo? = null)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "total_amount")
open override val amount: Long
Link copied to clipboard
@SerialName(value = "currency")
open override val currency: Currency
Link copied to clipboard
@SerialName(value = "invoice_payload")
val invoicePayload: String
Link copied to clipboard
@SerialName(value = "order_info")
val orderInfo: OrderInfo? = null
Link copied to clipboard
@SerialName(value = "provider_payment_charge_id")
val providerPaymentChargeId: String
Link copied to clipboard
@SerialName(value = "shipping_option_id")
val shippingOptionId: String? = null
Link copied to clipboard
@SerialName(value = "telegram_payment_charge_id")
val telegramPaymentChargeId: TelegramPaymentChargeId

Functions

Link copied to clipboard