프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 |
메소드 | 설명 | |
---|---|---|
__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 | |
리턴 |
public getBundleId ( ) : string | ||
리턴 | string |
public getLatestReceiptInfo ( ) : array | ||
리턴 | array |
public parseJsonResponse ( string $jsonResponse ) : |
||
$jsonResponse | string | |
리턴 |
public setResultCode ( integer $code ) : |
||
$code | integer | |
리턴 |
protected string $_bundle_id | ||
리턴 | string |
protected string $_latest_receipt | ||
리턴 | string |
protected array $_latest_receipt_info | ||
리턴 | array |