usingInAppPurchase added to model
This commit is contained in:
parent
575a28e25f
commit
929dd8415d
|
@ -8,6 +8,7 @@ export class SubscriptionResponse extends BaseResponse {
|
||||||
upcomingInvoice: BillingSubscriptionUpcomingInvoiceResponse;
|
upcomingInvoice: BillingSubscriptionUpcomingInvoiceResponse;
|
||||||
license: any;
|
license: any;
|
||||||
expiration: string;
|
expiration: string;
|
||||||
|
usingInAppPurchase: boolean;
|
||||||
|
|
||||||
constructor(response: any) {
|
constructor(response: any) {
|
||||||
super(response);
|
super(response);
|
||||||
|
@ -16,6 +17,7 @@ export class SubscriptionResponse extends BaseResponse {
|
||||||
this.maxStorageGb = this.getResponseProperty('MaxStorageGb');
|
this.maxStorageGb = this.getResponseProperty('MaxStorageGb');
|
||||||
this.license = this.getResponseProperty('License');
|
this.license = this.getResponseProperty('License');
|
||||||
this.expiration = this.getResponseProperty('Expiration');
|
this.expiration = this.getResponseProperty('Expiration');
|
||||||
|
this.usingInAppPurchase = this.getResponseProperty('UpcomingInvoice');
|
||||||
const subscription = this.getResponseProperty('Subscription');
|
const subscription = this.getResponseProperty('Subscription');
|
||||||
const upcomingInvoice = this.getResponseProperty('UpcomingInvoice');
|
const upcomingInvoice = this.getResponseProperty('UpcomingInvoice');
|
||||||
this.subscription = subscription == null ? null : new BillingSubscriptionResponse(subscription);
|
this.subscription = subscription == null ? null : new BillingSubscriptionResponse(subscription);
|
||||||
|
|
Loading…
Reference in New Issue