Moai SDK  1.5 revision 1 (MoaiEdition)
MOAIBillingIOS Class Reference

Inherits MOAIGlobalClass< TYPE, SUPER >.

List of all members.

Function List

  canMakePayments
  restoreCompletedTransactions
  requestPaymentForProduct
  requestProductIdentifiers

Function Documentation

Determines whether or not the app has permission to request payments for in-app purchases.


function canMakePayments ()
Returns:
enabled ( bool )

Request payment for an in-app purchase.


function requestPaymentForProduct ( string sku [, number quantity ] )
Parameters:
sku ( string ) The SKU to purchase.
quantity ( number ) Optional. Default value is 1.
Returns:
nil

Verify the validity of a set of products and retrieve relevant information thereabout.


function requestProductIdentifiers ( table skus )
Parameters:
skus ( table ) A list of SKUs.
Returns:
nil

Request the restoration of any previously purchased items.


function restoreCompletedTransactions ()
Returns:
nil