maxio-advanced-billing-sdk 6.0.0 → 6.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (509) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +41 -41
  4. data/lib/advanced_billing/controllers/base_controller.rb +1 -1
  5. data/lib/advanced_billing/exceptions/api_exception.rb +11 -0
  6. data/lib/advanced_billing/exceptions/component_allocation_error_exception.rb +12 -0
  7. data/lib/advanced_billing/exceptions/component_price_point_error_exception.rb +12 -0
  8. data/lib/advanced_billing/exceptions/customer_error_response_exception.rb +12 -0
  9. data/lib/advanced_billing/exceptions/error_array_map_response_exception.rb +12 -0
  10. data/lib/advanced_billing/exceptions/error_list_response_exception.rb +12 -0
  11. data/lib/advanced_billing/exceptions/error_string_map_response_exception.rb +12 -0
  12. data/lib/advanced_billing/exceptions/event_based_billing_list_segments_errors_exception.rb +12 -0
  13. data/lib/advanced_billing/exceptions/event_based_billing_segment_errors_exception.rb +12 -0
  14. data/lib/advanced_billing/exceptions/event_based_billing_segment_exception.rb +12 -0
  15. data/lib/advanced_billing/exceptions/product_price_point_error_response_exception.rb +12 -0
  16. data/lib/advanced_billing/exceptions/proforma_bad_request_error_response_exception.rb +12 -0
  17. data/lib/advanced_billing/exceptions/refund_prepayment_base_errors_response_exception.rb +12 -0
  18. data/lib/advanced_billing/exceptions/single_error_response_exception.rb +12 -0
  19. data/lib/advanced_billing/exceptions/single_string_error_response_exception.rb +12 -0
  20. data/lib/advanced_billing/exceptions/subscription_add_coupon_error_exception.rb +14 -0
  21. data/lib/advanced_billing/exceptions/subscription_component_allocation_error_exception.rb +12 -0
  22. data/lib/advanced_billing/exceptions/subscription_group_create_error_response_exception.rb +12 -0
  23. data/lib/advanced_billing/exceptions/subscription_group_signup_error_response_exception.rb +12 -0
  24. data/lib/advanced_billing/exceptions/subscription_group_update_error_response_exception.rb +12 -0
  25. data/lib/advanced_billing/exceptions/subscription_remove_coupon_errors_exception.rb +12 -0
  26. data/lib/advanced_billing/exceptions/subscription_response_error_exception.rb +12 -0
  27. data/lib/advanced_billing/exceptions/subscriptions_mrr_error_response_exception.rb +12 -0
  28. data/lib/advanced_billing/exceptions/too_many_management_link_requests_error_exception.rb +12 -0
  29. data/lib/advanced_billing/models/account_balance.rb +17 -0
  30. data/lib/advanced_billing/models/account_balances.rb +17 -0
  31. data/lib/advanced_billing/models/ach_agreement.rb +16 -0
  32. data/lib/advanced_billing/models/activate_event_based_component.rb +15 -0
  33. data/lib/advanced_billing/models/activate_subscription_request.rb +14 -0
  34. data/lib/advanced_billing/models/add_coupons_request.rb +13 -0
  35. data/lib/advanced_billing/models/add_subscription_to_a_group.rb +13 -0
  36. data/lib/advanced_billing/models/address_change.rb +14 -0
  37. data/lib/advanced_billing/models/agreement_acceptance.rb +20 -0
  38. data/lib/advanced_billing/models/allocate_components.rb +22 -0
  39. data/lib/advanced_billing/models/allocation.rb +37 -0
  40. data/lib/advanced_billing/models/allocation_expiration_date.rb +14 -0
  41. data/lib/advanced_billing/models/allocation_preview.rb +26 -0
  42. data/lib/advanced_billing/models/allocation_preview_item.rb +31 -0
  43. data/lib/advanced_billing/models/allocation_preview_line_item.rb +21 -0
  44. data/lib/advanced_billing/models/allocation_preview_response.rb +14 -0
  45. data/lib/advanced_billing/models/allocation_response.rb +14 -0
  46. data/lib/advanced_billing/models/allocation_settings.rb +15 -0
  47. data/lib/advanced_billing/models/apple_pay_payment_profile.rb +27 -0
  48. data/lib/advanced_billing/models/applied_credit_note_data.rb +14 -0
  49. data/lib/advanced_billing/models/apply_credit_note_event.rb +16 -0
  50. data/lib/advanced_billing/models/apply_credit_note_event_data.rb +21 -0
  51. data/lib/advanced_billing/models/apply_debit_note_event.rb +16 -0
  52. data/lib/advanced_billing/models/apply_debit_note_event_data.rb +18 -0
  53. data/lib/advanced_billing/models/apply_payment_event.rb +16 -0
  54. data/lib/advanced_billing/models/apply_payment_event_data.rb +23 -0
  55. data/lib/advanced_billing/models/attribute_error.rb +14 -0
  56. data/lib/advanced_billing/models/auto_resume.rb +14 -0
  57. data/lib/advanced_billing/models/backport_invoice_event.rb +16 -0
  58. data/lib/advanced_billing/models/bank_account_attributes.rb +25 -0
  59. data/lib/advanced_billing/models/bank_account_payment_profile.rb +35 -0
  60. data/lib/advanced_billing/models/bank_account_response.rb +14 -0
  61. data/lib/advanced_billing/models/bank_account_verification.rb +14 -0
  62. data/lib/advanced_billing/models/bank_account_verification_request.rb +14 -0
  63. data/lib/advanced_billing/models/base_model.rb +12 -0
  64. data/lib/advanced_billing/models/base_refund_error.rb +13 -0
  65. data/lib/advanced_billing/models/base_string_error.rb +13 -0
  66. data/lib/advanced_billing/models/batch_job.rb +16 -0
  67. data/lib/advanced_billing/models/batch_job_response.rb +14 -0
  68. data/lib/advanced_billing/models/billing_manifest.rb +23 -0
  69. data/lib/advanced_billing/models/billing_manifest_item.rb +27 -0
  70. data/lib/advanced_billing/models/billing_schedule.rb +14 -0
  71. data/lib/advanced_billing/models/breakouts.rb +18 -0
  72. data/lib/advanced_billing/models/bulk_components_price_point_assignment.rb +14 -0
  73. data/lib/advanced_billing/models/bulk_create_product_price_points_request.rb +14 -0
  74. data/lib/advanced_billing/models/bulk_create_product_price_points_response.rb +14 -0
  75. data/lib/advanced_billing/models/bulk_create_segments.rb +14 -0
  76. data/lib/advanced_billing/models/bulk_update_segments.rb +14 -0
  77. data/lib/advanced_billing/models/bulk_update_segments_item.rb +14 -0
  78. data/lib/advanced_billing/models/calendar_billing.rb +15 -0
  79. data/lib/advanced_billing/models/cancel_grouped_subscriptions_request.rb +14 -0
  80. data/lib/advanced_billing/models/cancellation_options.rb +14 -0
  81. data/lib/advanced_billing/models/cancellation_request.rb +14 -0
  82. data/lib/advanced_billing/models/change_chargeback_status_event.rb +16 -0
  83. data/lib/advanced_billing/models/change_chargeback_status_event_data.rb +14 -0
  84. data/lib/advanced_billing/models/change_invoice_collection_method_event.rb +16 -0
  85. data/lib/advanced_billing/models/change_invoice_collection_method_event_data.rb +15 -0
  86. data/lib/advanced_billing/models/change_invoice_status_event.rb +16 -0
  87. data/lib/advanced_billing/models/change_invoice_status_event_data.rb +17 -0
  88. data/lib/advanced_billing/models/chargify_ebb.rb +18 -0
  89. data/lib/advanced_billing/models/component.rb +45 -0
  90. data/lib/advanced_billing/models/component_allocation_change.rb +20 -0
  91. data/lib/advanced_billing/models/component_allocation_error_item.rb +15 -0
  92. data/lib/advanced_billing/models/component_cost_data.rb +19 -0
  93. data/lib/advanced_billing/models/component_cost_data_rate_tier.rb +17 -0
  94. data/lib/advanced_billing/models/component_currency_price.rb +17 -0
  95. data/lib/advanced_billing/models/component_currency_prices_response.rb +14 -0
  96. data/lib/advanced_billing/models/component_custom_price.rb +17 -0
  97. data/lib/advanced_billing/models/component_price.rb +19 -0
  98. data/lib/advanced_billing/models/component_price_point.rb +35 -0
  99. data/lib/advanced_billing/models/component_price_point_assignment.rb +14 -0
  100. data/lib/advanced_billing/models/component_price_point_error_item.rb +15 -0
  101. data/lib/advanced_billing/models/component_price_point_item.rb +17 -0
  102. data/lib/advanced_billing/models/component_price_point_response.rb +14 -0
  103. data/lib/advanced_billing/models/component_price_points_response.rb +14 -0
  104. data/lib/advanced_billing/models/component_response.rb +14 -0
  105. data/lib/advanced_billing/models/consolidated_invoice.rb +14 -0
  106. data/lib/advanced_billing/models/count_response.rb +13 -0
  107. data/lib/advanced_billing/models/coupon.rb +46 -0
  108. data/lib/advanced_billing/models/coupon_currency.rb +15 -0
  109. data/lib/advanced_billing/models/coupon_currency_request.rb +14 -0
  110. data/lib/advanced_billing/models/coupon_currency_response.rb +14 -0
  111. data/lib/advanced_billing/models/coupon_payload.rb +29 -0
  112. data/lib/advanced_billing/models/coupon_request.rb +16 -0
  113. data/lib/advanced_billing/models/coupon_response.rb +13 -0
  114. data/lib/advanced_billing/models/coupon_restriction.rb +15 -0
  115. data/lib/advanced_billing/models/coupon_subcodes.rb +13 -0
  116. data/lib/advanced_billing/models/coupon_subcodes_response.rb +15 -0
  117. data/lib/advanced_billing/models/coupon_usage.rb +17 -0
  118. data/lib/advanced_billing/models/create_allocation.rb +24 -0
  119. data/lib/advanced_billing/models/create_allocation_request.rb +14 -0
  120. data/lib/advanced_billing/models/create_component_price_point.rb +19 -0
  121. data/lib/advanced_billing/models/create_component_price_point_request.rb +14 -0
  122. data/lib/advanced_billing/models/create_component_price_points_request.rb +14 -0
  123. data/lib/advanced_billing/models/create_credit_note_event.rb +16 -0
  124. data/lib/advanced_billing/models/create_currency_price.rb +14 -0
  125. data/lib/advanced_billing/models/create_currency_prices_request.rb +14 -0
  126. data/lib/advanced_billing/models/create_customer.rb +26 -0
  127. data/lib/advanced_billing/models/create_customer_request.rb +14 -0
  128. data/lib/advanced_billing/models/create_debit_note_event.rb +16 -0
  129. data/lib/advanced_billing/models/create_ebb_component.rb +14 -0
  130. data/lib/advanced_billing/models/create_invoice.rb +21 -0
  131. data/lib/advanced_billing/models/create_invoice_address.rb +17 -0
  132. data/lib/advanced_billing/models/create_invoice_coupon.rb +18 -0
  133. data/lib/advanced_billing/models/create_invoice_item.rb +23 -0
  134. data/lib/advanced_billing/models/create_invoice_payment.rb +17 -0
  135. data/lib/advanced_billing/models/create_invoice_payment_application.rb +14 -0
  136. data/lib/advanced_billing/models/create_invoice_payment_request.rb +14 -0
  137. data/lib/advanced_billing/models/create_invoice_request.rb +13 -0
  138. data/lib/advanced_billing/models/create_metadata.rb +14 -0
  139. data/lib/advanced_billing/models/create_metadata_request.rb +14 -0
  140. data/lib/advanced_billing/models/create_metafield.rb +15 -0
  141. data/lib/advanced_billing/models/create_metafields_request.rb +14 -0
  142. data/lib/advanced_billing/models/create_metered_component.rb +14 -0
  143. data/lib/advanced_billing/models/create_multi_invoice_payment.rb +17 -0
  144. data/lib/advanced_billing/models/create_multi_invoice_payment_request.rb +13 -0
  145. data/lib/advanced_billing/models/create_offer.rb +18 -0
  146. data/lib/advanced_billing/models/create_offer_component.rb +16 -0
  147. data/lib/advanced_billing/models/create_offer_request.rb +13 -0
  148. data/lib/advanced_billing/models/create_on_off_component.rb +14 -0
  149. data/lib/advanced_billing/models/create_or_update_endpoint.rb +14 -0
  150. data/lib/advanced_billing/models/create_or_update_endpoint_request.rb +14 -0
  151. data/lib/advanced_billing/models/create_or_update_product.rb +29 -0
  152. data/lib/advanced_billing/models/create_or_update_product_request.rb +13 -0
  153. data/lib/advanced_billing/models/create_or_update_segment_price.rb +16 -0
  154. data/lib/advanced_billing/models/create_payment.rb +15 -0
  155. data/lib/advanced_billing/models/create_payment_profile.rb +43 -0
  156. data/lib/advanced_billing/models/create_payment_profile_request.rb +14 -0
  157. data/lib/advanced_billing/models/create_prepaid_component.rb +14 -0
  158. data/lib/advanced_billing/models/create_prepaid_usage_component_price_point.rb +24 -0
  159. data/lib/advanced_billing/models/create_prepayment.rb +16 -0
  160. data/lib/advanced_billing/models/create_prepayment_request.rb +14 -0
  161. data/lib/advanced_billing/models/create_prepayment_response.rb +14 -0
  162. data/lib/advanced_billing/models/create_product_currency_price.rb +14 -0
  163. data/lib/advanced_billing/models/create_product_currency_prices_request.rb +14 -0
  164. data/lib/advanced_billing/models/create_product_family.rb +14 -0
  165. data/lib/advanced_billing/models/create_product_family_request.rb +14 -0
  166. data/lib/advanced_billing/models/create_product_price_point.rb +28 -0
  167. data/lib/advanced_billing/models/create_product_price_point_request.rb +14 -0
  168. data/lib/advanced_billing/models/create_quantity_based_component.rb +14 -0
  169. data/lib/advanced_billing/models/create_reason_code.rb +14 -0
  170. data/lib/advanced_billing/models/create_reason_code_request.rb +14 -0
  171. data/lib/advanced_billing/models/create_segment.rb +20 -0
  172. data/lib/advanced_billing/models/create_segment_request.rb +13 -0
  173. data/lib/advanced_billing/models/create_subscription.rb +72 -0
  174. data/lib/advanced_billing/models/create_subscription_component.rb +19 -0
  175. data/lib/advanced_billing/models/create_subscription_group.rb +14 -0
  176. data/lib/advanced_billing/models/create_subscription_group_request.rb +14 -0
  177. data/lib/advanced_billing/models/create_subscription_request.rb +14 -0
  178. data/lib/advanced_billing/models/create_usage.rb +16 -0
  179. data/lib/advanced_billing/models/create_usage_request.rb +13 -0
  180. data/lib/advanced_billing/models/created_prepayment.rb +19 -0
  181. data/lib/advanced_billing/models/credit_account_balance_changed.rb +20 -0
  182. data/lib/advanced_billing/models/credit_card_attributes.rb +16 -0
  183. data/lib/advanced_billing/models/credit_card_payment_profile.rb +32 -0
  184. data/lib/advanced_billing/models/credit_note.rb +35 -0
  185. data/lib/advanced_billing/models/credit_note_application.rb +16 -0
  186. data/lib/advanced_billing/models/credit_note_line_item.rb +30 -0
  187. data/lib/advanced_billing/models/credit_scheme_request.rb +14 -0
  188. data/lib/advanced_billing/models/currency_price.rb +19 -0
  189. data/lib/advanced_billing/models/currency_prices_response.rb +14 -0
  190. data/lib/advanced_billing/models/custom_field_value_change.rb +19 -0
  191. data/lib/advanced_billing/models/customer.rb +40 -0
  192. data/lib/advanced_billing/models/customer_attributes.rb +27 -0
  193. data/lib/advanced_billing/models/customer_change.rb +16 -0
  194. data/lib/advanced_billing/models/customer_changes_preview_response.rb +13 -0
  195. data/lib/advanced_billing/models/customer_custom_fields_change.rb +14 -0
  196. data/lib/advanced_billing/models/customer_error.rb +14 -0
  197. data/lib/advanced_billing/models/customer_payer_change.rb +14 -0
  198. data/lib/advanced_billing/models/customer_response.rb +14 -0
  199. data/lib/advanced_billing/models/debit_note.rb +30 -0
  200. data/lib/advanced_billing/models/deduct_service_credit.rb +14 -0
  201. data/lib/advanced_billing/models/deduct_service_credit_request.rb +14 -0
  202. data/lib/advanced_billing/models/delayed_cancellation_response.rb +13 -0
  203. data/lib/advanced_billing/models/delete_subscription_group_response.rb +14 -0
  204. data/lib/advanced_billing/models/dunner_data.rb +18 -0
  205. data/lib/advanced_billing/models/dunning_step_data.rb +19 -0
  206. data/lib/advanced_billing/models/dunning_step_reached.rb +14 -0
  207. data/lib/advanced_billing/models/ebb_component.rb +24 -0
  208. data/lib/advanced_billing/models/ebb_event.rb +14 -0
  209. data/lib/advanced_billing/models/enable_webhooks_request.rb +14 -0
  210. data/lib/advanced_billing/models/enable_webhooks_response.rb +14 -0
  211. data/lib/advanced_billing/models/endpoint.rb +16 -0
  212. data/lib/advanced_billing/models/endpoint_response.rb +14 -0
  213. data/lib/advanced_billing/models/errors.rb +14 -0
  214. data/lib/advanced_billing/models/event.rb +18 -0
  215. data/lib/advanced_billing/models/event_based_billing_segment_error.rb +14 -0
  216. data/lib/advanced_billing/models/event_response.rb +13 -0
  217. data/lib/advanced_billing/models/failed_payment_event.rb +16 -0
  218. data/lib/advanced_billing/models/failed_payment_event_data.rb +17 -0
  219. data/lib/advanced_billing/models/full_subscription_group_response.rb +25 -0
  220. data/lib/advanced_billing/models/get_one_time_token_payment_profile.rb +32 -0
  221. data/lib/advanced_billing/models/get_one_time_token_request.rb +14 -0
  222. data/lib/advanced_billing/models/group_billing.rb +14 -0
  223. data/lib/advanced_billing/models/group_settings.rb +14 -0
  224. data/lib/advanced_billing/models/group_target.rb +14 -0
  225. data/lib/advanced_billing/models/historic_usage.rb +16 -0
  226. data/lib/advanced_billing/models/invoice.rb +62 -0
  227. data/lib/advanced_billing/models/invoice_address.rb +15 -0
  228. data/lib/advanced_billing/models/invoice_avatax_details.rb +16 -0
  229. data/lib/advanced_billing/models/invoice_balance_item.rb +14 -0
  230. data/lib/advanced_billing/models/invoice_credit.rb +19 -0
  231. data/lib/advanced_billing/models/invoice_custom_field.rb +16 -0
  232. data/lib/advanced_billing/models/invoice_customer.rb +18 -0
  233. data/lib/advanced_billing/models/invoice_debit.rb +19 -0
  234. data/lib/advanced_billing/models/invoice_discount.rb +23 -0
  235. data/lib/advanced_billing/models/invoice_discount_breakout.rb +15 -0
  236. data/lib/advanced_billing/models/invoice_display_settings.rb +16 -0
  237. data/lib/advanced_billing/models/invoice_issued.rb +24 -0
  238. data/lib/advanced_billing/models/invoice_line_item.rb +34 -0
  239. data/lib/advanced_billing/models/invoice_line_item_component_cost_data.rb +13 -0
  240. data/lib/advanced_billing/models/invoice_line_item_event_data.rb +30 -0
  241. data/lib/advanced_billing/models/invoice_line_item_pricing_detail.rb +14 -0
  242. data/lib/advanced_billing/models/invoice_payer.rb +17 -0
  243. data/lib/advanced_billing/models/invoice_payer_change.rb +15 -0
  244. data/lib/advanced_billing/models/invoice_payment.rb +23 -0
  245. data/lib/advanced_billing/models/invoice_payment_application.rb +15 -0
  246. data/lib/advanced_billing/models/invoice_payment_method.rb +19 -0
  247. data/lib/advanced_billing/models/invoice_pre_payment.rb +16 -0
  248. data/lib/advanced_billing/models/invoice_previous_balance.rb +14 -0
  249. data/lib/advanced_billing/models/invoice_refund.rb +21 -0
  250. data/lib/advanced_billing/models/invoice_response.rb +13 -0
  251. data/lib/advanced_billing/models/invoice_seller.rb +15 -0
  252. data/lib/advanced_billing/models/invoice_tax.rb +24 -0
  253. data/lib/advanced_billing/models/invoice_tax_breakout.rb +16 -0
  254. data/lib/advanced_billing/models/invoice_tax_component_breakout.rb +26 -0
  255. data/lib/advanced_billing/models/issue_advance_invoice_request.rb +13 -0
  256. data/lib/advanced_billing/models/issue_invoice_event.rb +16 -0
  257. data/lib/advanced_billing/models/issue_invoice_event_data.rb +17 -0
  258. data/lib/advanced_billing/models/issue_invoice_request.rb +14 -0
  259. data/lib/advanced_billing/models/issue_service_credit.rb +14 -0
  260. data/lib/advanced_billing/models/issue_service_credit_request.rb +14 -0
  261. data/lib/advanced_billing/models/item_price_point_changed.rb +18 -0
  262. data/lib/advanced_billing/models/item_price_point_data.rb +14 -0
  263. data/lib/advanced_billing/models/list_components_filter.rb +14 -0
  264. data/lib/advanced_billing/models/list_components_price_points_response.rb +14 -0
  265. data/lib/advanced_billing/models/list_coupons_filter.rb +19 -0
  266. data/lib/advanced_billing/models/list_credit_notes_response.rb +14 -0
  267. data/lib/advanced_billing/models/list_invoice_events_response.rb +15 -0
  268. data/lib/advanced_billing/models/list_invoices_response.rb +14 -0
  269. data/lib/advanced_billing/models/list_metafields_response.rb +17 -0
  270. data/lib/advanced_billing/models/list_mrr_filter.rb +14 -0
  271. data/lib/advanced_billing/models/list_mrr_response.rb +12 -0
  272. data/lib/advanced_billing/models/list_mrr_response_result.rb +18 -0
  273. data/lib/advanced_billing/models/list_offers_response.rb +13 -0
  274. data/lib/advanced_billing/models/list_prepayments_filter.rb +14 -0
  275. data/lib/advanced_billing/models/list_price_points_filter.rb +18 -0
  276. data/lib/advanced_billing/models/list_product_price_points_response.rb +14 -0
  277. data/lib/advanced_billing/models/list_products_filter.rb +16 -0
  278. data/lib/advanced_billing/models/list_proforma_invoices_meta.rb +16 -0
  279. data/lib/advanced_billing/models/list_proforma_invoices_response.rb +14 -0
  280. data/lib/advanced_billing/models/list_public_keys_meta.rb +16 -0
  281. data/lib/advanced_billing/models/list_public_keys_response.rb +14 -0
  282. data/lib/advanced_billing/models/list_sale_rep_item.rb +16 -0
  283. data/lib/advanced_billing/models/list_segments_filter.rb +19 -0
  284. data/lib/advanced_billing/models/list_segments_response.rb +14 -0
  285. data/lib/advanced_billing/models/list_subcription_group_prepayment_item.rb +21 -0
  286. data/lib/advanced_billing/models/list_subscription_components_filter.rb +14 -0
  287. data/lib/advanced_billing/models/list_subscription_components_for_site_filter.rb +16 -0
  288. data/lib/advanced_billing/models/list_subscription_components_response.rb +14 -0
  289. data/lib/advanced_billing/models/list_subscription_group_prepayment.rb +14 -0
  290. data/lib/advanced_billing/models/list_subscription_group_prepayment_response.rb +14 -0
  291. data/lib/advanced_billing/models/list_subscription_groups_item.rb +23 -0
  292. data/lib/advanced_billing/models/list_subscription_groups_meta.rb +14 -0
  293. data/lib/advanced_billing/models/list_subscription_groups_response.rb +14 -0
  294. data/lib/advanced_billing/models/metadata.rb +17 -0
  295. data/lib/advanced_billing/models/metafield.rb +16 -0
  296. data/lib/advanced_billing/models/metafield_scope.rb +17 -0
  297. data/lib/advanced_billing/models/metered_component.rb +27 -0
  298. data/lib/advanced_billing/models/metered_usage.rb +18 -0
  299. data/lib/advanced_billing/models/movement.rb +21 -0
  300. data/lib/advanced_billing/models/movement_line_item.rb +19 -0
  301. data/lib/advanced_billing/models/mrr.rb +18 -0
  302. data/lib/advanced_billing/models/mrr_movement.rb +16 -0
  303. data/lib/advanced_billing/models/mrr_response.rb +12 -0
  304. data/lib/advanced_billing/models/multi_invoice_payment.rb +16 -0
  305. data/lib/advanced_billing/models/multi_invoice_payment_response.rb +13 -0
  306. data/lib/advanced_billing/models/nested_subscription_group.rb +16 -0
  307. data/lib/advanced_billing/models/net_terms.rb +21 -0
  308. data/lib/advanced_billing/models/offer.rb +30 -0
  309. data/lib/advanced_billing/models/offer_discount.rb +15 -0
  310. data/lib/advanced_billing/models/offer_item.rb +22 -0
  311. data/lib/advanced_billing/models/offer_response.rb +13 -0
  312. data/lib/advanced_billing/models/offer_signup_page.rb +17 -0
  313. data/lib/advanced_billing/models/ok_response.rb +12 -0
  314. data/lib/advanced_billing/models/on_off_component.rb +26 -0
  315. data/lib/advanced_billing/models/organization_address.rb +17 -0
  316. data/lib/advanced_billing/models/origin_invoice.rb +14 -0
  317. data/lib/advanced_billing/models/overage_pricing.rb +14 -0
  318. data/lib/advanced_billing/models/override_subscription.rb +19 -0
  319. data/lib/advanced_billing/models/override_subscription_request.rb +14 -0
  320. data/lib/advanced_billing/models/paginated_metadata.rb +17 -0
  321. data/lib/advanced_billing/models/paid_invoice.rb +15 -0
  322. data/lib/advanced_billing/models/pause_request.rb +13 -0
  323. data/lib/advanced_billing/models/payer_attributes.rb +24 -0
  324. data/lib/advanced_billing/models/payer_error.rb +14 -0
  325. data/lib/advanced_billing/models/payment_collection_method_changed.rb +14 -0
  326. data/lib/advanced_billing/models/payment_for_allocation.rb +15 -0
  327. data/lib/advanced_billing/models/payment_method_apple_pay.rb +13 -0
  328. data/lib/advanced_billing/models/payment_method_bank_account.rb +16 -0
  329. data/lib/advanced_billing/models/payment_method_credit_card.rb +17 -0
  330. data/lib/advanced_billing/models/payment_method_external.rb +15 -0
  331. data/lib/advanced_billing/models/payment_method_paypal.rb +14 -0
  332. data/lib/advanced_billing/models/payment_profile_attributes.rb +35 -0
  333. data/lib/advanced_billing/models/payment_profile_response.rb +14 -0
  334. data/lib/advanced_billing/models/payment_related_events.rb +14 -0
  335. data/lib/advanced_billing/models/paypal_payment_profile.rb +28 -0
  336. data/lib/advanced_billing/models/pending_cancellation_change.rb +14 -0
  337. data/lib/advanced_billing/models/portal_management_link.rb +18 -0
  338. data/lib/advanced_billing/models/prepaid_configuration.rb +20 -0
  339. data/lib/advanced_billing/models/prepaid_configuration_response.rb +14 -0
  340. data/lib/advanced_billing/models/prepaid_product_price_point_filter.rb +14 -0
  341. data/lib/advanced_billing/models/prepaid_subscription_balance_changed.rb +19 -0
  342. data/lib/advanced_billing/models/prepaid_usage.rb +25 -0
  343. data/lib/advanced_billing/models/prepaid_usage_allocation_detail.rb +15 -0
  344. data/lib/advanced_billing/models/prepaid_usage_component.rb +35 -0
  345. data/lib/advanced_billing/models/prepayment.rb +21 -0
  346. data/lib/advanced_billing/models/prepayment_account_balance_changed.rb +18 -0
  347. data/lib/advanced_billing/models/prepayment_response.rb +14 -0
  348. data/lib/advanced_billing/models/prepayments_response.rb +14 -0
  349. data/lib/advanced_billing/models/preview_allocations_request.rb +17 -0
  350. data/lib/advanced_billing/models/price.rb +16 -0
  351. data/lib/advanced_billing/models/product.rb +55 -0
  352. data/lib/advanced_billing/models/product_family.rb +17 -0
  353. data/lib/advanced_billing/models/product_family_response.rb +14 -0
  354. data/lib/advanced_billing/models/product_price_point.rb +37 -0
  355. data/lib/advanced_billing/models/product_price_point_errors.rb +17 -0
  356. data/lib/advanced_billing/models/product_price_point_response.rb +14 -0
  357. data/lib/advanced_billing/models/product_response.rb +13 -0
  358. data/lib/advanced_billing/models/proforma_error.rb +14 -0
  359. data/lib/advanced_billing/models/proforma_invoice.rb +42 -0
  360. data/lib/advanced_billing/models/proforma_invoice_credit.rb +15 -0
  361. data/lib/advanced_billing/models/proforma_invoice_discount.rb +19 -0
  362. data/lib/advanced_billing/models/proforma_invoice_issued.rb +21 -0
  363. data/lib/advanced_billing/models/proforma_invoice_payment.rb +16 -0
  364. data/lib/advanced_billing/models/proforma_invoice_tax.rb +18 -0
  365. data/lib/advanced_billing/models/proration.rb +14 -0
  366. data/lib/advanced_billing/models/public_key.rb +16 -0
  367. data/lib/advanced_billing/models/public_signup_page.rb +15 -0
  368. data/lib/advanced_billing/models/quantity_based_component.rb +30 -0
  369. data/lib/advanced_billing/models/reactivate_subscription_group_request.rb +14 -0
  370. data/lib/advanced_billing/models/reactivate_subscription_group_response.rb +21 -0
  371. data/lib/advanced_billing/models/reactivate_subscription_request.rb +19 -0
  372. data/lib/advanced_billing/models/reactivation_billing.rb +14 -0
  373. data/lib/advanced_billing/models/reason_code.rb +17 -0
  374. data/lib/advanced_billing/models/reason_code_response.rb +14 -0
  375. data/lib/advanced_billing/models/record_payment_request.rb +13 -0
  376. data/lib/advanced_billing/models/record_payment_response.rb +14 -0
  377. data/lib/advanced_billing/models/referral_code.rb +15 -0
  378. data/lib/advanced_billing/models/referral_validation_response.rb +14 -0
  379. data/lib/advanced_billing/models/refund_consolidated_invoice.rb +17 -0
  380. data/lib/advanced_billing/models/refund_invoice.rb +17 -0
  381. data/lib/advanced_billing/models/refund_invoice_event.rb +16 -0
  382. data/lib/advanced_billing/models/refund_invoice_event_data.rb +21 -0
  383. data/lib/advanced_billing/models/refund_invoice_request.rb +13 -0
  384. data/lib/advanced_billing/models/refund_prepayment.rb +15 -0
  385. data/lib/advanced_billing/models/refund_prepayment_base_refund_error.rb +13 -0
  386. data/lib/advanced_billing/models/refund_prepayment_request.rb +13 -0
  387. data/lib/advanced_billing/models/refund_success.rb +16 -0
  388. data/lib/advanced_billing/models/remove_payment_event.rb +16 -0
  389. data/lib/advanced_billing/models/remove_payment_event_data.rb +19 -0
  390. data/lib/advanced_billing/models/renewal_preview.rb +23 -0
  391. data/lib/advanced_billing/models/renewal_preview_component.rb +15 -0
  392. data/lib/advanced_billing/models/renewal_preview_line_item.rb +27 -0
  393. data/lib/advanced_billing/models/renewal_preview_request.rb +14 -0
  394. data/lib/advanced_billing/models/renewal_preview_response.rb +14 -0
  395. data/lib/advanced_billing/models/replay_webhooks_request.rb +12 -0
  396. data/lib/advanced_billing/models/replay_webhooks_response.rb +13 -0
  397. data/lib/advanced_billing/models/resent_invitation.rb +19 -0
  398. data/lib/advanced_billing/models/resume_options.rb +14 -0
  399. data/lib/advanced_billing/models/revoked_invitation.rb +16 -0
  400. data/lib/advanced_billing/models/sale_rep.rb +16 -0
  401. data/lib/advanced_billing/models/sale_rep_item_mrr.rb +14 -0
  402. data/lib/advanced_billing/models/sale_rep_settings.rb +19 -0
  403. data/lib/advanced_billing/models/sale_rep_subscription.rb +19 -0
  404. data/lib/advanced_billing/models/segment.rb +26 -0
  405. data/lib/advanced_billing/models/segment_price.rb +19 -0
  406. data/lib/advanced_billing/models/segment_response.rb +13 -0
  407. data/lib/advanced_billing/models/send_invoice_request.rb +16 -0
  408. data/lib/advanced_billing/models/service_credit.rb +17 -0
  409. data/lib/advanced_billing/models/service_credit_response.rb +14 -0
  410. data/lib/advanced_billing/models/signup_proforma_preview.rb +16 -0
  411. data/lib/advanced_billing/models/signup_proforma_preview_response.rb +14 -0
  412. data/lib/advanced_billing/models/site.rb +49 -0
  413. data/lib/advanced_billing/models/site_response.rb +13 -0
  414. data/lib/advanced_billing/models/site_statistics.rb +28 -0
  415. data/lib/advanced_billing/models/site_summary.rb +16 -0
  416. data/lib/advanced_billing/models/subscription.rb +84 -0
  417. data/lib/advanced_billing/models/subscription_component.rb +43 -0
  418. data/lib/advanced_billing/models/subscription_component_allocation_error_item.rb +14 -0
  419. data/lib/advanced_billing/models/subscription_component_response.rb +14 -0
  420. data/lib/advanced_billing/models/subscription_component_subscription.rb +14 -0
  421. data/lib/advanced_billing/models/subscription_custom_price.rb +27 -0
  422. data/lib/advanced_billing/models/subscription_filter.rb +17 -0
  423. data/lib/advanced_billing/models/subscription_group.rb +18 -0
  424. data/lib/advanced_billing/models/subscription_group_balances.rb +16 -0
  425. data/lib/advanced_billing/models/subscription_group_bank_account.rb +28 -0
  426. data/lib/advanced_billing/models/subscription_group_component_custom_price.rb +15 -0
  427. data/lib/advanced_billing/models/subscription_group_credit_card.rb +30 -0
  428. data/lib/advanced_billing/models/subscription_group_customer.rb +16 -0
  429. data/lib/advanced_billing/models/subscription_group_item.rb +23 -0
  430. data/lib/advanced_billing/models/subscription_group_members_array_error.rb +13 -0
  431. data/lib/advanced_billing/models/subscription_group_payment_profile.rb +16 -0
  432. data/lib/advanced_billing/models/subscription_group_prepayment.rb +15 -0
  433. data/lib/advanced_billing/models/subscription_group_prepayment_request.rb +14 -0
  434. data/lib/advanced_billing/models/subscription_group_prepayment_response.rb +17 -0
  435. data/lib/advanced_billing/models/subscription_group_response.rb +14 -0
  436. data/lib/advanced_billing/models/subscription_group_signup.rb +22 -0
  437. data/lib/advanced_billing/models/subscription_group_signup_component.rb +17 -0
  438. data/lib/advanced_billing/models/subscription_group_signup_error.rb +18 -0
  439. data/lib/advanced_billing/models/subscription_group_signup_event_data.rb +14 -0
  440. data/lib/advanced_billing/models/subscription_group_signup_failure_data.rb +22 -0
  441. data/lib/advanced_billing/models/subscription_group_signup_item.rb +24 -0
  442. data/lib/advanced_billing/models/subscription_group_signup_request.rb +14 -0
  443. data/lib/advanced_billing/models/subscription_group_signup_response.rb +24 -0
  444. data/lib/advanced_billing/models/subscription_group_single_error.rb +14 -0
  445. data/lib/advanced_billing/models/subscription_group_subscription_error.rb +24 -0
  446. data/lib/advanced_billing/models/subscription_group_update_error.rb +13 -0
  447. data/lib/advanced_billing/models/subscription_included_coupon.rb +18 -0
  448. data/lib/advanced_billing/models/subscription_migration_preview.rb +18 -0
  449. data/lib/advanced_billing/models/subscription_migration_preview_options.rb +23 -0
  450. data/lib/advanced_billing/models/subscription_migration_preview_request.rb +14 -0
  451. data/lib/advanced_billing/models/subscription_migration_preview_response.rb +14 -0
  452. data/lib/advanced_billing/models/subscription_mrr.rb +16 -0
  453. data/lib/advanced_billing/models/subscription_mrr_breakout.rb +15 -0
  454. data/lib/advanced_billing/models/subscription_mrr_response.rb +14 -0
  455. data/lib/advanced_billing/models/subscription_note.rb +17 -0
  456. data/lib/advanced_billing/models/subscription_note_response.rb +13 -0
  457. data/lib/advanced_billing/models/subscription_preview.rb +16 -0
  458. data/lib/advanced_billing/models/subscription_preview_response.rb +14 -0
  459. data/lib/advanced_billing/models/subscription_product_change.rb +14 -0
  460. data/lib/advanced_billing/models/subscription_product_migration.rb +23 -0
  461. data/lib/advanced_billing/models/subscription_product_migration_request.rb +14 -0
  462. data/lib/advanced_billing/models/subscription_response.rb +14 -0
  463. data/lib/advanced_billing/models/subscription_state_change.rb +16 -0
  464. data/lib/advanced_billing/models/tax_configuration.rb +16 -0
  465. data/lib/advanced_billing/models/too_many_management_link_requests.rb +14 -0
  466. data/lib/advanced_billing/models/update_allocation_expiration_date.rb +14 -0
  467. data/lib/advanced_billing/models/update_component.rb +20 -0
  468. data/lib/advanced_billing/models/update_component_price_point.rb +19 -0
  469. data/lib/advanced_billing/models/update_component_price_point_request.rb +14 -0
  470. data/lib/advanced_billing/models/update_component_request.rb +14 -0
  471. data/lib/advanced_billing/models/update_coupon_currency.rb +14 -0
  472. data/lib/advanced_billing/models/update_currency_price.rb +14 -0
  473. data/lib/advanced_billing/models/update_currency_prices_request.rb +14 -0
  474. data/lib/advanced_billing/models/update_customer.rb +26 -0
  475. data/lib/advanced_billing/models/update_customer_request.rb +14 -0
  476. data/lib/advanced_billing/models/update_metadata.rb +14 -0
  477. data/lib/advanced_billing/models/update_metadata_request.rb +14 -0
  478. data/lib/advanced_billing/models/update_metafield.rb +16 -0
  479. data/lib/advanced_billing/models/update_metafields_request.rb +14 -0
  480. data/lib/advanced_billing/models/update_payment_profile.rb +23 -0
  481. data/lib/advanced_billing/models/update_payment_profile_request.rb +14 -0
  482. data/lib/advanced_billing/models/update_price.rb +16 -0
  483. data/lib/advanced_billing/models/update_product_price_point.rb +14 -0
  484. data/lib/advanced_billing/models/update_product_price_point_request.rb +14 -0
  485. data/lib/advanced_billing/models/update_reason_code.rb +14 -0
  486. data/lib/advanced_billing/models/update_reason_code_request.rb +14 -0
  487. data/lib/advanced_billing/models/update_segment.rb +14 -0
  488. data/lib/advanced_billing/models/update_segment_request.rb +13 -0
  489. data/lib/advanced_billing/models/update_subscription.rb +38 -0
  490. data/lib/advanced_billing/models/update_subscription_component.rb +14 -0
  491. data/lib/advanced_billing/models/update_subscription_group.rb +14 -0
  492. data/lib/advanced_billing/models/update_subscription_group_request.rb +14 -0
  493. data/lib/advanced_billing/models/update_subscription_note.rb +14 -0
  494. data/lib/advanced_billing/models/update_subscription_note_request.rb +13 -0
  495. data/lib/advanced_billing/models/update_subscription_request.rb +14 -0
  496. data/lib/advanced_billing/models/upsert_prepaid_configuration.rb +20 -0
  497. data/lib/advanced_billing/models/upsert_prepaid_configuration_request.rb +14 -0
  498. data/lib/advanced_billing/models/usage.rb +19 -0
  499. data/lib/advanced_billing/models/usage_response.rb +13 -0
  500. data/lib/advanced_billing/models/void_invoice.rb +13 -0
  501. data/lib/advanced_billing/models/void_invoice_event.rb +16 -0
  502. data/lib/advanced_billing/models/void_invoice_event_data.rb +18 -0
  503. data/lib/advanced_billing/models/void_invoice_request.rb +13 -0
  504. data/lib/advanced_billing/models/void_remainder_event.rb +16 -0
  505. data/lib/advanced_billing/models/void_remainder_event_data.rb +16 -0
  506. data/lib/advanced_billing/models/webhook.rb +22 -0
  507. data/lib/advanced_billing/models/webhook_response.rb +13 -0
  508. data/lib/advanced_billing/utilities/file_wrapper.rb +14 -2
  509. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e10e983a5e5694c5523e99ac733f5020798ee6e91e59c06f8abfeaab90b2c25
