subskribe_dev 1.2.0 → 1.3.1

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -12
  3. data/docs/AccountsApi.md +2 -2
  4. data/docs/AutomatedInvoiceRule.md +2 -2
  5. data/docs/BulkInvoiceRunItem.md +2 -2
  6. data/docs/BulkPaymentUploadData.md +3 -3
  7. data/docs/BulkPaymentUploadResult.md +1 -1
  8. data/docs/ChargeJson.md +2 -2
  9. data/docs/ERPApi.md +20 -20
  10. data/docs/EntitiesApi.md +172 -0
  11. data/docs/OrderLineItemJson.md +1 -0
  12. data/docs/OrderLineItemRequestJson.md +1 -0
  13. data/docs/PaginatedAccountsResponse.md +10 -0
  14. data/docs/PlanMetadataJson.md +8 -0
  15. data/docs/ProductCatalogApi.md +58 -0
  16. data/docs/RevenueRecognitionApi.md +20 -20
  17. data/docs/TaxJarIntegration.md +1 -1
  18. data/lib/subskribe_dev/api/accounts_api.rb +3 -3
  19. data/lib/subskribe_dev/api/entities_api.rb +158 -0
  20. data/lib/subskribe_dev/api/erp_api.rb +20 -20
  21. data/lib/subskribe_dev/api/product_catalog_api.rb +58 -0
  22. data/lib/subskribe_dev/api/revenue_recognition_api.rb +22 -22
  23. data/lib/subskribe_dev/models/automated_invoice_rule.rb +22 -22
  24. data/lib/subskribe_dev/models/bulk_invoice_run_item.rb +22 -22
  25. data/lib/subskribe_dev/models/bulk_payment_upload_data.rb +31 -31
  26. data/lib/subskribe_dev/models/bulk_payment_upload_result.rb +13 -13
  27. data/lib/subskribe_dev/models/charge_json.rb +19 -19
  28. data/lib/subskribe_dev/models/order_line_item_json.rb +10 -1
  29. data/lib/subskribe_dev/models/order_line_item_request_json.rb +10 -1
  30. data/lib/subskribe_dev/models/paginated_accounts_response.rb +204 -0
  31. data/lib/subskribe_dev/models/plan_metadata_json.rb +187 -0
  32. data/lib/subskribe_dev/models/tax_jar_integration.rb +10 -10
  33. data/lib/subskribe_dev/version.rb +1 -1
  34. data/lib/subskribe_dev.rb +2 -1
  35. data/spec/models/paginated_accounts_response_spec.rb +53 -0
  36. data/spec/models/plan_metadata_json_spec.rb +41 -0
  37. data/subskribe_dev.gemspec +4 -4
  38. metadata +195 -187
@@ -44,10 +44,6 @@ module SubskribeDevClient
44
44
 
45
45
  attr_accessor :updated_on
46
46
 
47
- attr_accessor :included_for_emailing
48
-
49
- attr_accessor :invoice_posted
50
-
51
47
  attr_accessor :draft_invoice_generated
52
48
 
53
49
  attr_accessor :included_for_posting
@@ -56,6 +52,10 @@ module SubskribeDevClient
56
52
 
57
53
  attr_accessor :draft_invoice_not_generated
58
54
 
55
+ attr_accessor :included_for_emailing
56
+
57
+ attr_accessor :invoice_posted
58
+
59
59
  # Attribute mapping from ruby-style variable name to JSON key.
60
60
  def self.attribute_map
61
61
  {
@@ -74,12 +74,12 @@ module SubskribeDevClient
74
74
  :'email_sent' => :'emailSent',
75
75
  :'created_on' => :'createdOn',
76
76
  :'updated_on' => :'updatedOn',
77
- :'included_for_emailing' => :'includedForEmailing',
78
- :'invoice_posted' => :'invoicePosted',
79
77
  :'draft_invoice_generated' => :'draftInvoiceGenerated',
80
78
  :'included_for_posting' => :'includedForPosting',
81
79
  :'invoice_not_posted' => :'invoiceNotPosted',
82
- :'draft_invoice_not_generated' => :'draftInvoiceNotGenerated'
80
+ :'draft_invoice_not_generated' => :'draftInvoiceNotGenerated',
81
+ :'included_for_emailing' => :'includedForEmailing',
82
+ :'invoice_posted' => :'invoicePosted'
83
83
  }
