1 | <?php |
||
5 | class RenewalInfo |
||
6 | { |
||
7 | private $autoRenewProductId; |
||
8 | private $autoRenewStatus; |
||
9 | private $expirationIntent; |
||
10 | private $originalTransactionId; |
||
11 | private $isInBillingRetryPeriod; |
||
12 | private $productId; |
||
13 | private $priceConsentStatus; |
||
14 | private $gracePeriodExpiresDate; |
||
15 | private $gracePeriodExpiresDateMs; |
||
16 | private $gracePeriodExpiresDatePst; |
||
17 | |||
18 | public function __construct() |
||
21 | |||
22 | public static function createFromRequest(array $pendingRenewalInfo) |
||
37 | |||
38 | /** |
||
39 | * Get the value of autoRenewProductId. |
||
40 | */ |
||
41 | public function getAutoRenewProductId() |
||
45 | |||
46 | /** |
||
47 | * Get the value of autoRenewStatus. |
||
48 | */ |
||
49 | public function getAutoRenewStatus() |
||
53 | |||
54 | /** |
||
55 | * Get the value of expirationIntent. |
||
56 | */ |
||
57 | public function getExpirationIntent() |
||
61 | |||
62 | /** |
||
63 | * Get the value of originalTransactionId. |
||
64 | */ |
||
65 | public function getOriginalTransactionId() |
||
69 | |||
70 | /** |
||
71 | * Get the value of isInBillingRetryPeriod. |
||
72 | */ |
||
73 | public function getIsInBillingRetryPeriod() |
||
77 | |||
78 | /** |
||
79 | * Get the value of productId. |
||
80 | */ |
||
81 | public function getProductId() |
||
85 | |||
86 | /** |
||
87 | * Get the value of priceConsentStatus. |
||
88 | */ |
||
89 | public function getPriceConsentStatus() |
||
93 | |||
94 | /** |
||
95 | * Get the value of gracePeriodExpiresDate. |
||
96 | */ |
||
97 | public function getGracePeriodExpiresDate() |
||
101 | |||
102 | /** |
||
103 | * Get the value of gracePeriodExpiresDateMs. |
||
104 | */ |
||
105 | public function getGracePeriodExpiresDateMs() |
||
109 | |||
110 | /** |
||
111 | * Get the value of gracePeriodExpiresDatePst. |
||
112 | */ |
||
113 | public function getGracePeriodExpiresDatePst() |
||
117 | } |
||
118 |