4
- data.tar.gz: d5ee7d244cf36bb1fbc293355087c317b12ec700fc2564608fe4b39e037b0bac
3
+ metadata.gz: 551586ad662e49e7a307d50d9a2392245b774d01363dc5d43c2642a8059bfdd7
4
+ data.tar.gz: 06f750ad290bd25a0335fe88e5537e56e89dc31e7d3b3e4d6ae44d55fc42645f
5
5
  SHA512:
6
- metadata.gz: 1329435ddfb3318d7691df8966775418b6d673c6d08de1707be53313532c3c4ee6bcbb737c589527835515801b9f5c9f941b4a23b4bba20269d852c20cb6e9ca
7
- data.tar.gz: 51b9f93e072af910446c3673967994d8fce5b163401e6e0c0f4ae6a405d0eca4439caaadaa15f780b5af1395cbd68f4b89f5f9091dbf643af5fe9f0854230d9e
6
+ metadata.gz: d8886d5e8cfc76389dd5fcec1093984ec2d4a0e826ee4c55c0d46cd92ee62d19c72ea87e2fc12c9115ee42fe7d17d1307c5a7d3309d52fe748bd70bf5c29c84c
7
+ data.tar.gz: bc55cb35c5e74108f1c257319585665158690efc67e501a9b12ea8ce4a0f5f7699e99d47ad5681219084ffee5bc3253ac7b019137033698a2b26ebdd61a9501b
data/LICENSE CHANGED
@@ -3,7 +3,7 @@ License:
3
3
  The MIT License (MIT)