84
84
  end
85
85
 
@@ -101,12 +101,12 @@ module SubskribeDevClient
101
101
  :'email_sent' => :'BOOLEAN',
102
102
  :'created_on' => :'Integer',
103
103
  :'updated_on' => :'Integer',
104
- :'included_for_emailing' => :'BOOLEAN',
105
- :'invoice_posted' => :'BOOLEAN',
106
104
  :'draft_invoice_generated' => :'BOOLEAN',
107
105
  :'included_for_posting' => :'BOOLEAN',
108
106
  :'invoice_not_posted' => :'BOOLEAN',
109
- :'draft_invoice_not_generated' => :'BOOLEAN'
107
+ :'draft_invoice_not_generated' => :'BOOLEAN',
108
+ :'included_for_emailing' => :'BOOLEAN',
109
+ :'invoice_posted' => :'BOOLEAN'
110
110
  }
111
111
  end
112
112
 
@@ -178,14 +178,6 @@ module SubskribeDevClient
178
178
  self.updated_on = attributes[:'updatedOn']
179
179
  end
180
180
 
181
- if attributes.has_key?(:'includedForEmailing')
182
- self.included_for_emailing = attributes[:'includedForEmailing']
183
- end
184
-
185
- if attributes.has_key?(:'invoicePosted')
186
- self.invoice_posted = attributes[:'invoicePosted']
187
- end
188
-
189
181
  if attributes.has_key?(:'draftInvoiceGenerated')
190
182
  self.draft_invoice_generated = attributes[:'draftInvoiceGenerated']
191
183
  end
@@ -201,6 +193,14 @@ module SubskribeDevClient
201
193
  if attributes.has_key?(:'draftInvoiceNotGenerated')
202
194
  self.draft_invoice_not_generated = attributes[:'draftInvoiceNotGenerated']
203
195
  end
196
+
197
+ if attributes.has_key?(:'includedForEmailing')
198
+ self.included_for_emailing = attributes[:'includedForEmailing']
199
+ end
200
+
201
+ if attributes.has_key?(:'invoicePosted')
202
+ self.invoice_posted = attributes[:'invoicePosted']
203
+ end
204
204
  end
205
205
 
206
206
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -236,12 +236,12 @@ module SubskribeDevClient
236
236
  email_sent == o.email_sent &&
237
237
  created_on == o.created_on &&
238
238
  updated_on == o.updated_on &&
239
- included_for_emailing == o.included_for_emailing &&
240
- invoice_posted == o.invoice_posted &&
241
239
  draft_invoice_generated == o.draft_invoice_generated &&
242
240
  included_for_posting == o.included_for_posting &&
243
241
  invoice_not_posted == o.invoice_not_posted &&
244
- draft_invoice_not_generated == o.draft_invoice_not_generated
242
+ draft_invoice_not_generated == o.draft_invoice_not_generated &&
243
+ included_for_emailing == o.included_for_emailing &&
244
+ invoice_posted == o.invoice_posted
245
245
  end
246
246
 
247
247
  # @see the `==` method
@@ -253,7 +253,7 @@ module SubskribeDevClient
253
253
  # Calculates hash code according to all attributes.
254
254
  # @return [Fixnum] Hash code
255
255
  def hash
256
- [run_id, account_id, account_name, subscription_id, draft_invoice_number, posted_invoice_number, invoice_created_on, invoice_currency_code, invoice_amount, failure_reason, excluded_for_posting, excluded_for_emailing, email_sent, created_on, updated_on, included_for_emailing, invoice_posted, draft_invoice_generated, included_for_posting, invoice_not_posted, draft_invoice_not_generated].hash
256
+ [run_id, account_id, account_name, subscription_id, draft_invoice_number, posted_invoice_number, invoice_created_on, invoice_currency_code, invoice_amount, failure_reason, excluded_for_posting, excluded_for_emailing, email_sent, created_on, updated_on, draft_invoice_generated, included_for_posting, invoice_not_posted, draft_invoice_not_generated, included_for_emailing, invoice_posted].hash
257
257
  end
