smplkit 1.0.22 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/billing_api.rb +0 -125
  3. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/account.rb +49 -5
  4. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/{catalog_bundle_resource.rb → next_tier_meta.rb} +60 -68
  5. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/subscription_attributes.rb +1 -11
  6. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/subscription_list_meta.rb +302 -0
  7. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/subscription_list_response.rb +13 -4
  8. data/lib/smplkit/_generated/app/lib/smplkit_app_client.rb +2 -9
  9. data/lib/smplkit/_generated/app/spec/api/billing_api_spec.rb +0 -23
  10. data/lib/smplkit/_generated/app/spec/models/account_spec.rb +24 -0
  11. data/lib/smplkit/_generated/app/spec/models/{bundle_attributes_spec.rb → next_tier_meta_spec.rb} +9 -15
  12. data/lib/smplkit/_generated/app/spec/models/subscription_attributes_spec.rb +0 -6
  13. data/lib/smplkit/_generated/app/spec/models/subscription_list_meta_spec.rb +70 -0
  14. data/lib/smplkit/_generated/app/spec/models/subscription_list_response_spec.rb +6 -0
  15. metadata +5 -19
  16. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/bundle_attributes.rb +0 -246
  17. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/bundle_list_response.rb +0 -166
  18. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/bundle_resource.rb +0 -224
  19. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/bundle_response.rb +0 -164
  20. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/catalog_bundle_attributes.rb +0 -244
  21. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/create_bundle_attributes.rb +0 -174
  22. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/create_bundle_body.rb +0 -164
  23. data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/create_bundle_data.rb +0 -214
  24. data/lib/smplkit/_generated/app/spec/models/bundle_list_response_spec.rb +0 -36
  25. data/lib/smplkit/_generated/app/spec/models/bundle_resource_spec.rb +0 -52
  26. data/lib/smplkit/_generated/app/spec/models/bundle_response_spec.rb +0 -36
  27. data/lib/smplkit/_generated/app/spec/models/catalog_bundle_attributes_spec.rb +0 -54
  28. data/lib/smplkit/_generated/app/spec/models/catalog_bundle_resource_spec.rb +0 -52
  29. data/lib/smplkit/_generated/app/spec/models/create_bundle_attributes_spec.rb +0 -42
  30. data/lib/smplkit/_generated/app/spec/models/create_bundle_body_spec.rb +0 -36
  31. data/lib/smplkit/_generated/app/spec/models/create_bundle_data_spec.rb +0 -46
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5e0d5932d4d7f60ee888012ba55971ac9ddb7c2416c02a314802016f03c8241
4
- data.tar.gz: b038f538c31da57a59b295649ff3499577c83cb13d9f50c0d61379946a69f84a
3
+ metadata.gz: bff1572898b8af4d21af85f39f82e0e7b684173ef64b86163c81dacf20563028
4
+ data.tar.gz: 50adc24985da3c81d82ed2847716e333c8d9589f74fc6eb86a7d53f6b4ae054e
5
5
  SHA512:
6
- metadata.gz: 858dd5c84add861872f6d16b997f310e7d5046f9ade96ee006960838ddd4b82070bd583364aa67429cf0e3be7e53da6ccaea5bb56de81f75bf5477c0a3a62a07
7
- data.tar.gz: 904792e0739e4d9e9916b3d2cd2305b2bf8bc29279fca461a18329d8b8abd2f1dc55a3eae33392029a17a259b87ec5741d1010b7e8f59cd17118cbd40d5e6626
6
+ metadata.gz: bcb2099f897e6a2590abdf0bf56067bed0b0e876620a93d34fb074d10c30d81e081923024301f5a10d8a85230fdf8081f642957c3e368bb0b41307e15f1fe0f7
7
+ data.tar.gz: 4e8ebcafe5029e2f49f7518a1b103c454aab008ea38f0e8af4ff65732f662deeb4ded0426973185935fbf4948db0b93abd2f9b0945c02c3179284667f57abad4
@@ -82,74 +82,6 @@ module SmplkitGeneratedClient::App
82
82
  return data, status_code, headers
83
83
  end
84
84
 