4
4
  http://opensource.org/licenses/MIT
5
5
 
6
- Copyright (c) 2014 - 2024 APIMATIC Limited
6
+ Copyright (c) 2014 - 2025 APIMATIC Limited
7
7
 
8
8
  Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -30,20 +30,20 @@ curl -u <api_key>:x -H Accept:application/json -H Content-Type:application/json
30
30
  Install the gem from the command line:
31
31
 
32
32
  ```bash
33
- gem install maxio-advanced-billing-sdk -v 6.0.0
33
+ gem install maxio-advanced-billing-sdk -v 6.1.0
34
34
  ```
35
35
 
36
36
  Or add the gem to your Gemfile and run `bundle`:
37
37
 
38
38
  ```ruby
39
- gem 'maxio-advanced-billing-sdk', '6.0.0'
39
+ gem 'maxio-advanced-billing-sdk', '6.1.0'
40
40
  ```
41
41
 
42
- For additional gem details, see the [RubyGems page for the maxio-advanced-billing-sdk gem](https://rubygems.org/gems/maxio-advanced-billing-sdk/versions/6.0.0).
42
+ For additional gem details, see the [RubyGems page for the maxio-advanced-billing-sdk gem](https://rubygems.org/gems/maxio-advanced-billing-sdk/versions/6.1.0).
43
43
 
44
44
  ## Initialize the API Client
45
45
 
46
- **_Note:_** Documentation for the client can be found [here.](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/client.md)
46
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/client.md)
47
47
 
48
48
  The following parameters are configurable for the API Client:
49
49
 
@@ -60,7 +60,7 @@ The following parameters are configurable for the API Client:
60
60
  | `retry_statuses` | `Array` | A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
61
61
  | `retry_methods` | `Array` | A list of HTTP methods to retry. <br> **Default: %i[get put]** |
62
62
  | `http_callback` | `HttpCallBack` | The Http CallBack allows defining callables for pre and post API calls. |
63
- | `basic_auth_credentials` | [`BasicAuthCredentials`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/auth/basic-authentication.md) | The credential object for Basic Authentication |
63
+ | `basic_auth_credentials` | [`BasicAuthCredentials`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/auth/basic-authentication.md) | The credential object for Basic Authentication |
64
64
 
65
65
  The API client can be initialized as follows:
66
66
 
@@ -90,46 +90,46 @@ The SDK can be configured to use a different environment for making API calls. A
90
90
 
91
91
  This API uses the following authentication schemes.
92
92
 
93
- * [`BasicAuth (Basic Authentication)`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/auth/basic-authentication.md)
93
+ * [`BasicAuth (Basic Authentication)`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/auth/basic-authentication.md)
94
94
 
95
95
  ## List of APIs
96
96
 
97
- * [API Exports](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/api-exports.md)
98
- * [Advance Invoice](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/advance-invoice.md)
99
- * [Billing Portal](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/billing-portal.md)
100
- * [Component Price Points](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/component-price-points.md)
101
- * [Custom Fields](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/custom-fields.md)
102
- * [Events-Based Billing Segments](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/events-based-billing-segments.md)
103
- * [Payment Profiles](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/payment-profiles.md)
104
- * [Product Families](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/product-families.md)
105
- * [Product Price Points](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/product-price-points.md)
106
- * [Proforma Invoices](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/proforma-invoices.md)
107
- * [Reason Codes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/reason-codes.md)
108
- * [Referral Codes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/referral-codes.md)
109
- * [Sales Commissions](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/sales-commissions.md)
110
- * [Subscription Components](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/subscription-components.md)
111
- * [Subscription Groups](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/subscription-groups.md)
112
- * [Subscription Group Invoice Account](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/subscription-group-invoice-account.md)
113
- * [Subscription Group Status](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/subscription-group-status.md)
114
- * [Subscription Invoice Account](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/subscription-invoice-account.md)
115
- * [Subscription Notes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/subscription-notes.md)
116
- * [Subscription Products](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/subscription-products.md)
117
- * [Subscription Status](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/subscription-status.md)
118
- * [Coupons](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/coupons.md)
119
- * [Components](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/components.md)
120
- * [Customers](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/customers.md)
121
- * [Events](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/events.md)
122
- * [Insights](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/insights.md)
123
- * [Invoices](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/invoices.md)
124
- * [Offers](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/offers.md)
125
- * [Products](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/products.md)
126
- * [Sites](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/sites.md)
127
- * [Subscriptions](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/subscriptions.md)
128
- * [Webhooks](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/controllers/webhooks.md)
97
+ * [API Exports](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/api-exports.md)
98
+ * [Advance Invoice](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/advance-invoice.md)
99
+ * [Billing Portal](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/billing-portal.md)
100
+ * [Component Price Points](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/component-price-points.md)
101
+ * [Custom Fields](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/custom-fields.md)
102
+ * [Events-Based Billing Segments](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/events-based-billing-segments.md)
103
+ * [Payment Profiles](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/payment-profiles.md)
104
+ * [Product Families](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/product-families.md)
105
+ * [Product Price Points](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/product-price-points.md)
106
+ * [Proforma Invoices](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/proforma-invoices.md)
107
+ * [Reason Codes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/reason-codes.md)
108
+ * [Referral Codes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/referral-codes.md)
109
+ * [Sales Commissions](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/sales-commissions.md)
110
+ * [Subscription Components](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/subscription-components.md)
111
+ * [Subscription Groups](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/subscription-groups.md)
112
+ * [Subscription Group Invoice Account](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/subscription-group-invoice-account.md)
113
+ * [Subscription Group Status](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/subscription-group-status.md)
114
+ * [Subscription Invoice Account](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/subscription-invoice-account.md)
115
+ * [Subscription Notes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/subscription-notes.md)
116
+ * [Subscription Products](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/subscription-products.md)
117
+ * [Subscription Status](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/subscription-status.md)
118
+ * [Coupons](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/coupons.md)
119
+ * [Components](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/components.md)
120
+ * [Customers](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/customers.md)
121
+ * [Events](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/events.md)
122
+ * [Insights](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/insights.md)
123
+ * [Invoices](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/invoices.md)
124
+ * [Offers](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/offers.md)
125
+ * [Products](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/products.md)
126
+ * [Sites](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/sites.md)
127
+ * [Subscriptions](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/subscriptions.md)
128
+ * [Webhooks](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/controllers/webhooks.md)
129
129
 
130
130
  ## Classes Documentation
131
131
 
132
- * [Utility Classes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/utility-classes.md)
133
- * [HttpResponse](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/http-response.md)
134
- * [HttpRequest](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.0.0/doc/http-request.md)
132
+ * [Utility Classes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/utility-classes.md)
133
+ * [HttpResponse](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/http-response.md)
134
+ * [HttpRequest](https://www.github.com/maxio-com/ab-ruby-sdk/tree/6.1.0/doc/http-request.md)
135
135
 
@@ -10,7 +10,7 @@ module AdvancedBilling
10
10
  attr_accessor :config, :http_call_back
11
11
 
12
12
  def self.user_agent
13
- 'AB SDK Ruby:6.0.0 on OS {os-info}'
13
+ 'AB SDK Ruby:6.1.0 on OS {os-info}'
14
14
  end
15
15
 
16
16
  def self.user_agent_parameters
@@ -6,5 +6,16 @@
6
6
  module AdvancedBilling
7
7
  # Class for exceptions when there is a network error, status code error, etc.
8
8
  class APIException < CoreLibrary::ApiException
9
+ # Provides a human-readable string representation of the object.
10
+ def to_s
11
+ class_name = self.class.name.split('::').last
12
+ "<#{class_name} status_code: #{@response_code}, reason: #{@reason}>"
13
+ end
14
+
15
+ # Provides a debugging-friendly string with detailed object information.
16
+ def inspect
17
+ class_name = self.class.name.split('::').last
18
+ "<#{class_name} status_code: #{@response_code.inspect}, reason: #{@reason.inspect}>"
19
+ end
9
20
  end
10
21
  end
@@ -37,5 +37,17 @@ module AdvancedBilling
37
37
 
38
38
  @errors = SKIP unless hash.key?('errors')
39
39
  end
40
+
41
+ # Provides a human-readable string representation of the object.
42
+ def to_s
43
+ class_name = self.class.name.split('::').last
44
+ "<#{class_name} errors: #{@errors}>"
45
+ end
46
+
47
+ # Provides a debugging-friendly string with detailed object information.
48
+ def inspect
49
+ class_name = self.class.name.split('::').last
50
+ "<#{class_name} errors: #{@errors.inspect}>"
51
+ end
40
52
  end
41
53
  end
@@ -37,5 +37,17 @@ module AdvancedBilling
37
37
 
38
38
  @errors = SKIP unless hash.key?('errors')
39
39
  end
40
+
41
+ # Provides a human-readable string representation of the object.
42
+ def to_s
43
+ class_name = self.class.name.split('::').last
44
+ "<#{class_name} errors: #{@errors}>"
45
+ end
46
+
47
+ # Provides a debugging-friendly string with detailed object information.
48
+ def inspect
49
+ class_name = self.class.name.split('::').last
50
+ "<#{class_name} errors: #{@errors.inspect}>"
51
+ end
40
52
  end
41
53
  end
@@ -30,5 +30,17 @@ module AdvancedBilling
30
30
  UnionTypeLookUp.get(:CustomerErrorResponseErrors), hash['errors']
31
31
  ) : SKIP
32
32
  end
33
+
34
+ # Provides a human-readable string representation of the object.
35
+ def to_s
36
+ class_name = self.class.name.split('::').last
37
+ "<#{class_name} errors: #{@errors}>"
38
+ end
39
+
40
+ # Provides a debugging-friendly string with detailed object information.
41
+ def inspect
42
+ class_name = self.class.name.split('::').last
43
+ "<#{class_name} errors: #{@errors.inspect}>"
44
+ end
33
45
  end
34
46
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = hash.key?('errors') ? hash['errors'] : SKIP
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = hash.key?('errors') ? hash['errors'] : nil
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = hash.key?('errors') ? hash['errors'] : SKIP
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = Errors.from_hash(hash['errors']) if hash['errors']
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -31,5 +31,17 @@ module AdvancedBilling
31
31
  def unbox(hash)
32
32
  @errors = hash.key?('errors') ? hash['errors'] : SKIP
33
33
  end
34
+
35
+ # Provides a human-readable string representation of the object.
36
+ def to_s
37
+ class_name = self.class.name.split('::').last
38
+ "<#{class_name} errors: #{@errors}>"
39
+ end
40
+
41
+ # Provides a debugging-friendly string with detailed object information.
42
+ def inspect
43
+ class_name = self.class.name.split('::').last
44
+ "<#{class_name} errors: #{@errors.inspect}>"
45
+ end
34
46
  end
35
47
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = EventBasedBillingSegmentError.from_hash(hash['errors']) if hash['errors']
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = ProductPricePointErrors.from_hash(hash['errors']) if hash['errors']
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = ProformaError.from_hash(hash['errors']) if hash['errors']
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = RefundPrepaymentBaseRefundError.from_hash(hash['errors']) if hash['errors']
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @error = hash.key?('error') ? hash['error'] : nil
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} error: #{@error}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} error: #{@error.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = hash.key?('errors') ? hash['errors'] : SKIP
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -43,5 +43,19 @@ module AdvancedBilling
43
43
  @coupon_codes = hash.key?('coupon_codes') ? hash['coupon_codes'] : SKIP