258
258
 
259
259
  # Builds the object from hash
@@ -20,36 +20,36 @@ module SubskribeDevClient
20
20
 
21
21
  attr_accessor :amount
22
22
 
23
- attr_accessor :invoice_number
24
-
25
23
  attr_accessor :note
26
24
 
27
- attr_accessor :payment_method
28
-
29
25
  attr_accessor :payment_date
30
26
 
31
27
  attr_accessor :payment_method_id
32
28
 
33
- attr_accessor :original_invoice_balance
29
+ attr_accessor :payment_method
34
30
 
35
- attr_accessor :failure_reason
31
+ attr_accessor :invoice_number
32
+
33
+ attr_accessor :original_invoice_balance
36
34
 
37
35
  attr_accessor :new_invoice_balance
38
36
 
37
+ attr_accessor :failure_reason
38
+
39
39
  # Attribute mapping from ruby-style variable name to JSON key.
40
40
  def self.attribute_map
41
41
  {
42
42
  :'currency_code' => :'currencyCode',
43
43
  :'failed' => :'failed',
44
44
  :'amount' => :'amount',
45
- :'invoice_number' => :'invoiceNumber',
46
45
  :'note' => :'note',
47
- :'payment_method' => :'paymentMethod',
48
46
  :'payment_date' => :'paymentDate',
49
47
  :'payment_method_id' => :'paymentMethodId',
48
+ :'payment_method' => :'paymentMethod',
49
+ :'invoice_number' => :'invoiceNumber',
50
50
  :'original_invoice_balance' => :'originalInvoiceBalance',
51
- :'failure_reason' => :'failureReason',
52
- :'new_invoice_balance' => :'newInvoiceBalance'
51
+ :'new_invoice_balance' => :'newInvoiceBalance',
52
+ :'failure_reason' => :'failureReason'
53
53
  }
54
54
  end
55
55
 
@@ -59,14 +59,14 @@ module SubskribeDevClient
59
59
  :'currency_code' => :'String',
60
60
  :'failed' => :'BOOLEAN',
61
61
  :'amount' => :'Float',
62
- :'invoice_number' => :'String',
63
62
  :'note' => :'String',
64
- :'payment_method' => :'String',
65
63
  :'payment_date' => :'Integer',
66
64
  :'payment_method_id' => :'String',
65
+ :'payment_method' => :'String',
66
+ :'invoice_number' => :'String',
67
67
  :'original_invoice_balance' => :'Float',
68
- :'failure_reason' => :'String',
69
- :'new_invoice_balance' => :'Float'
68
+ :'new_invoice_balance' => :'Float',
69
+ :'failure_reason' => :'String'
70
70
  }
71
71
  end
72
72
 
@@ -90,18 +90,10 @@ module SubskribeDevClient
90
90
  self.amount = attributes[:'amount']
91
91
  end
92
92
 
93
- if attributes.has_key?(:'invoiceNumber')
94
- self.invoice_number = attributes[:'invoiceNumber']
95
- end
96
-
97
93
  if attributes.has_key?(:'note')
98
94
  self.note = attributes[:'note']
99
95
  end
100
96
 
101
- if attributes.has_key?(:'paymentMethod')
102
- self.payment_method = attributes[:'paymentMethod']
103
- end
104
-
105
97
  if attributes.has_key?(:'paymentDate')
106
98
  self.payment_date = attributes[:'paymentDate']
107
99
  end
@@ -110,17 +102,25 @@ module SubskribeDevClient
110
102
  self.payment_method_id = attributes[:'paymentMethodId']
111
103
  end
112
104
 
113
- if attributes.has_key?(:'originalInvoiceBalance')
114
- self.original_invoice_balance = attributes[:'originalInvoiceBalance']
105
+ if attributes.has_key?(:'paymentMethod')
106
+ self.payment_method = attributes[:'paymentMethod']
115
107
  end
