docs

# PreCheckoutQuery

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

## Constructors

PreCheckoutQuery
Link copied to clipboard
fun PreCheckoutQuery ( id: PreCheckoutQueryId , from: User , currency: Currency , amount: Long , invoicePayload: InvoicePayload , shippingOptionId: ShippingOptionIdentifier ? = null, orderInfo: OrderInfo ? = null)
Content copied to clipboard

## Properties

adaptedMajorityTotalAmount
Link copied to clipboard
open val adaptedMajorityTotalAmount : Double
Content copied to clipboard
amount
Link copied to clipboard
open override val amount : Long
Content copied to clipboard
currency
Link copied to clipboard
open override val currency : Currency
Content copied to clipboard
from
Link copied to clipboard
open override val from : User
Content copied to clipboard

The source User of this type

id
Link copied to clipboard
val id : PreCheckoutQueryId
Content copied to clipboard
invoicePayload
Link copied to clipboard
val invoicePayload : InvoicePayload
Content copied to clipboard
orderInfo
Link copied to clipboard
val orderInfo : OrderInfo ? = null
Content copied to clipboard
shippingOptionId
Link copied to clipboard
val shippingOptionId : ShippingOptionIdentifier ? = null
Content copied to clipboard
user
Link copied to clipboard
open override val user : User
Content copied to clipboard

## Extensions

createAnswerError
Link copied to clipboard
fun PreCheckoutQuery . createAnswerError (error: String ): AnswerPreCheckoutQueryError
Content copied to clipboard
createAnswerOk
Link copied to clipboard
fun PreCheckoutQuery . createAnswerOk (): AnswerPreCheckoutQueryOk
Content copied to clipboard
invoice_payload
Link copied to clipboard
val PreCheckoutQuery . invoice_payload : InvoicePayload
Content copied to clipboard
order_info
Link copied to clipboard
val PreCheckoutQuery . order_info : OrderInfo ?
Content copied to clipboard
shipping_option_id
Link copied to clipboard
val PreCheckoutQuery . shipping_option_id : ShippingOptionIdentifier ?
Content copied to clipboard
total_amount
Link copied to clipboard
val PreCheckoutQuery . total_amount : Long
Content copied to clipboard