44
44
  @subscription = hash.key?('subscription') ? hash['subscription'] : SKIP
45
45
  end
46
+
47
+ # Provides a human-readable string representation of the object.
48
+ def to_s
49
+ class_name = self.class.name.split('::').last
50
+ "<#{class_name} codes: #{@codes}, coupon_code: #{@coupon_code}, coupon_codes:"\
51
+ " #{@coupon_codes}, subscription: #{@subscription}>"
52
+ end
53
+
54
+ # Provides a debugging-friendly string with detailed object information.
55
+ def inspect
56
+ class_name = self.class.name.split('::').last
57
+ "<#{class_name} codes: #{@codes.inspect}, coupon_code: #{@coupon_code.inspect},"\
58
+ " coupon_codes: #{@coupon_codes.inspect}, subscription: #{@subscription.inspect}>"
59
+ end
46
60
  end
47
61
  end
@@ -37,5 +37,17 @@ module AdvancedBilling
37
37
 
38
38
  @errors = SKIP unless hash.key?('errors')
39
39
  end
40
+
41
+ # Provides a human-readable string representation of the object.
42
+ def to_s
43
+ class_name = self.class.name.split('::').last
44
+ "<#{class_name} errors: #{@errors}>"
45
+ end
46
+
47
+ # Provides a debugging-friendly string with detailed object information.
48
+ def inspect
49
+ class_name = self.class.name.split('::').last
50
+ "<#{class_name} errors: #{@errors.inspect}>"
51
+ end
40
52
  end