116
108
 
117
- if attributes.has_key?(:'failureReason')
118
- self.failure_reason = attributes[:'failureReason']
109
+ if attributes.has_key?(:'invoiceNumber')
110
+ self.invoice_number = attributes[:'invoiceNumber']
111
+ end
112
+
113
+ if attributes.has_key?(:'originalInvoiceBalance')
114
+ self.original_invoice_balance = attributes[:'originalInvoiceBalance']
119
115
  end
120
116
 
121
117
  if attributes.has_key?(:'newInvoiceBalance')
122
118
  self.new_invoice_balance = attributes[:'newInvoiceBalance']
123
119
  end
120
+
121
+ if attributes.has_key?(:'failureReason')
122
+ self.failure_reason = attributes[:'failureReason']
123
+ end
124
124
  end
125
125
 
126
126
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -144,14 +144,14 @@ module SubskribeDevClient
144
144
  currency_code == o.currency_code &&
145
145
  failed == o.failed &&
146
146
  amount == o.amount &&
147
- invoice_number == o.invoice_number &&
148
147
  note == o.note &&
149
- payment_method == o.payment_method &&
150
148
  payment_date == o.payment_date &&
151
149
  payment_method_id == o.payment_method_id &&
150
+ payment_method == o.payment_method &&
151
+ invoice_number == o.invoice_number &&
152
152
  original_invoice_balance == o.original_invoice_balance &&
153
- failure_reason == o.failure_reason &&
154
- new_invoice_balance == o.new_invoice_balance
153
+ new_invoice_balance == o.new_invoice_balance &&
154
+ failure_reason == o.failure_reason
155
155
  end
156
156
 
157
157
  # @see the `==` method
@@ -163,7 +163,7 @@ module SubskribeDevClient
163
163
  # Calculates hash code according to all attributes.
164
164
  # @return [Fixnum] Hash code
165
165
  def hash
166
- [currency_code, failed, amount, invoice_number, note, payment_method, payment_date, payment_method_id, original_invoice_balance, failure_reason, new_invoice_balance].hash
166
+ [currency_code, failed, amount, note, payment_date, payment_method_id, payment_method, invoice_number, original_invoice_balance, new_invoice_balance, failure_reason].hash
167
167
  end
168
168
 
169
169
  # Builds the object from hash
@@ -14,27 +14,27 @@ require 'date'
14
14
 
15
15
  module SubskribeDevClient
16
16
  class BulkPaymentUploadResult
17
+ attr_accessor :payments_request_count
18
+
17
19
  attr_accessor :failed_payments_count
18
20
 
19
21
  attr_accessor :bulk_payment_upload_data
20
22
 
21
- attr_accessor :payments_request_count
22
-
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
24
24
  def self.attribute_map
25
25
  {
26
+ :'payments_request_count' => :'paymentsRequestCount',
26
27
  :'failed_payments_count' => :'failedPaymentsCount',
27
- :'bulk_payment_upload_data' => :'bulkPaymentUploadData',
28
- :'payments_request_count' => :'paymentsRequestCount'
28
+ :'bulk_payment_upload_data' => :'bulkPaymentUploadData'
29
29
  }
30
30
  end
31
31
 
32
32
  # Attribute type mapping.
33
33
  def self.swagger_types
34
34
  {
35
+ :'payments_request_count' => :'Integer',
35
36
  :'failed_payments_count' => :'Integer',
36
- :'bulk_payment_upload_data' => :'Array<BulkPaymentUploadData>',
37
- :'payments_request_count' => :'Integer'
37
+ :'bulk_payment_upload_data' => :'Array<BulkPaymentUploadData>'
38
38
  }
39
39
  end
40
40
 
@@ -46,6 +46,10 @@ module SubskribeDevClient
46
46
  # convert string to symbol for hash key
47
47
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
48
48
 
49
+ if attributes.has_key?(:'paymentsRequestCount')
50
+ self.payments_request_count = attributes[:'paymentsRequestCount']
51
+ end
52
+
49
53
  if attributes.has_key?(:'failedPaymentsCount')
