Transaction object used Iap
methods.
Variables
optionalamount:Int
Facebook Gameroom only. The amount the player will be charged for a single unit of this product.
optionalcancel_date:String
Amazon Pay only. The cancel date for the purchase. This field is only set if the purchase is canceled.
optionalcanceled:Bool
Amazon Pay only. Is set to true if the receipt was canceled or has expired; otherwise false.
optionalis_sandbox_mode:Bool
Amazon Pay only. If true, the SDK is running in Sandbox mode. This only allows interactions with the Amazon AppTester. Use this mode only for testing locally.
optionaloriginal_trans:IapTransaction
Apple only. The original transaction.
This field is only set when state is TRANS_STATE_RESTORED.
optionalreceipt:String
The transaction receipt.
This field is only set when state is TRANS_STATE_PURCHASED or TRANS_STATE_UNVERIFIED.
optionalrequest_id:String
Facebook only. This field is set to the optional custom unique request id
request_id if set in the Iap.buy
call parameters.
optionalsignature:String
Google Play only. A string containing the signature of the purchase data that was signed with the private key of the developer.
optionaltrans_ident:String
The transaction identifier.
This field is only set when state is TRANS_STATE_RESTORED, TRANS_STATE_UNVERIFIED or TRANS_STATE_PURCHASED.