41
53
  end
@@ -30,5 +30,17 @@ module AdvancedBilling
30
30
  UnionTypeLookUp.get(:SubscriptionGroupCreateErrorResponseErrors), hash['errors']
31
31
  ) : nil
32
32
  end
33
+
34
+ # Provides a human-readable string representation of the object.
35
+ def to_s
36
+ class_name = self.class.name.split('::').last
37
+ "<#{class_name} errors: #{@errors}>"
38
+ end
39
+
40
+ # Provides a debugging-friendly string with detailed object information.
41
+ def inspect
42
+ class_name = self.class.name.split('::').last
43
+ "<#{class_name} errors: #{@errors.inspect}>"
44
+ end
33
45
  end
34
46
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = SubscriptionGroupSignupError.from_hash(hash['errors']) if hash['errors']
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = SubscriptionGroupUpdateError.from_hash(hash['errors']) if hash['errors']
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @subscription = hash.key?('subscription') ? hash['subscription'] : nil
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} subscription: #{@subscription}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} subscription: #{@subscription.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @subscription = Subscription.from_hash(hash['subscription']) if hash['subscription']
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} subscription: #{@subscription}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} subscription: #{@subscription.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = AttributeError.from_hash(hash['errors']) if hash['errors']
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -28,5 +28,17 @@ module AdvancedBilling
28
28
  def unbox(hash)