50
54
  self.failed_payments_count = attributes[:'failedPaymentsCount']
51
55
  end
@@ -55,10 +59,6 @@ module SubskribeDevClient
55
59
  self.bulk_payment_upload_data = value
56
60
  end
57
61
  end
58
-
59
- if attributes.has_key?(:'paymentsRequestCount')
60
- self.payments_request_count = attributes[:'paymentsRequestCount']
61
- end
62
62
  end
63
63
 
64
64
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -79,9 +79,9 @@ module SubskribeDevClient
79
79
  def ==(o)
80
80
  return true if self.equal?(o)
81
81
  self.class == o.class &&
82
+ payments_request_count == o.payments_request_count &&
82
83
  failed_payments_count == o.failed_payments_count &&
83
- bulk_payment_upload_data == o.bulk_payment_upload_data &&
84
- payments_request_count == o.payments_request_count
84
+ bulk_payment_upload_data == o.bulk_payment_upload_data
85
85
  end
86
86
 
87
87
  # @see the `==` method
@@ -93,7 +93,7 @@ module SubskribeDevClient
93
93
  # Calculates hash code according to all attributes.
94
94
  # @return [Fixnum] Hash code
95
95
  def hash
96
- [failed_payments_count, bulk_payment_upload_data, payments_request_count].hash
96
+ [payments_request_count, failed_payments_count, bulk_payment_upload_data].hash
97
97
  end
98
98
 
99
99
  # Builds the object from hash
@@ -86,14 +86,14 @@ module SubskribeDevClient
86
86
 
87
87
  attr_accessor :should_track_arr
88
88
 
89
- attr_accessor :custom
90
-
91
89
  attr_accessor :drawdown
92
90
 
93
- attr_accessor :event_based
91
+ attr_accessor :custom
94
92
 
95
93
  attr_accessor :list_price_editable
96
94
 
95
+ attr_accessor :event_based
96
+
97
97
  class EnumAttributeValidator
98
98
  attr_reader :datatype
99
99
  attr_reader :allowable_values
@@ -155,10 +155,10 @@ module SubskribeDevClient
155
155
  :'billing_term' => :'billingTerm',
156
156
  :'billing_cycle' => :'billingCycle',
157
157
  :'should_track_arr' => :'shouldTrackArr',
158
- :'custom' => :'custom',
159
158
  :'drawdown' => :'drawdown',
160
- :'event_based' => :'eventBased',
161
- :'list_price_editable' => :'listPriceEditable'
159
+ :'custom' => :'custom',
160
+ :'list_price_editable' => :'listPriceEditable',
161
+ :'event_based' => :'eventBased'
162
162
  }
163
163
  end
164
164
 
@@ -201,10 +201,10 @@ module SubskribeDevClient
201
201
  :'billing_term' => :'String',
202
202
  :'billing_cycle' => :'String',
203
203
  :'should_track_arr' => :'BOOLEAN',
204
- :'custom' => :'BOOLEAN',
205
204
  :'drawdown' => :'BOOLEAN',
206
- :'event_based' => :'BOOLEAN',
207
- :'list_price_editable' => :'BOOLEAN'
205
+ :'custom' => :'BOOLEAN',
206
+ :'list_price_editable' => :'BOOLEAN',
207
+ :'event_based' => :'BOOLEAN'
208
208
  }
209
209
  end
210
210
 
@@ -364,21 +364,21 @@ module SubskribeDevClient
364
364
  self.should_track_arr = attributes[:'shouldTrackArr']
365
365
  end
366
366
 
367
- if attributes.has_key?(:'custom')
368
- self.custom = attributes[:'custom']
369
- end
370
-
371
367
  if attributes.has_key?(:'drawdown')
372
368
  self.drawdown = attributes[:'drawdown']
373
369
  end
374
370
 
375
- if attributes.has_key?(:'eventBased')
376
- self.event_based = attributes[:'eventBased']
371
+ if attributes.has_key?(:'custom')
372
+ self.custom = attributes[:'custom']
377
373
  end
378
374
 
379
375
  if attributes.has_key?(:'listPriceEditable')
