@@ -8,9 +8,6 @@ import { BaseResource } from './internal';
8
8
export class CommerceSettings extends BaseResource implements CommerceSettingsResource {
9
9
billing : CommerceSettingsResource [ 'billing' ] = {
10
10
stripePublishableKey : '' ,
11
- enabled : false ,
12
- hasPaidUserPlans : false ,
13
- hasPaidOrgPlans : false ,
14
11
organization : {
15
12
enabled : false ,
16
13
hasPaidPlans : false ,
@@ -32,9 +29,6 @@ export class CommerceSettings extends BaseResource implements CommerceSettingsRe
32
29
}
33
30
34
31
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 ;
38
32
this . billing . organization . enabled = data . billing . organization . enabled || false ;
39
33
this . billing . organization . hasPaidPlans = data . billing . organization . has_paid_plans || false ;
40
34
this . billing . user . enabled = data . billing . user . enabled || false ;
@@ -47,9 +41,6 @@ export class CommerceSettings extends BaseResource implements CommerceSettingsRe
47
41
return {
48
42
billing : {
49
43
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 ,
53
44
organization : {
54
45
enabled : this . billing . organization . enabled ,
55
46
has_paid_plans : this . billing . organization . hasPaidPlans ,
0 commit comments