SuccessfulPayment

@Serializable
data class SuccessfulPayment(val currency: Currency, val amount: Long, val invoicePayload: String, val subscriptionExpirationDate: TelegramDate? = null, val isSubscriptionPayment: Boolean? = null, val isFirstPeriodPayment: Boolean? = null, 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, subscriptionExpirationDate: TelegramDate? = null, isSubscriptionPayment: Boolean? = null, isFirstPeriodPayment: Boolean? = null, 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 = "is_first_recurring")
val isFirstPeriodPayment: Boolean? = null
Link copied to clipboard
@SerialName(value = "is_recurring")
val isSubscriptionPayment: Boolean? = null
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
Link copied to clipboard
@SerialName(value = "shipping_option_id")
val shippingOptionId: String? = null
Link copied to clipboard
@SerialName(value = "subscription_expiration_date")
val subscriptionExpirationDate: TelegramDate? = null
Link copied to clipboard
@SerialName(value = "telegram_payment_charge_id")
val telegramPaymentChargeId: TelegramPaymentChargeId

Functions

Link copied to clipboard