380
376
  self.list_price_editable = attributes[:'listPriceEditable']
381
377
  end
378
+
379
+ if attributes.has_key?(:'eventBased')
380
+ self.event_based = attributes[:'eventBased']
381
+ end
382
382
  end
383
383
 
384
384
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -505,10 +505,10 @@ module SubskribeDevClient
505
505
  billing_term == o.billing_term &&
506
506
  billing_cycle == o.billing_cycle &&
507
507
  should_track_arr == o.should_track_arr &&
508
- custom == o.custom &&
509
508
  drawdown == o.drawdown &&
510
- event_based == o.event_based &&
511
- list_price_editable == o.list_price_editable
509
+ custom == o.custom &&
510
+ list_price_editable == o.list_price_editable &&
511
+ event_based == o.event_based
512
512
  end
513
513
 
514
514
  # @see the `==` method
@@ -520,7 +520,7 @@ module SubskribeDevClient
520
520
  # Calculates hash code according to all attributes.
521
521
  # @return [Fixnum] Hash code
522
522
  def hash
523
- [id, name, display_name, description, tax_rate_id, unit_of_measure_id, is_renewable, min_quantity, default_quantity, max_quantity, external_id, min_amount, max_amount, recognition_rule_id, erp_id, plan_id, amount, type, charge_model, recurrence, price_tiers, is_drawdown, minimum_commit_base_charge_id, overage_base_charge_id, is_custom, is_list_price_editable, percent, percent_derived_from, target_plan_ids, ledger_account_mapping, duration_in_months, is_event_based, rate_card_id, billing_term, billing_cycle, should_track_arr, custom, drawdown, event_based, list_price_editable].hash
523
+ [id, name, display_name, description, tax_rate_id, unit_of_measure_id, is_renewable, min_quantity, default_quantity, max_quantity, external_id, min_amount, max_amount, recognition_rule_id, erp_id, plan_id, amount, type, charge_model, recurrence, price_tiers, is_drawdown, minimum_commit_base_charge_id, overage_base_charge_id, is_custom, is_list_price_editable, percent, percent_derived_from, target_plan_ids, ledger_account_mapping, duration_in_months, is_event_based, rate_card_id, billing_term, billing_cycle, should_track_arr, drawdown, custom, list_price_editable, event_based].hash
524
524
  end
525
525
 
526
526
  # Builds the object from hash
@@ -66,6 +66,8 @@ module SubskribeDevClient
66
66
 
67
67
  attr_accessor :custom_fields
68
68
 
69
+ attr_accessor :arr_override
70
+
69
71
  attr_accessor :dry_run_item
70
72
 
71
73
  class EnumAttributeValidator
@@ -119,6 +121,7 @@ module SubskribeDevClient
119
121
  :'effective_date' => :'effectiveDate',
120
122
  :'end_date' => :'endDate',
121
123
  :'custom_fields' => :'customFields',
124
+ :'arr_override' => :'arrOverride',
122
125
  :'dry_run_item' => :'dryRunItem'
123
126
  }
124
127
  end
@@ -152,6 +155,7 @@ module SubskribeDevClient
152
155
  :'effective_date' => :'Integer',
153
156
  :'end_date' => :'Integer',
154
157
  :'custom_fields' => :'Array<CustomFieldEntry>',
158
+ :'arr_override' => :'Float',
155
159
  :'dry_run_item' => :'BOOLEAN'
156
160
  }
157
161
  end
@@ -276,6 +280,10 @@ module SubskribeDevClient
276
280
  end
277
281
  end
278
282
 
283
+ if attributes.has_key?(:'arrOverride')
284
+ self.arr_override = attributes[:'arrOverride']
285
+ end
286
+
279
287
  if attributes.has_key?(:'dryRunItem')
280
288
  self.dry_run_item = attributes[:'dryRunItem']
281
289
  end
@@ -342,6 +350,7 @@ module SubskribeDevClient
342
350
  effective_date == o.effective_date &&
343
351
  end_date == o.end_date &&
344
352
  custom_fields == o.custom_fields &&
