Свойство | Type | Description | |
---|---|---|---|
$_bundle_id | string | bundle_id (app) belongs to the receipt | |
$_code | integer | Result Code | |
$_latest_receipt | string | latest receipt (needs for auto-renewable subscriptions) | |
$_latest_receipt_info | array | latest receipt info (needs for auto-renewable subscriptions) | |
$_purchases | array | purhcases info | |
$_receipt | array | receipt info |
Méthode | Description | |
---|---|---|
__construct ( array $jsonResponse = null ) : |
Constructor | |
getBundleId ( ) : string | Get the bundle id assoicated with the receipt | |
getLatestReceipt ( ) : string | Get latest receipt | |
getLatestReceiptInfo ( ) : array | Get latest receipt info | |
getPurchases ( ) : array | Get purchases info | |
getReceipt ( ) : array | Get receipt info | |
getResultCode ( ) : integer | Get Result Code | |
isValid ( ) : boolean | returns if the receipt is valid or not | |
parseJsonResponse ( string $jsonResponse ) : |
Parse JSON Response | |
setResultCode ( integer $code ) : |
Set Result Code |
public __construct ( array $jsonResponse = null ) : |
||
$jsonResponse | array | |
Résultat |
public getBundleId ( ) : string | ||
Résultat | string |
public getLatestReceipt ( ) : string | ||
Résultat | string |
public getLatestReceiptInfo ( ) : array | ||
Résultat | array |
public parseJsonResponse ( string $jsonResponse ) : |
||
$jsonResponse | string | |
Résultat |
public setResultCode ( integer $code ) : |
||
$code | integer | |
Résultat |
protected string $_bundle_id | ||
Résultat | string |
protected string $_latest_receipt | ||
Résultat | string |
protected array $_latest_receipt_info | ||
Résultat | array |