85
- # Create Bundle Subscription
86
- # Create a bundle subscription covering all three products at a shared plan tier.
87
- # @param create_bundle_body [CreateBundleBody]
88
- # @param [Hash] opts the optional parameters
89
- # @return [BundleResponse]
90
- def create_bundle(create_bundle_body, opts = {})
91
- data, _status_code, _headers = create_bundle_with_http_info(create_bundle_body, opts)
92
- data
93
- end
94
-
95
- # Create Bundle Subscription
96
- # Create a bundle subscription covering all three products at a shared plan tier.
97
- # @param create_bundle_body [CreateBundleBody]
98
- # @param [Hash] opts the optional parameters
99
- # @return [Array<(BundleResponse, Integer, Hash)>] BundleResponse data, response status code and response headers
100
- def create_bundle_with_http_info(create_bundle_body, opts = {})
101
- if @api_client.config.debugging
102
- @api_client.config.logger.debug 'Calling API: BillingApi.create_bundle ...'
103
- end
104
- # verify the required parameter 'create_bundle_body' is set
105
- if @api_client.config.client_side_validation && create_bundle_body.nil?
106
- fail ArgumentError, "Missing the required parameter 'create_bundle_body' when calling BillingApi.create_bundle"
107
- end
108
- # resource path
109
- local_var_path = '/api/v1/bundles'
110
-
111
- # query parameters
112
- query_params = opts[:query_params] || {}
113
-
114
- # header parameters
115
- header_params = opts[:header_params] || {}
116
- # HTTP header 'Accept' (if needed)
117
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json']) unless header_params['Accept']
118
- # HTTP header 'Content-Type'
119
- content_type = @api_client.select_header_content_type(['application/vnd.api+json'])
120
- if !content_type.nil?
121
- header_params['Content-Type'] = content_type
122
- end
123
-
124
- # form parameters
125
- form_params = opts[:form_params] || {}
126
-
127
- # http body (model)
128
- post_body = opts[:debug_body] || @api_client.object_to_http_body(create_bundle_body)
129
-
130
- # return_type
131
- return_type = opts[:debug_return_type] || 'BundleResponse'
132
-
133
- # auth_names
134
- auth_names = opts[:debug_auth_names] || ['HTTPBearer']
135
-
136
- new_options = opts.merge(
137
- :operation => :"BillingApi.create_bundle",
138
- :header_params => header_params,
139
- :query_params => query_params,
140
- :form_params => form_params,
141
- :body => post_body,
142
- :auth_names => auth_names,
143
- :return_type => return_type
144
- )
145
-
146
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
147
- if @api_client.config.debugging
148
- @api_client.config.logger.debug "API called: BillingApi#create_bundle\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
149
- end
150
- return data, status_code, headers
151
- end
152
-
153
85
  # Add Payment Method
154
86
  # Register a Stripe payment method (``pm_...``) as a persistent resource. The frontend obtains the Stripe ID via SetupIntent + Stripe Elements, then POSTs it here. Body shape and server behavior per ADR-044 §5.1.
155
87
  # @param add_payment_method_body [AddPaymentMethodBody]
@@ -606,63 +538,6 @@ module SmplkitGeneratedClient::App
606
538
  return data, status_code, headers
607
539
  end
608
540
 
609
- # List Bundles
610
- # Return all bundle definitions as JSON:API resources. Public, unauthenticated.
611
- # @param [Hash] opts the optional parameters
612
- # @return [BundleListResponse]
613
- def list_bundles(opts = {})
614
- data, _status_code, _headers = list_bundles_with_http_info(opts)
615
- data
616
- end
617
-
618
- # List Bundles
619
- # Return all bundle definitions as JSON:API resources. Public, unauthenticated.
620
- # @param [Hash] opts the optional parameters
621
- # @return [Array<(BundleListResponse, Integer, Hash)>] BundleListResponse data, response status code and response headers
622
- def list_bundles_with_http_info(opts = {})
623
- if @api_client.config.debugging
624
- @api_client.config.logger.debug 'Calling API: BillingApi.list_bundles ...'
625
- end
626
- # resource path
627
- local_var_path = '/api/v1/bundles'
628
-
629
- # query parameters
630
- query_params = opts[:query_params] || {}
631
-
632
- # header parameters
633
- header_params = opts[:header_params] || {}
634
- # HTTP header 'Accept' (if needed)
635
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json']) unless header_params['Accept']
636
-
637
- # form parameters
638
- form_params = opts[:form_params] || {}
639
-
640
- # http body (model)
641
- post_body = opts[:debug_body]
642
-
643
- # return_type
644
- return_type = opts[:debug_return_type] || 'BundleListResponse'
645
-
646
- # auth_names
647
- auth_names = opts[:debug_auth_names] || []
648
-
649
- new_options = opts.merge(
650
- :operation => :"BillingApi.list_bundles",
651
- :header_params => header_params,
652
- :query_params => query_params,
653
- :form_params => form_params,
654
- :body => post_body,
655
- :auth_names => auth_names,
656
- :return_type => return_type
657
- )
658
-
659
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
660
- if @api_client.config.debugging
661
- @api_client.config.logger.debug "API called: BillingApi#list_bundles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
662
- end
663
- return data, status_code, headers
664
- end
665
-
666
541
  # List Invoices
