|
Moai SDK
1.5 revision 1 (MoaiEdition)
|
Inherits MOAIGlobalClass< TYPE, SUPER >.
Function List | |
| canMakePayments | |
| restoreCompletedTransactions | |
| requestPaymentForProduct | |
| requestProductIdentifiers | |
Determines whether or not the app has permission to request payments for in-app purchases.
function canMakePayments ()
Request payment for an in-app purchase.
function requestPaymentForProduct ( string sku [, number quantity ] )
| sku | ( string ) The SKU to purchase. |
| quantity | ( number ) Optional. Default value is 1. |
Verify the validity of a set of products and retrieve relevant information thereabout.
function requestProductIdentifiers ( table skus )
| skus | ( table ) A list of SKUs. |
Request the restoration of any previously purchased items.
function restoreCompletedTransactions ()