export Class
PreCheckoutQuery ​
extends ​
BaseClass
<PreCheckoutQuery
, PreCheckoutQueryPacket
>
implements ​
Constructor ​
ts
new PreCheckoutQuery( client, packet )
Parameter | Type | Description |
---|---|---|
client | Client | |
packet | PreCheckoutQuery |
Properties ​
get user : User
​
readonly client : Client
​
currency : string
​
from? : UserPacket
​
id : string
​
invoice_payload : string
​
order_info? : OrderInfo
​
shipping_option_id? : string
​
total_amount : number
​
Methods ​
asyncnotOk( error_message ) ​
Parameter | Type | Description |
---|---|---|
error_message | string |
Returns:
Promise
<boolean
>
asyncok( ) ​
Returns:
Promise
<boolean
>