667
542
  # Return invoice history for the account from Stripe.
668
543
  # @param [Hash] opts the optional parameters
@@ -35,6 +35,18 @@ module SmplkitGeneratedClient::App
35
35
  # Whether sample data is active (from account.settings)
36
36
  attr_accessor :show_sample_data
37
37
 
38
+ # Custom discount percentage that overrides the volume schedule. Null means the volume schedule applies.
39
+ attr_accessor :discount_override_pct
40
+
41
+ # Free-form note explaining why the override was set.
42
+ attr_accessor :discount_override_reason
43
+
44
+ # UUID of the admin user who set the override.
45
+ attr_accessor :discount_override_set_by_user_id
46
+
47
+ # Timestamp when the override was last changed.
48
+ attr_accessor :discount_override_set_at
49
+
38
50
  # Attribute mapping from ruby-style variable name to JSON key.
39
51
  def self.attribute_map
40
52
  {
@@ -46,7 +58,11 @@ module SmplkitGeneratedClient::App
46
58
  :'deleted_at' => :'deleted_at',
47
59
  :'product_subscriptions' => :'product_subscriptions',
48
60
  :'entry_point' => :'entry_point',
49
- :'show_sample_data' => :'show_sample_data'
61
+ :'show_sample_data' => :'show_sample_data',
62
+ :'discount_override_pct' => :'discount_override_pct',
63
+ :'discount_override_reason' => :'discount_override_reason',
64
+ :'discount_override_set_by_user_id' => :'discount_override_set_by_user_id',
65
+ :'discount_override_set_at' => :'discount_override_set_at'
50
66
  }
51
67
  end
52
68
 
@@ -71,7 +87,11 @@ module SmplkitGeneratedClient::App
71
87
  :'deleted_at' => :'Time',
72
88
  :'product_subscriptions' => :'Hash<String, Object>',
73
89
  :'entry_point' => :'String',
74
- :'show_sample_data' => :'Boolean'
90
+ :'show_sample_data' => :'Boolean',
91
+ :'discount_override_pct' => :'Integer',
92
+ :'discount_override_reason' => :'String',
93
+ :'discount_override_set_by_user_id' => :'String',
94
+ :'discount_override_set_at' => :'Time'
75
95
  }
76
96
  end
77
97
 
@@ -83,7 +103,11 @@ module SmplkitGeneratedClient::App
83
103
  :'deleted_at',
84
104
  :'product_subscriptions',
85
105
  :'entry_point',
86
- :'show_sample_data'
106
+ :'show_sample_data',
107
+ :'discount_override_pct',
108
+ :'discount_override_reason',
109
+ :'discount_override_set_by_user_id',
110
+ :'discount_override_set_at'
87
111
  ])
88
112
  end
89
113
 
@@ -146,6 +170,22 @@ module SmplkitGeneratedClient::App
146
170
  if attributes.key?(:'show_sample_data')
147
171
  self.show_sample_data = attributes[:'show_sample_data']
148
172
  end
173
+
174
+ if attributes.key?(:'discount_override_pct')
175
+ self.discount_override_pct = attributes[:'discount_override_pct']
176
+ end
177
+
178
+ if attributes.key?(:'discount_override_reason')
179
+ self.discount_override_reason = attributes[:'discount_override_reason']
180
+ end
181
+
182
+ if attributes.key?(:'discount_override_set_by_user_id')
183
+ self.discount_override_set_by_user_id = attributes[:'discount_override_set_by_user_id']
184
+ end
185
+
186
+ if attributes.key?(:'discount_override_set_at')
187
+ self.discount_override_set_at = attributes[:'discount_override_set_at']
188
+ end
149
189
  end
