From 929dd8415dcd69032e545b20f75c1c8abaad0e3a Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 19 Sep 2019 16:30:29 -0400 Subject: [PATCH] usingInAppPurchase added to model --- src/models/response/subscriptionResponse.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/response/subscriptionResponse.ts b/src/models/response/subscriptionResponse.ts index 13f1b30aaa..d7915932a1 100644 --- a/src/models/response/subscriptionResponse.ts +++ b/src/models/response/subscriptionResponse.ts @@ -8,6 +8,7 @@ export class SubscriptionResponse extends BaseResponse { upcomingInvoice: BillingSubscriptionUpcomingInvoiceResponse; license: any; expiration: string; + usingInAppPurchase: boolean; constructor(response: any) { super(response); @@ -16,6 +17,7 @@ export class SubscriptionResponse extends BaseResponse { this.maxStorageGb = this.getResponseProperty('MaxStorageGb'); this.license = this.getResponseProperty('License'); this.expiration = this.getResponseProperty('Expiration'); + this.usingInAppPurchase = this.getResponseProperty('UpcomingInvoice'); const subscription = this.getResponseProperty('Subscription'); const upcomingInvoice = this.getResponseProperty('UpcomingInvoice'); this.subscription = subscription == null ? null : new BillingSubscriptionResponse(subscription);