PreCheckoutQuery

@Serializable
data class PreCheckoutQuery(val id: PreCheckoutQueryId, val from: User, val currency: Currency, val amount: Long, val invoicePayload: InvoicePayload, val shippingOptionId: ShippingOptionId? = null, val orderInfo: OrderInfo? = null) : Currencied, Amounted, FromUser

Constructors

Link copied to clipboard
constructor(id: PreCheckoutQueryId, from: User, currency: Currency, amount: Long, invoicePayload: InvoicePayload, shippingOptionId: ShippingOptionId? = 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 = "from")
open override val from: User

The source User of this type

Link copied to clipboard
@SerialName(value = "id")
val id: PreCheckoutQueryId
Link copied to clipboard
@SerialName(value = "invoice_payload")
val invoicePayload: InvoicePayload
Link copied to clipboard
@SerialName(value = "order_info")
val orderInfo: OrderInfo? = null
Link copied to clipboard
@SerialName(value = "shipping_option_id")
val shippingOptionId: ShippingOptionId? = null
Link copied to clipboard
open override val user: User

Functions