150
190
 
151
191
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -224,7 +264,11 @@ module SmplkitGeneratedClient::App
224
264
  deleted_at == o.deleted_at &&
225
265
  product_subscriptions == o.product_subscriptions &&
226
266
  entry_point == o.entry_point &&
227
- show_sample_data == o.show_sample_data
267
+ show_sample_data == o.show_sample_data &&
268
+ discount_override_pct == o.discount_override_pct &&
269
+ discount_override_reason == o.discount_override_reason &&
270
+ discount_override_set_by_user_id == o.discount_override_set_by_user_id &&
271
+ discount_override_set_at == o.discount_override_set_at
228
272
  end
229
273
 
230
274
  # @see the `==` method
@@ -236,7 +280,7 @@ module SmplkitGeneratedClient::App
236
280
  # Calculates hash code according to all attributes.
237
281
  # @return [Integer] Hash code
238
282
  def hash
239
- [name, key, has_stripe_customer, expires_at, created_at, deleted_at, product_subscriptions, entry_point, show_sample_data].hash
283
+ [name, key, has_stripe_customer, expires_at, created_at, deleted_at, product_subscriptions, entry_point, show_sample_data, discount_override_pct, discount_override_reason, discount_override_set_by_user_id, discount_override_set_at].hash
240
284
  end
241
285
 
242
286
  # Builds the object from hash
@@ -14,41 +14,19 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module SmplkitGeneratedClient::App
17
- class CatalogBundleResource < ApiModelBase
18
- attr_accessor :id
19
-
20
- attr_accessor :type
21
-
22
- attr_accessor :attributes
23
-
24
- class EnumAttributeValidator
25
- attr_reader :datatype
26
- attr_reader :allowable_values
27
-
28
- def initialize(datatype, allowable_values)
29
- @allowable_values = allowable_values.map do |value|
30
- case datatype.to_s
31
- when /Integer/i
32
- value.to_i
33
- when /Float/i
34
- value.to_f
35
- else
36
- value
37
- end
38
- end
39
- end
17
+ class NextTierMeta < ApiModelBase
18
+ attr_accessor :products_needed
40
19
 
41
- def valid?(value)
42
- !value || allowable_values.include?(value)
43
- end
44
- end
20
+ attr_accessor :discount_pct
21
+
22
+ attr_accessor :additional_savings_cents
45
23
 
46
24
  # Attribute mapping from ruby-style variable name to JSON key.
47
25
  def self.attribute_map
48
26
  {
49
- :'id' => :'id',
50
- :'type' => :'type',
51
- :'attributes' => :'attributes'
27
+ :'products_needed' => :'products_needed',
28
+ :'discount_pct' => :'discount_pct',
29
+ :'additional_savings_cents' => :'additional_savings_cents'
52
30
  }
53
31
  end
54
32
 
@@ -65,16 +43,15 @@ module SmplkitGeneratedClient::App
65
43
  # Attribute type mapping.
66
44
  def self.openapi_types
67
45
  {
68
- :'id' => :'String',
69
- :'type' => :'String',
70
- :'attributes' => :'CatalogBundleAttributes'
46
+ :'products_needed' => :'Integer',
47
+ :'discount_pct' => :'Integer',
48
+ :'additional_savings_cents' => :'Integer'
71
49
  }
72
50
  end
73
51
 
74
52
  # List of attributes with nullable: true
75
53
  def self.openapi_nullable
76
54
  Set.new([
77
- :'id',
78
55
  ])
79
56
  end
80
57
 
@@ -82,32 +59,34 @@ module SmplkitGeneratedClient::App
82
59
  # @param [Hash] attributes Model attributes in the form of hash
83
60
  def initialize(attributes = {})
84
61
  if (!attributes.is_a?(Hash))
85
- fail ArgumentError, "The input argument (attributes) must be a hash in `SmplkitGeneratedClient::App::CatalogBundleResource` initialize method"
62
+ fail ArgumentError, "The input argument (attributes) must be a hash in `SmplkitGeneratedClient::App::NextTierMeta` initialize method"
86
63
  end