29
29
  @errors = TooManyManagementLinkRequests.from_hash(hash['errors']) if hash['errors']
30
30
  end
31
+
32
+ # Provides a human-readable string representation of the object.
33
+ def to_s
34
+ class_name = self.class.name.split('::').last
35
+ "<#{class_name} errors: #{@errors}>"
36
+ end
37
+
38
+ # Provides a debugging-friendly string with detailed object information.
39
+ def inspect
40
+ class_name = self.class.name.split('::').last
41
+ "<#{class_name} errors: #{@errors.inspect}>"
42
+ end
31
43
  end
32
44
  end
@@ -86,5 +86,22 @@ module AdvancedBilling
86
86
  remittance_balance_in_cents: remittance_balance_in_cents,
87
87
  additional_properties: additional_properties)
88
88
  end
89
+
90
+ # Provides a human-readable string representation of the object.
91
+ def to_s
92
+ class_name = self.class.name.split('::').last
93
+ "<#{class_name} balance_in_cents: #{@balance_in_cents}, automatic_balance_in_cents:"\
94
+ " #{@automatic_balance_in_cents}, remittance_balance_in_cents:"\
95
+ " #{@remittance_balance_in_cents}, additional_properties: #{get_additional_properties}>"
96
+ end
97
+
98
+ # Provides a debugging-friendly string with detailed object information.
99
+ def inspect
100
+ class_name = self.class.name.split('::').last
101
+ "<#{class_name} balance_in_cents: #{@balance_in_cents.inspect}, automatic_balance_in_cents:"\
102
+ " #{@automatic_balance_in_cents.inspect}, remittance_balance_in_cents:"\
103
+ " #{@remittance_balance_in_cents.inspect}, additional_properties:"\
104
+ " #{get_additional_properties}>"
105
+ end
89
106
  end
90
107
  end