353
+ arr_override == o.arr_override &&
345
354
  dry_run_item == o.dry_run_item
346
355
  end
347
356
 
@@ -354,7 +363,7 @@ module SubskribeDevClient
354
363
  # Calculates hash code according to all attributes.
355
364
  # @return [Fixnum] Hash code
356
365
  def hash
357
- [id, is_dry_run_item, action, plan_id, subscription_charge_id, currency_conversion_rate_id, subscription_charge_group_id, charge_id, quantity, is_ramp, list_unit_price, sell_unit_price, discount_amount, discounts, predefined_discounts, attribute_references, amount, list_amount, annualized_amount, list_price_override_ratio, list_unit_price_before_override, list_amount_before_override, tax_estimate, effective_date, end_date, custom_fields, dry_run_item].hash
366
+ [id, is_dry_run_item, action, plan_id, subscription_charge_id, currency_conversion_rate_id, subscription_charge_group_id, charge_id, quantity, is_ramp, list_unit_price, sell_unit_price, discount_amount, discounts, predefined_discounts, attribute_references, amount, list_amount, annualized_amount, list_price_override_ratio, list_unit_price_before_override, list_amount_before_override, tax_estimate, effective_date, end_date, custom_fields, arr_override, dry_run_item].hash
358
367
  end
359
368
 
360
369
  # Builds the object from hash
@@ -46,6 +46,8 @@ module SubskribeDevClient
46
46
 
47
47
  attr_accessor :custom_fields
48
48
 
49
+ attr_accessor :arr_override
50
+
49
51
  attr_accessor :dry_run_item
50
52
 
51
53
  class EnumAttributeValidator
@@ -89,6 +91,7 @@ module SubskribeDevClient
89
91
  :'list_price_override_ratio' => :'listPriceOverrideRatio',
90
92
  :'attribute_references' => :'attributeReferences',
91
93
  :'custom_fields' => :'customFields',
94
+ :'arr_override' => :'arrOverride',
92
95
  :'dry_run_item' => :'dryRunItem'
93
96
  }
94
97
  end
@@ -112,6 +115,7 @@ module SubskribeDevClient
112
115
  :'list_price_override_ratio' => :'Float',
113
116
  :'attribute_references' => :'Array<AttributeReference>',
114
117
  :'custom_fields' => :'Array<CustomFieldEntry>',
118
+ :'arr_override' => :'Float',
115
119
  :'dry_run_item' => :'BOOLEAN'
116
120
  }
117
121
  end
@@ -196,6 +200,10 @@ module SubskribeDevClient
196
200
  end
197
201
  end
198
202
 
203
+ if attributes.has_key?(:'arrOverride')
204
+ self.arr_override = attributes[:'arrOverride']
205
+ end
206
+
199
207
  if attributes.has_key?(:'dryRunItem')
200
208
  self.dry_run_item = attributes[:'dryRunItem']
201
209
  end
@@ -252,6 +260,7 @@ module SubskribeDevClient
252
260
  list_price_override_ratio == o.list_price_override_ratio &&
253
261
  attribute_references == o.attribute_references &&
254
262
  custom_fields == o.custom_fields &&
263
+ arr_override == o.arr_override &&
255
264
  dry_run_item == o.dry_run_item
256
265
  end
257
266
 
@@ -264,7 +273,7 @@ module SubskribeDevClient
264
273
  # Calculates hash code according to all attributes.
265
274
  # @return [Fixnum] Hash code
266
275
  def hash
267
- [id, is_dry_run_item, action, plan_id, subscription_charge_id, charge_id, quantity, is_ramp, discounts, predefined_discounts, effective_date, end_date, list_unit_price, list_price_override_ratio, attribute_references, custom_fields, dry_run_item].hash
276
+ [id, is_dry_run_item, action, plan_id, subscription_charge_id, charge_id, quantity, is_ramp, discounts, predefined_discounts, effective_date, end_date, list_unit_price, list_price_override_ratio, attribute_references, custom_fields, arr_override, dry_run_item].hash
268
277
  end
269
278
 
270
279
  # Builds the object from hash