87
64
 
88
65
  # check to see if the attribute exists and convert string to symbol for hash key
89
66
  acceptable_attribute_map = self.class.acceptable_attribute_map
90
67
  attributes = attributes.each_with_object({}) { |(k, v), h|
91
68
  if (!acceptable_attribute_map.key?(k.to_sym))
92
- fail ArgumentError, "`#{k}` is not a valid attribute in `SmplkitGeneratedClient::App::CatalogBundleResource`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
69
+ fail ArgumentError, "`#{k}` is not a valid attribute in `SmplkitGeneratedClient::App::NextTierMeta`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
93
70
  end
94
71
  h[k.to_sym] = v
95
72
  }
96
73
 
97
- if attributes.key?(:'id')
98
- self.id = attributes[:'id']
74
+ if attributes.key?(:'products_needed')
75
+ self.products_needed = attributes[:'products_needed']
76
+ else
77
+ self.products_needed = nil
99
78
  end
100
79
 
101
- if attributes.key?(:'type')
102
- self.type = attributes[:'type']
80
+ if attributes.key?(:'discount_pct')
81
+ self.discount_pct = attributes[:'discount_pct']
103
82
  else
104
- self.type = nil
83
+ self.discount_pct = nil
105
84
  end
106
85
 
107
- if attributes.key?(:'attributes')
108
- self.attributes = attributes[:'attributes']
86
+ if attributes.key?(:'additional_savings_cents')
87
+ self.additional_savings_cents = attributes[:'additional_savings_cents']
109
88
  else
110
- self.attributes = nil
89
+ self.additional_savings_cents = nil
111
90
  end
112
91
  end
113
92
 
@@ -116,12 +95,16 @@ module SmplkitGeneratedClient::App
116
95
  def list_invalid_properties
117
96
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
118
97
  invalid_properties = Array.new
119
- if @type.nil?
120
- invalid_properties.push('invalid value for "type", type cannot be nil.')
98
+ if @products_needed.nil?
99
+ invalid_properties.push('invalid value for "products_needed", products_needed cannot be nil.')
100
+ end
101
+
102
+ if @discount_pct.nil?
103
+ invalid_properties.push('invalid value for "discount_pct", discount_pct cannot be nil.')
121
104
  end
122
105
 
123
- if @attributes.nil?
124
- invalid_properties.push('invalid value for "attributes", attributes cannot be nil.')
106
+ if @additional_savings_cents.nil?
107
+ invalid_properties.push('invalid value for "additional_savings_cents", additional_savings_cents cannot be nil.')
125
108
  end
126
109
 
127
110
  invalid_properties
@@ -131,31 +114,40 @@ module SmplkitGeneratedClient::App
131
114
  # @return true if the model is valid
132
115
  def valid?
133
116
  warn '[DEPRECATED] the `valid?` method is obsolete'
134
- return false if @type.nil?
135
- type_validator = EnumAttributeValidator.new('String', ["bundle"])
136
- return false unless type_validator.valid?(@type)
137
- return false if @attributes.nil?
117
+ return false if @products_needed.nil?
118
+ return false if @discount_pct.nil?
119
+ return false if @additional_savings_cents.nil?
138
120
  true
139
121
  end
140
122
 
141
- # Custom attribute writer method checking allowed values (enum).
142
- # @param [Object] type Object to be assigned
143
- def type=(type)
144
- validator = EnumAttributeValidator.new('String', ["bundle"])
145
- unless validator.valid?(type)
146
- fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
123
+ # Custom attribute writer method with validation
124
+ # @param [Object] products_needed Value to be assigned
125
+ def products_needed=(products_needed)
126
+ if products_needed.nil?
127
+ fail ArgumentError, 'products_needed cannot be nil'
128
+ end
129
+
130
+ @products_needed = products_needed
131
+ end
132
+
133
+ # Custom attribute writer method with validation
134
+ # @param [Object] discount_pct Value to be assigned
135
+ def discount_pct=(discount_pct)
136
+ if discount_pct.nil?
137
+ fail ArgumentError, 'discount_pct cannot be nil'
147
138
  end
