@@ -8,9 +8,6 @@ import { BaseResource } from './internal';
88export class CommerceSettings extends BaseResource implements CommerceSettingsResource {
99 billing : CommerceSettingsResource [ 'billing' ] = {
1010 stripePublishableKey : '' ,
11- enabled : false ,
12- hasPaidUserPlans : false ,
13- hasPaidOrgPlans : false ,
1411 organization : {
1512 enabled : false ,
1613 hasPaidPlans : false ,
@@ -32,9 +29,6 @@ export class CommerceSettings extends BaseResource implements CommerceSettingsRe
3229 }
3330
3431 this . billing . stripePublishableKey = data . billing . stripe_publishable_key || '' ;
35- this . billing . enabled = data . billing . enabled || false ;
36- this . billing . hasPaidUserPlans = data . billing . has_paid_user_plans || false ;
37- this . billing . hasPaidOrgPlans = data . billing . has_paid_org_plans || false ;
3832 this . billing . organization . enabled = data . billing . organization . enabled || false ;
3933 this . billing . organization . hasPaidPlans = data . billing . organization . has_paid_plans || false ;
4034 this . billing . user . enabled = data . billing . user . enabled || false ;
@@ -47,9 +41,6 @@ export class CommerceSettings extends BaseResource implements CommerceSettingsRe
4741 return {
4842 billing : {
4943 stripe_publishable_key : this . billing . stripePublishableKey ,
50- enabled : this . billing . enabled ,
51- has_paid_user_plans : this . billing . hasPaidUserPlans ,
52- has_paid_org_plans : this . billing . hasPaidOrgPlans ,
5344 organization : {
5445 enabled : this . billing . organization . enabled ,
5546 has_paid_plans : this . billing . organization . hasPaidPlans ,
0 commit comments