148
- @type = type
139
+
140
+ @discount_pct = discount_pct
149
141
  end
150
142
 
151
143
  # Custom attribute writer method with validation
152
- # @param [Object] attributes Value to be assigned
153
- def attributes=(attributes)
154
- if attributes.nil?
155
- fail ArgumentError, 'attributes cannot be nil'
144
+ # @param [Object] additional_savings_cents Value to be assigned
145
+ def additional_savings_cents=(additional_savings_cents)
146
+ if additional_savings_cents.nil?
147
+ fail ArgumentError, 'additional_savings_cents cannot be nil'
156
148
  end
157
149
 
158
- @attributes = attributes
150
+ @additional_savings_cents = additional_savings_cents
159
151
  end
160
152
 
161
153
  # Checks equality by comparing each attribute.
@@ -163,9 +155,9 @@ module SmplkitGeneratedClient::App
163
155
  def ==(o)
164
156
  return true if self.equal?(o)
165
157
  self.class == o.class &&
166
- id == o.id &&
167
- type == o.type &&
168
- attributes == o.attributes
158
+ products_needed == o.products_needed &&
159
+ discount_pct == o.discount_pct &&
160
+ additional_savings_cents == o.additional_savings_cents
169
161
  end
170
162
 
171
163
  # @see the `==` method
@@ -177,7 +169,7 @@ module SmplkitGeneratedClient::App
177
169
  # Calculates hash code according to all attributes.
178
170
  # @return [Integer] Hash code
179
171
  def hash
180
- [id, type, attributes].hash
172
+ [products_needed, discount_pct, additional_savings_cents].hash
181
173
  end
182
174
 
183
175
  # Builds the object from hash
@@ -25,8 +25,6 @@ module SmplkitGeneratedClient::App
25
25
 
26
26
  attr_accessor :stripe_managed
27
27
 
28
- attr_accessor :bundle
29
-
30
28
  attr_accessor :current_period_end
31
29
 
32
30
  attr_accessor :client_secret
@@ -39,7 +37,6 @@ module SmplkitGeneratedClient::App
39
37
  :'status' => :'status',
40
38
  :'comped' => :'comped',
41
39
  :'stripe_managed' => :'stripe_managed',
42
- :'bundle' => :'bundle',
43
40
  :'current_period_end' => :'current_period_end',
44
41
  :'client_secret' => :'client_secret'
45
42
  }
@@ -63,7 +60,6 @@ module SmplkitGeneratedClient::App
63
60
  :'status' => :'String',
64
61
  :'comped' => :'Boolean',
65
62
  :'stripe_managed' => :'Boolean',
66
- :'bundle' => :'String',
67
63
  :'current_period_end' => :'String',
68
64
  :'client_secret' => :'String'
69
65
  }
@@ -73,7 +69,6 @@ module SmplkitGeneratedClient::App
73
69
  def self.openapi_nullable
74
70
  Set.new([
75
71
  :'status',
76
- :'bundle',
77
72
  :'current_period_end',
78
73
  :'client_secret'
79
74
  ])
@@ -123,10 +118,6 @@ module SmplkitGeneratedClient::App
123
118
  self.stripe_managed = nil
124
119
  end
125
120
 
126
- if attributes.key?(:'bundle')
127
- self.bundle = attributes[:'bundle']
128
- end
129
-
130
121
  if attributes.key?(:'current_period_end')
131
122
  self.current_period_end = attributes[:'current_period_end']
132
123
  end
@@ -221,7 +212,6 @@ module SmplkitGeneratedClient::App
221
212
  status == o.status &&
222
213
  comped == o.comped &&
223
214
  stripe_managed == o.stripe_managed &&
224
- bundle == o.bundle &&
225
215
  current_period_end == o.current_period_end &&
226
216
  client_secret == o.client_secret
227
217
  end
@@ -235,7 +225,7 @@ module SmplkitGeneratedClient::App
235
225
  # Calculates hash code according to all attributes.
236
226
  # @return [Integer] Hash code
237
227
  def hash
238
- [product, plan, status, comped, stripe_managed, bundle, current_period_end, client_secret].hash
228
+ [product, plan, status, comped, stripe_managed, current_period_end, client_secret].hash
239
229
  end
240
230
 
241
231
  # Builds the object from hash