orb-billing 0.12.0 → 1.0.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 (740) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. data/README.md +1 -1
  4. data/lib/orb/internal/type/base_model.rb +5 -5
  5. data/lib/orb/models/accounting_provider_config.rb +21 -0
  6. data/lib/orb/models/address.rb +45 -0
  7. data/lib/orb/models/address_input.rb +45 -0
  8. data/lib/orb/models/adjustment_interval.rb +66 -0
  9. data/lib/orb/models/aggregated_cost.rb +45 -0
  10. data/lib/orb/models/alert.rb +9 -60
  11. data/lib/orb/models/alert_create_for_customer_params.rb +3 -24
  12. data/lib/orb/models/alert_create_for_external_customer_params.rb +3 -24
  13. data/lib/orb/models/alert_create_for_subscription_params.rb +3 -23
  14. data/lib/orb/models/alert_update_params.rb +3 -22
  15. data/lib/orb/models/allocation.rb +27 -0
  16. data/lib/orb/models/amount_discount.rb +3 -59
  17. data/lib/orb/models/amount_discount_interval.rb +65 -0
  18. data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +193 -19201
  19. data/lib/orb/models/beta_create_plan_version_params.rb +183 -19025
  20. data/lib/orb/models/billable_metric_tiny.rb +15 -0
  21. data/lib/orb/models/billing_cycle_anchor_configuration.rb +41 -0
  22. data/lib/orb/models/billing_cycle_configuration.rb +32 -0
  23. data/lib/orb/models/bps_config.rb +24 -0
  24. data/lib/orb/models/bps_tier.rb +40 -0
  25. data/lib/orb/models/bulk_bps_config.rb +20 -0
  26. data/lib/orb/models/bulk_bps_tier.rb +32 -0
  27. data/lib/orb/models/bulk_config.rb +16 -0
  28. data/lib/orb/models/bulk_tier.rb +24 -0
  29. data/lib/orb/models/changed_subscription_resources.rb +40 -0
  30. data/lib/orb/models/conversion_rate_tier.rb +32 -0
  31. data/lib/orb/models/conversion_rate_tiered_config.rb +16 -0
  32. data/lib/orb/models/conversion_rate_unit_config.rb +16 -0
  33. data/lib/orb/models/coupon_redemption.rb +27 -0
  34. data/lib/orb/models/credit_note.rb +6 -51
  35. data/lib/orb/models/credit_note_tiny.rb +16 -0
  36. data/lib/orb/models/custom_expiration.rb +32 -0
  37. data/lib/orb/models/customer.rb +15 -426
  38. data/lib/orb/models/customer_create_params.rb +24 -527
  39. data/lib/orb/models/customer_hierarchy_config.rb +29 -0
  40. data/lib/orb/models/customer_minified.rb +21 -0
  41. data/lib/orb/models/customer_tax_id.rb +300 -0
  42. data/lib/orb/models/customer_update_by_external_id_params.rb +24 -529
  43. data/lib/orb/models/customer_update_params.rb +24 -527
  44. data/lib/orb/models/customers/balance_transaction_create_response.rb +6 -32
  45. data/lib/orb/models/customers/balance_transaction_list_response.rb +6 -32
  46. data/lib/orb/models/customers/cost_list_by_external_id_response.rb +3 -88
  47. data/lib/orb/models/customers/cost_list_response.rb +3 -87
  48. data/lib/orb/models/customers/credits/affected_block.rb +31 -0
  49. data/lib/orb/models/customers/credits/amendment_ledger_entry.rb +131 -0
  50. data/lib/orb/models/customers/credits/credit_block_expiry_ledger_entry.rb +137 -0
  51. data/lib/orb/models/customers/credits/decrement_ledger_entry.rb +152 -0
  52. data/lib/orb/models/customers/credits/expiration_change_ledger_entry.rb +141 -0
  53. data/lib/orb/models/customers/credits/increment_ledger_entry.rb +139 -0
  54. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +8 -1177
  55. data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +8 -1169
  56. data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +8 -1173
  57. data/lib/orb/models/customers/credits/ledger_list_response.rb +8 -1161
  58. data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +3 -52
  59. data/lib/orb/models/customers/credits/top_up_create_response.rb +3 -51
  60. data/lib/orb/models/customers/credits/top_up_invoice_settings.rb +53 -0
  61. data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +3 -52
  62. data/lib/orb/models/customers/credits/top_up_list_response.rb +3 -51
  63. data/lib/orb/models/customers/credits/void_initiated_ledger_entry.rb +152 -0
  64. data/lib/orb/models/customers/credits/void_ledger_entry.rb +145 -0
  65. data/lib/orb/models/dimensional_price_configuration.rb +21 -0
  66. data/lib/orb/models/discount_override.rb +56 -0
  67. data/lib/orb/models/fixed_fee_quantity_schedule_entry.rb +33 -0
  68. data/lib/orb/models/fixed_fee_quantity_transition.rb +27 -0
  69. data/lib/orb/models/invoice.rb +56 -1777
  70. data/lib/orb/models/invoice_create_params.rb +3 -15
  71. data/lib/orb/models/invoice_fetch_upcoming_response.rb +56 -1794
  72. data/lib/orb/models/invoice_line_item_create_response.rb +25 -1142
  73. data/lib/orb/models/invoice_tiny.rb +16 -0
  74. data/lib/orb/models/item_slim.rb +21 -0
  75. data/lib/orb/models/matrix_config.rb +32 -0
  76. data/lib/orb/models/matrix_sub_line_item.rb +61 -0
  77. data/lib/orb/models/matrix_value.rb +29 -0
  78. data/lib/orb/models/matrix_with_allocation_config.rb +40 -0
  79. data/lib/orb/models/maximum.rb +38 -0
  80. data/lib/orb/models/maximum_interval.rb +52 -0
  81. data/lib/orb/models/minimum.rb +38 -0
  82. data/lib/orb/models/minimum_interval.rb +52 -0
  83. data/lib/orb/models/monetary_amount_discount_adjustment.rb +87 -0
  84. data/lib/orb/models/monetary_maximum_adjustment.rb +87 -0
  85. data/lib/orb/models/monetary_minimum_adjustment.rb +95 -0
  86. data/lib/orb/models/monetary_percentage_discount_adjustment.rb +87 -0
  87. data/lib/orb/models/monetary_usage_discount_adjustment.rb +87 -0
  88. data/lib/orb/models/mutated_subscription.rb +302 -0
  89. data/lib/orb/models/new_accounting_sync_configuration.rb +23 -0
  90. data/lib/orb/models/new_allocation_price.rb +70 -0
  91. data/lib/orb/models/new_amount_discount.rb +120 -0
  92. data/lib/orb/models/new_avalara_tax_configuration.rb +37 -0
  93. data/lib/orb/models/new_billing_cycle_configuration.rb +37 -0
  94. data/lib/orb/models/new_dimensional_price_configuration.rb +36 -0
  95. data/lib/orb/models/new_floating_bps_price.rb +199 -0
  96. data/lib/orb/models/new_floating_bulk_bps_price.rb +197 -0
  97. data/lib/orb/models/new_floating_bulk_price.rb +197 -0
  98. data/lib/orb/models/new_floating_bulk_with_proration_price.rb +197 -0
  99. data/lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb +197 -0
  100. data/lib/orb/models/new_floating_grouped_allocation_price.rb +197 -0
  101. data/lib/orb/models/new_floating_grouped_tiered_package_price.rb +197 -0
  102. data/lib/orb/models/new_floating_grouped_tiered_price.rb +197 -0
  103. data/lib/orb/models/new_floating_grouped_with_metered_minimum_price.rb +197 -0
  104. data/lib/orb/models/new_floating_grouped_with_prorated_minimum_price.rb +198 -0
  105. data/lib/orb/models/new_floating_matrix_price.rb +197 -0
  106. data/lib/orb/models/new_floating_matrix_with_allocation_price.rb +197 -0
  107. data/lib/orb/models/new_floating_matrix_with_display_name_price.rb +197 -0
  108. data/lib/orb/models/new_floating_max_group_tiered_package_price.rb +197 -0
  109. data/lib/orb/models/new_floating_package_price.rb +197 -0
  110. data/lib/orb/models/new_floating_package_with_allocation_price.rb +197 -0
  111. data/lib/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rb +198 -0
  112. data/lib/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rb +198 -0
  113. data/lib/orb/models/new_floating_threshold_total_amount_price.rb +197 -0
  114. data/lib/orb/models/new_floating_tiered_bps_price.rb +197 -0
  115. data/lib/orb/models/new_floating_tiered_package_price.rb +197 -0
  116. data/lib/orb/models/new_floating_tiered_package_with_minimum_price.rb +197 -0
  117. data/lib/orb/models/new_floating_tiered_price.rb +197 -0
  118. data/lib/orb/models/new_floating_tiered_with_minimum_price.rb +197 -0
  119. data/lib/orb/models/new_floating_tiered_with_proration_price.rb +197 -0
  120. data/lib/orb/models/new_floating_unit_price.rb +197 -0
  121. data/lib/orb/models/new_floating_unit_with_percent_price.rb +197 -0
  122. data/lib/orb/models/new_floating_unit_with_proration_price.rb +197 -0
  123. data/lib/orb/models/new_maximum.rb +120 -0
  124. data/lib/orb/models/new_minimum.rb +128 -0
  125. data/lib/orb/models/new_percentage_discount.rb +120 -0
  126. data/lib/orb/models/new_plan_bps_price.rb +196 -0
  127. data/lib/orb/models/new_plan_bulk_bps_price.rb +200 -0
  128. data/lib/orb/models/new_plan_bulk_price.rb +196 -0
  129. data/lib/orb/models/new_plan_bulk_with_proration_price.rb +198 -0
  130. data/lib/orb/models/new_plan_cumulative_grouped_bulk_price.rb +198 -0
  131. data/lib/orb/models/new_plan_grouped_allocation_price.rb +198 -0
  132. data/lib/orb/models/new_plan_grouped_tiered_package_price.rb +198 -0
  133. data/lib/orb/models/new_plan_grouped_tiered_price.rb +198 -0
  134. data/lib/orb/models/new_plan_grouped_with_metered_minimum_price.rb +198 -0
  135. data/lib/orb/models/new_plan_grouped_with_prorated_minimum_price.rb +199 -0
  136. data/lib/orb/models/new_plan_matrix_price.rb +200 -0
  137. data/lib/orb/models/new_plan_matrix_with_allocation_price.rb +198 -0
  138. data/lib/orb/models/new_plan_matrix_with_display_name_price.rb +198 -0
  139. data/lib/orb/models/new_plan_max_group_tiered_package_price.rb +198 -0
  140. data/lib/orb/models/new_plan_package_price.rb +200 -0
  141. data/lib/orb/models/new_plan_package_with_allocation_price.rb +198 -0
  142. data/lib/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rb +199 -0
  143. data/lib/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rb +199 -0
  144. data/lib/orb/models/new_plan_threshold_total_amount_price.rb +198 -0
  145. data/lib/orb/models/new_plan_tier_with_proration_price.rb +198 -0
  146. data/lib/orb/models/new_plan_tiered_bps_price.rb +198 -0
  147. data/lib/orb/models/new_plan_tiered_package_price.rb +198 -0
  148. data/lib/orb/models/new_plan_tiered_package_with_minimum_price.rb +198 -0
  149. data/lib/orb/models/new_plan_tiered_price.rb +200 -0
  150. data/lib/orb/models/new_plan_tiered_with_minimum_price.rb +198 -0
  151. data/lib/orb/models/new_plan_unit_price.rb +196 -0
  152. data/lib/orb/models/new_plan_unit_with_percent_price.rb +198 -0
  153. data/lib/orb/models/new_plan_unit_with_proration_price.rb +198 -0
  154. data/lib/orb/models/new_reporting_configuration.rb +15 -0
  155. data/lib/orb/models/new_sphere_configuration.rb +31 -0
  156. data/lib/orb/models/new_subscription_bps_price.rb +207 -0
  157. data/lib/orb/models/new_subscription_bulk_bps_price.rb +207 -0
  158. data/lib/orb/models/new_subscription_bulk_price.rb +207 -0
  159. data/lib/orb/models/new_subscription_bulk_with_proration_price.rb +207 -0
  160. data/lib/orb/models/new_subscription_cumulative_grouped_bulk_price.rb +207 -0
  161. data/lib/orb/models/new_subscription_grouped_allocation_price.rb +207 -0
  162. data/lib/orb/models/new_subscription_grouped_tiered_package_price.rb +207 -0
  163. data/lib/orb/models/new_subscription_grouped_tiered_price.rb +207 -0
  164. data/lib/orb/models/new_subscription_grouped_with_metered_minimum_price.rb +207 -0
  165. data/lib/orb/models/new_subscription_grouped_with_prorated_minimum_price.rb +208 -0
  166. data/lib/orb/models/new_subscription_matrix_price.rb +207 -0
  167. data/lib/orb/models/new_subscription_matrix_with_allocation_price.rb +207 -0
  168. data/lib/orb/models/new_subscription_matrix_with_display_name_price.rb +207 -0
  169. data/lib/orb/models/new_subscription_max_group_tiered_package_price.rb +207 -0
  170. data/lib/orb/models/new_subscription_package_price.rb +207 -0
  171. data/lib/orb/models/new_subscription_package_with_allocation_price.rb +207 -0
  172. data/lib/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rb +209 -0
  173. data/lib/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rb +209 -0
  174. data/lib/orb/models/new_subscription_threshold_total_amount_price.rb +207 -0
  175. data/lib/orb/models/new_subscription_tier_with_proration_price.rb +207 -0
  176. data/lib/orb/models/new_subscription_tiered_bps_price.rb +207 -0
  177. data/lib/orb/models/new_subscription_tiered_package_price.rb +207 -0
  178. data/lib/orb/models/new_subscription_tiered_package_with_minimum_price.rb +207 -0
  179. data/lib/orb/models/new_subscription_tiered_price.rb +207 -0
  180. data/lib/orb/models/new_subscription_tiered_with_minimum_price.rb +207 -0
  181. data/lib/orb/models/new_subscription_unit_price.rb +207 -0
  182. data/lib/orb/models/new_subscription_unit_with_percent_price.rb +207 -0
  183. data/lib/orb/models/new_subscription_unit_with_proration_price.rb +207 -0
  184. data/lib/orb/models/new_tax_jar_configuration.rb +31 -0
  185. data/lib/orb/models/new_usage_discount.rb +120 -0
  186. data/lib/orb/models/other_sub_line_item.rb +54 -0
  187. data/lib/orb/models/package_config.rb +28 -0
  188. data/lib/orb/models/per_price_cost.rb +48 -0
  189. data/lib/orb/models/percentage_discount.rb +3 -59
  190. data/lib/orb/models/percentage_discount_interval.rb +69 -0
  191. data/lib/orb/models/plan.rb +22 -1040
  192. data/lib/orb/models/plan_create_params.rb +31 -8145
  193. data/lib/orb/models/plan_phase_amount_discount_adjustment.rb +87 -0
  194. data/lib/orb/models/plan_phase_maximum_adjustment.rb +87 -0
  195. data/lib/orb/models/plan_phase_minimum_adjustment.rb +95 -0
  196. data/lib/orb/models/plan_phase_percentage_discount_adjustment.rb +87 -0
  197. data/lib/orb/models/plan_phase_usage_discount_adjustment.rb +87 -0
  198. data/lib/orb/models/plan_version.rb +10 -672
  199. data/lib/orb/models/price.rb +1225 -10817
  200. data/lib/orb/models/price_create_params.rb +53 -472
  201. data/lib/orb/models/price_evaluate_multiple_params.rb +32 -8479
  202. data/lib/orb/models/price_evaluate_preview_events_params.rb +236 -0
  203. data/lib/orb/models/price_evaluate_preview_events_response.rb +51 -0
  204. data/lib/orb/models/price_interval.rb +113 -0
  205. data/lib/orb/models/sub_line_item_grouping.rb +23 -0
  206. data/lib/orb/models/sub_line_item_matrix_config.rb +16 -0
  207. data/lib/orb/models/subscription.rb +33 -1581
  208. data/lib/orb/models/subscription_change_apply_response.rb +3 -1904
  209. data/lib/orb/models/subscription_change_cancel_response.rb +3 -1905
  210. data/lib/orb/models/subscription_change_minified.rb +15 -0
  211. data/lib/orb/models/subscription_change_retrieve_response.rb +3 -1906
  212. data/lib/orb/models/subscription_create_params.rb +232 -19698
  213. data/lib/orb/models/subscription_fetch_costs_response.rb +3 -87
  214. data/lib/orb/models/subscription_minified.rb +15 -0
  215. data/lib/orb/models/subscription_price_intervals_params.rb +86 -9468
  216. data/lib/orb/models/subscription_schedule_plan_change_params.rb +238 -19792
  217. data/lib/orb/models/subscription_trial_info.rb +15 -0
  218. data/lib/orb/models/tax_amount.rb +32 -0
  219. data/lib/orb/models/threshold.rb +24 -0
  220. data/lib/orb/models/tier.rb +32 -0
  221. data/lib/orb/models/tier_config.rb +27 -0
  222. data/lib/orb/models/tier_sub_line_item.rb +61 -0
  223. data/lib/orb/models/tiered_bps_config.rb +20 -0
  224. data/lib/orb/models/tiered_config.rb +16 -0
  225. data/lib/orb/models/tiered_conversion_rate_config.rb +31 -0
  226. data/lib/orb/models/transform_price_filter.rb +61 -0
  227. data/lib/orb/models/trial_discount.rb +3 -59
  228. data/lib/orb/models/unit_config.rb +16 -0
  229. data/lib/orb/models/unit_conversion_rate_config.rb +31 -0
  230. data/lib/orb/models/usage_discount.rb +3 -59
  231. data/lib/orb/models/usage_discount_interval.rb +69 -0
  232. data/lib/orb/models.rb +348 -0
  233. data/lib/orb/resources/alerts.rb +4 -4
  234. data/lib/orb/resources/customers/credits/ledger.rb +4 -4
  235. data/lib/orb/resources/customers.rb +21 -21
  236. data/lib/orb/resources/plans.rb +1 -1
  237. data/lib/orb/resources/prices/external_price_id.rb +2 -2
  238. data/lib/orb/resources/prices.rb +82 -34
  239. data/lib/orb/resources/subscriptions.rb +24 -24
  240. data/lib/orb/version.rb +1 -1
  241. data/lib/orb.rb +181 -11
  242. data/rbi/orb/models/accounting_provider_config.rbi +34 -0
  243. data/rbi/orb/models/address.rbi +55 -0
  244. data/rbi/orb/models/address_input.rbi +62 -0
  245. data/rbi/orb/models/adjustment_interval.rbi +93 -0
  246. data/rbi/orb/models/aggregated_cost.rbi +61 -0
  247. data/rbi/orb/models/alert.rbi +11 -84
  248. data/rbi/orb/models/alert_create_for_customer_params.rbi +3 -42
  249. data/rbi/orb/models/alert_create_for_external_customer_params.rbi +3 -48
  250. data/rbi/orb/models/alert_create_for_subscription_params.rbi +3 -38
  251. data/rbi/orb/models/alert_update_params.rbi +3 -31
  252. data/rbi/orb/models/allocation.rbi +45 -0
  253. data/rbi/orb/models/amount_discount.rbi +3 -112
  254. data/rbi/orb/models/amount_discount_interval.rbi +100 -0
  255. data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +558 -35618
  256. data/rbi/orb/models/beta_create_plan_version_params.rbi +558 -35610
  257. data/rbi/orb/models/billable_metric_tiny.rbi +21 -0
  258. data/rbi/orb/models/billing_cycle_anchor_configuration.rbi +61 -0
  259. data/rbi/orb/models/billing_cycle_configuration.rbi +70 -0
  260. data/rbi/orb/models/bps_config.rbi +36 -0
  261. data/rbi/orb/models/bps_tier.rbi +58 -0
  262. data/rbi/orb/models/bulk_bps_config.rbi +31 -0
  263. data/rbi/orb/models/bulk_bps_tier.rbi +50 -0
  264. data/rbi/orb/models/bulk_config.rbi +26 -0
  265. data/rbi/orb/models/bulk_tier.rbi +38 -0
  266. data/rbi/orb/models/changed_subscription_resources.rbi +61 -0
  267. data/rbi/orb/models/conversion_rate_tier.rbi +51 -0
  268. data/rbi/orb/models/conversion_rate_tiered_config.rbi +31 -0
  269. data/rbi/orb/models/conversion_rate_unit_config.rbi +27 -0
  270. data/rbi/orb/models/coupon_redemption.rbi +37 -0
  271. data/rbi/orb/models/credit_note.rbi +7 -87
  272. data/rbi/orb/models/credit_note_tiny.rbi +25 -0
  273. data/rbi/orb/models/custom_expiration.rbi +55 -0
  274. data/rbi/orb/models/customer.rbi +19 -522
  275. data/rbi/orb/models/customer_create_params.rbi +36 -957
  276. data/rbi/orb/models/customer_hierarchy_config.rbi +52 -0
  277. data/rbi/orb/models/customer_minified.rbi +32 -0
  278. data/rbi/orb/models/customer_tax_id.rbi +324 -0
  279. data/rbi/orb/models/customer_update_by_external_id_params.rbi +36 -1436
  280. data/rbi/orb/models/customer_update_params.rbi +36 -957
  281. data/rbi/orb/models/customers/balance_transaction_create_response.rbi +8 -96
  282. data/rbi/orb/models/customers/balance_transaction_list_response.rbi +8 -96
  283. data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +5 -191
  284. data/rbi/orb/models/customers/cost_list_response.rbi +5 -182
  285. data/rbi/orb/models/customers/credits/affected_block.rbi +50 -0
  286. data/rbi/orb/models/customers/credits/amendment_ledger_entry.rbi +207 -0
  287. data/rbi/orb/models/customers/credits/credit_block_expiry_ledger_entry.rbi +209 -0
  288. data/rbi/orb/models/customers/credits/decrement_ledger_entry.rbi +225 -0
  289. data/rbi/orb/models/customers/credits/expiration_change_ledger_entry.rbi +213 -0
  290. data/rbi/orb/models/customers/credits/increment_ledger_entry.rbi +215 -0
  291. data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +7 -1854
  292. data/rbi/orb/models/customers/credits/ledger_create_entry_response.rbi +7 -1854
  293. data/rbi/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +7 -1854
  294. data/rbi/orb/models/customers/credits/ledger_list_response.rbi +7 -1854
  295. data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +4 -84
  296. data/rbi/orb/models/customers/credits/top_up_create_response.rbi +4 -84
  297. data/rbi/orb/models/customers/credits/top_up_invoice_settings.rbi +83 -0
  298. data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +4 -84
  299. data/rbi/orb/models/customers/credits/top_up_list_response.rbi +4 -84
  300. data/rbi/orb/models/customers/credits/void_initiated_ledger_entry.rbi +225 -0
  301. data/rbi/orb/models/customers/credits/void_ledger_entry.rbi +219 -0
  302. data/rbi/orb/models/dimensional_price_configuration.rbi +38 -0
  303. data/rbi/orb/models/discount_override.rbi +83 -0
  304. data/rbi/orb/models/fixed_fee_quantity_schedule_entry.rbi +48 -0
  305. data/rbi/orb/models/fixed_fee_quantity_transition.rbi +39 -0
  306. data/rbi/orb/models/invoice.rbi +212 -3345
  307. data/rbi/orb/models/invoice_create_params.rbi +4 -33
  308. data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +355 -4329
  309. data/rbi/orb/models/invoice_line_item_create_response.rbi +30 -2260
  310. data/rbi/orb/models/invoice_tiny.rbi +24 -0
  311. data/rbi/orb/models/item_slim.rbi +23 -0
  312. data/rbi/orb/models/matrix_config.rbi +50 -0
  313. data/rbi/orb/models/matrix_sub_line_item.rbi +87 -0
  314. data/rbi/orb/models/matrix_value.rbi +43 -0
  315. data/rbi/orb/models/matrix_with_allocation_config.rbi +61 -0
  316. data/rbi/orb/models/maximum.rbi +52 -0
  317. data/rbi/orb/models/maximum_interval.rbi +69 -0
  318. data/rbi/orb/models/minimum.rbi +52 -0
  319. data/rbi/orb/models/minimum_interval.rbi +69 -0
  320. data/rbi/orb/models/monetary_amount_discount_adjustment.rbi +125 -0
  321. data/rbi/orb/models/monetary_maximum_adjustment.rbi +123 -0
  322. data/rbi/orb/models/monetary_minimum_adjustment.rbi +131 -0
  323. data/rbi/orb/models/monetary_percentage_discount_adjustment.rbi +131 -0
  324. data/rbi/orb/models/monetary_usage_discount_adjustment.rbi +125 -0
  325. data/rbi/orb/models/mutated_subscription.rbi +412 -0
  326. data/rbi/orb/models/new_accounting_sync_configuration.rbi +40 -0
  327. data/rbi/orb/models/new_allocation_price.rbi +104 -0
  328. data/rbi/orb/models/new_amount_discount.rbi +179 -0
  329. data/rbi/orb/models/new_avalara_tax_configuration.rbi +68 -0
  330. data/rbi/orb/models/new_billing_cycle_configuration.rbi +79 -0
  331. data/rbi/orb/models/new_dimensional_price_configuration.rbi +55 -0
  332. data/rbi/orb/models/new_floating_bps_price.rbi +294 -0
  333. data/rbi/orb/models/new_floating_bulk_bps_price.rbi +309 -0
  334. data/rbi/orb/models/new_floating_bulk_price.rbi +298 -0
  335. data/rbi/orb/models/new_floating_bulk_with_proration_price.rbi +331 -0
  336. data/rbi/orb/models/new_floating_cumulative_grouped_bulk_price.rbi +338 -0
  337. data/rbi/orb/models/new_floating_grouped_allocation_price.rbi +331 -0
  338. data/rbi/orb/models/new_floating_grouped_tiered_package_price.rbi +337 -0
  339. data/rbi/orb/models/new_floating_grouped_tiered_price.rbi +325 -0
  340. data/rbi/orb/models/new_floating_grouped_with_metered_minimum_price.rbi +348 -0
  341. data/rbi/orb/models/new_floating_grouped_with_prorated_minimum_price.rbi +348 -0
  342. data/rbi/orb/models/new_floating_matrix_price.rbi +304 -0
  343. data/rbi/orb/models/new_floating_matrix_with_allocation_price.rbi +345 -0
  344. data/rbi/orb/models/new_floating_matrix_with_display_name_price.rbi +338 -0
  345. data/rbi/orb/models/new_floating_max_group_tiered_package_price.rbi +338 -0
  346. data/rbi/orb/models/new_floating_package_price.rbi +306 -0
  347. data/rbi/orb/models/new_floating_package_with_allocation_price.rbi +338 -0
  348. data/rbi/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbi +350 -0
  349. data/rbi/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbi +349 -0
  350. data/rbi/orb/models/new_floating_threshold_total_amount_price.rbi +337 -0
  351. data/rbi/orb/models/new_floating_tiered_bps_price.rbi +317 -0
  352. data/rbi/orb/models/new_floating_tiered_package_price.rbi +325 -0
  353. data/rbi/orb/models/new_floating_tiered_package_with_minimum_price.rbi +348 -0
  354. data/rbi/orb/models/new_floating_tiered_price.rbi +304 -0
  355. data/rbi/orb/models/new_floating_tiered_with_minimum_price.rbi +331 -0
  356. data/rbi/orb/models/new_floating_tiered_with_proration_price.rbi +337 -0
  357. data/rbi/orb/models/new_floating_unit_price.rbi +298 -0
  358. data/rbi/orb/models/new_floating_unit_with_percent_price.rbi +328 -0
  359. data/rbi/orb/models/new_floating_unit_with_proration_price.rbi +331 -0
  360. data/rbi/orb/models/new_maximum.rbi +160 -0
  361. data/rbi/orb/models/new_minimum.rbi +168 -0
  362. data/rbi/orb/models/new_percentage_discount.rbi +193 -0
  363. data/rbi/orb/models/new_plan_bps_price.rbi +294 -0
  364. data/rbi/orb/models/new_plan_bulk_bps_price.rbi +297 -0
  365. data/rbi/orb/models/new_plan_bulk_price.rbi +295 -0
  366. data/rbi/orb/models/new_plan_bulk_with_proration_price.rbi +327 -0
  367. data/rbi/orb/models/new_plan_cumulative_grouped_bulk_price.rbi +333 -0
  368. data/rbi/orb/models/new_plan_grouped_allocation_price.rbi +327 -0
  369. data/rbi/orb/models/new_plan_grouped_tiered_package_price.rbi +333 -0
  370. data/rbi/orb/models/new_plan_grouped_tiered_price.rbi +316 -0
  371. data/rbi/orb/models/new_plan_grouped_with_metered_minimum_price.rbi +340 -0
  372. data/rbi/orb/models/new_plan_grouped_with_prorated_minimum_price.rbi +345 -0
  373. data/rbi/orb/models/new_plan_matrix_price.rbi +297 -0
  374. data/rbi/orb/models/new_plan_matrix_with_allocation_price.rbi +341 -0
  375. data/rbi/orb/models/new_plan_matrix_with_display_name_price.rbi +333 -0
  376. data/rbi/orb/models/new_plan_max_group_tiered_package_price.rbi +333 -0
  377. data/rbi/orb/models/new_plan_package_price.rbi +297 -0
  378. data/rbi/orb/models/new_plan_package_with_allocation_price.rbi +333 -0
  379. data/rbi/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbi +352 -0
  380. data/rbi/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbi +351 -0
  381. data/rbi/orb/models/new_plan_threshold_total_amount_price.rbi +333 -0
  382. data/rbi/orb/models/new_plan_tier_with_proration_price.rbi +327 -0
  383. data/rbi/orb/models/new_plan_tiered_bps_price.rbi +304 -0
  384. data/rbi/orb/models/new_plan_tiered_package_price.rbi +316 -0
  385. data/rbi/orb/models/new_plan_tiered_package_with_minimum_price.rbi +339 -0
  386. data/rbi/orb/models/new_plan_tiered_price.rbi +297 -0
  387. data/rbi/orb/models/new_plan_tiered_with_minimum_price.rbi +327 -0
  388. data/rbi/orb/models/new_plan_unit_price.rbi +295 -0
  389. data/rbi/orb/models/new_plan_unit_with_percent_price.rbi +325 -0
  390. data/rbi/orb/models/new_plan_unit_with_proration_price.rbi +327 -0
  391. data/rbi/orb/models/new_reporting_configuration.rbi +23 -0
  392. data/rbi/orb/models/new_sphere_configuration.rbi +59 -0
  393. data/rbi/orb/models/new_subscription_bps_price.rbi +317 -0
  394. data/rbi/orb/models/new_subscription_bulk_bps_price.rbi +338 -0
  395. data/rbi/orb/models/new_subscription_bulk_price.rbi +321 -0
  396. data/rbi/orb/models/new_subscription_bulk_with_proration_price.rbi +350 -0
  397. data/rbi/orb/models/new_subscription_cumulative_grouped_bulk_price.rbi +360 -0
  398. data/rbi/orb/models/new_subscription_grouped_allocation_price.rbi +350 -0
  399. data/rbi/orb/models/new_subscription_grouped_tiered_package_price.rbi +360 -0
  400. data/rbi/orb/models/new_subscription_grouped_tiered_price.rbi +343 -0
  401. data/rbi/orb/models/new_subscription_grouped_with_metered_minimum_price.rbi +360 -0
  402. data/rbi/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbi +360 -0
  403. data/rbi/orb/models/new_subscription_matrix_price.rbi +332 -0
  404. data/rbi/orb/models/new_subscription_matrix_with_allocation_price.rbi +368 -0
  405. data/rbi/orb/models/new_subscription_matrix_with_display_name_price.rbi +360 -0
  406. data/rbi/orb/models/new_subscription_max_group_tiered_package_price.rbi +360 -0
  407. data/rbi/orb/models/new_subscription_package_price.rbi +338 -0
  408. data/rbi/orb/models/new_subscription_package_with_allocation_price.rbi +360 -0
  409. data/rbi/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbi +362 -0
  410. data/rbi/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbi +361 -0
  411. data/rbi/orb/models/new_subscription_threshold_total_amount_price.rbi +360 -0
  412. data/rbi/orb/models/new_subscription_tier_with_proration_price.rbi +350 -0
  413. data/rbi/orb/models/new_subscription_tiered_bps_price.rbi +340 -0
  414. data/rbi/orb/models/new_subscription_tiered_package_price.rbi +343 -0
  415. data/rbi/orb/models/new_subscription_tiered_package_with_minimum_price.rbi +360 -0
  416. data/rbi/orb/models/new_subscription_tiered_price.rbi +332 -0
  417. data/rbi/orb/models/new_subscription_tiered_with_minimum_price.rbi +350 -0
  418. data/rbi/orb/models/new_subscription_unit_price.rbi +321 -0
  419. data/rbi/orb/models/new_subscription_unit_with_percent_price.rbi +349 -0
  420. data/rbi/orb/models/new_subscription_unit_with_proration_price.rbi +350 -0
  421. data/rbi/orb/models/new_tax_jar_configuration.rbi +59 -0
  422. data/rbi/orb/models/new_usage_discount.rbi +177 -0
  423. data/rbi/orb/models/other_sub_line_item.rbi +78 -0
  424. data/rbi/orb/models/package_config.rbi +39 -0
  425. data/rbi/orb/models/per_price_cost.rbi +96 -0
  426. data/rbi/orb/models/percentage_discount.rbi +3 -126
  427. data/rbi/orb/models/percentage_discount_interval.rbi +107 -0
  428. data/rbi/orb/models/plan.rbi +29 -1937
  429. data/rbi/orb/models/plan_create_params.rbi +112 -15428
  430. data/rbi/orb/models/plan_phase_amount_discount_adjustment.rbi +128 -0
  431. data/rbi/orb/models/plan_phase_maximum_adjustment.rbi +123 -0
  432. data/rbi/orb/models/plan_phase_minimum_adjustment.rbi +131 -0
  433. data/rbi/orb/models/plan_phase_percentage_discount_adjustment.rbi +131 -0
  434. data/rbi/orb/models/plan_phase_usage_discount_adjustment.rbi +125 -0
  435. data/rbi/orb/models/plan_version.rbi +13 -1252
  436. data/rbi/orb/models/price.rbi +3518 -26097
  437. data/rbi/orb/models/price_create_params.rbi +81 -937
  438. data/rbi/orb/models/price_evaluate_multiple_params.rbi +112 -15566
  439. data/rbi/orb/models/price_evaluate_preview_events_params.rbi +411 -0
  440. data/rbi/orb/models/price_evaluate_preview_events_response.rbi +101 -0
  441. data/rbi/orb/models/price_interval.rbi +174 -0
  442. data/rbi/orb/models/sub_line_item_grouping.rbi +31 -0
  443. data/rbi/orb/models/sub_line_item_matrix_config.rbi +33 -0
  444. data/rbi/orb/models/subscription.rbi +51 -2939
  445. data/rbi/orb/models/subscription_change_apply_response.rbi +4 -3580
  446. data/rbi/orb/models/subscription_change_cancel_response.rbi +4 -3580
  447. data/rbi/orb/models/subscription_change_minified.rbi +23 -0
  448. data/rbi/orb/models/subscription_change_retrieve_response.rbi +4 -3582
  449. data/rbi/orb/models/subscription_create_params.rbi +686 -36613
  450. data/rbi/orb/models/subscription_fetch_costs_response.rbi +5 -182
  451. data/rbi/orb/models/subscription_minified.rbi +23 -0
  452. data/rbi/orb/models/subscription_price_intervals_params.rbi +224 -17694
  453. data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +696 -36631
  454. data/rbi/orb/models/subscription_trial_info.rbi +23 -0
  455. data/rbi/orb/models/tax_amount.rbi +50 -0
  456. data/rbi/orb/models/threshold.rbi +30 -0
  457. data/rbi/orb/models/tier.rbi +50 -0
  458. data/rbi/orb/models/tier_config.rbi +40 -0
  459. data/rbi/orb/models/tier_sub_line_item.rbi +87 -0
  460. data/rbi/orb/models/tiered_bps_config.rbi +29 -0
  461. data/rbi/orb/models/tiered_config.rbi +26 -0
  462. data/rbi/orb/models/tiered_conversion_rate_config.rbi +73 -0
  463. data/rbi/orb/models/transform_price_filter.rbi +106 -0
  464. data/rbi/orb/models/trial_discount.rbi +3 -104
  465. data/rbi/orb/models/unit_config.rbi +24 -0
  466. data/rbi/orb/models/unit_conversion_rate_config.rbi +71 -0
  467. data/rbi/orb/models/usage_discount.rbi +3 -104
  468. data/rbi/orb/models/usage_discount_interval.rbi +99 -0
  469. data/rbi/orb/models.rbi +398 -0
  470. data/rbi/orb/resources/alerts.rbi +4 -13
  471. data/rbi/orb/resources/customers.rbi +27 -51
  472. data/rbi/orb/resources/plans.rbi +28 -28
  473. data/rbi/orb/resources/prices.rbi +82 -36
  474. data/rbi/orb/resources/subscriptions.rbi +13 -19
  475. data/sig/orb/models/accounting_provider_config.rbs +19 -0
  476. data/sig/orb/models/address.rbs +45 -0
  477. data/sig/orb/models/address_input.rbs +45 -0
  478. data/sig/orb/models/adjustment_interval.rbs +53 -0
  479. data/sig/orb/models/aggregated_cost.rbs +40 -0
  480. data/sig/orb/models/alert.rbs +12 -44
  481. data/sig/orb/models/alert_create_for_customer_params.rbs +4 -14
  482. data/sig/orb/models/alert_create_for_external_customer_params.rbs +4 -14
  483. data/sig/orb/models/alert_create_for_subscription_params.rbs +4 -14
  484. data/sig/orb/models/alert_update_params.rbs +4 -14
  485. data/sig/orb/models/allocation.rbs +30 -0
  486. data/sig/orb/models/amount_discount.rbs +4 -57
  487. data/sig/orb/models/amount_discount_interval.rbs +55 -0
  488. data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +149 -13933
  489. data/sig/orb/models/beta_create_plan_version_params.rbs +146 -13914
  490. data/sig/orb/models/billable_metric_tiny.rbs +13 -0
  491. data/sig/orb/models/billing_cycle_anchor_configuration.rbs +18 -0
  492. data/sig/orb/models/billing_cycle_configuration.rbs +36 -0
  493. data/sig/orb/models/bps_config.rbs +15 -0
  494. data/sig/orb/models/bps_tier.rbs +35 -0
  495. data/sig/orb/models/bulk_bps_config.rbs +13 -0
  496. data/sig/orb/models/bulk_bps_tier.rbs +26 -0
  497. data/sig/orb/models/bulk_config.rbs +13 -0
  498. data/sig/orb/models/bulk_tier.rbs +15 -0
  499. data/sig/orb/models/changed_subscription_resources.rbs +35 -0
  500. data/sig/orb/models/conversion_rate_tier.rbs +26 -0
  501. data/sig/orb/models/conversion_rate_tiered_config.rbs +14 -0
  502. data/sig/orb/models/conversion_rate_unit_config.rbs +13 -0
  503. data/sig/orb/models/coupon_redemption.rbs +22 -0
  504. data/sig/orb/models/credit_note.rbs +8 -47
  505. data/sig/orb/models/credit_note_tiny.rbs +13 -0
  506. data/sig/orb/models/custom_expiration.rbs +36 -0
  507. data/sig/orb/models/customer.rbs +20 -471
  508. data/sig/orb/models/customer_create_params.rbs +27 -577
  509. data/sig/orb/models/customer_hierarchy_config.rbs +24 -0
  510. data/sig/orb/models/customer_minified.rbs +15 -0
  511. data/sig/orb/models/customer_tax_id.rbs +346 -0
  512. data/sig/orb/models/customer_update_by_external_id_params.rbs +27 -577
  513. data/sig/orb/models/customer_update_params.rbs +27 -577
  514. data/sig/orb/models/customers/balance_transaction_create_response.rbs +8 -28
  515. data/sig/orb/models/customers/balance_transaction_list_response.rbs +8 -28
  516. data/sig/orb/models/customers/cost_list_by_external_id_response.rbs +4 -84
  517. data/sig/orb/models/customers/cost_list_response.rbs +4 -83
  518. data/sig/orb/models/customers/credits/affected_block.rbs +30 -0
  519. data/sig/orb/models/customers/credits/amendment_ledger_entry.rbs +105 -0
  520. data/sig/orb/models/customers/credits/credit_block_expiry_ledger_entry.rbs +107 -0
  521. data/sig/orb/models/customers/credits/decrement_ledger_entry.rbs +120 -0
  522. data/sig/orb/models/customers/credits/expiration_change_ledger_entry.rbs +110 -0
  523. data/sig/orb/models/customers/credits/increment_ledger_entry.rbs +110 -0
  524. data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbs +7 -939
  525. data/sig/orb/models/customers/credits/ledger_create_entry_response.rbs +7 -939
  526. data/sig/orb/models/customers/credits/ledger_list_by_external_id_response.rbs +7 -939
  527. data/sig/orb/models/customers/credits/ledger_list_response.rbs +7 -939
  528. data/sig/orb/models/customers/credits/top_up_create_by_external_id_response.rbs +4 -38
  529. data/sig/orb/models/customers/credits/top_up_create_response.rbs +4 -38
  530. data/sig/orb/models/customers/credits/top_up_invoice_settings.rbs +41 -0
  531. data/sig/orb/models/customers/credits/top_up_list_by_external_id_response.rbs +4 -38
  532. data/sig/orb/models/customers/credits/top_up_list_response.rbs +4 -38
  533. data/sig/orb/models/customers/credits/void_initiated_ledger_entry.rbs +120 -0
  534. data/sig/orb/models/customers/credits/void_ledger_entry.rbs +115 -0
  535. data/sig/orb/models/dimensional_price_configuration.rbs +22 -0
  536. data/sig/orb/models/discount_override.rbs +47 -0
  537. data/sig/orb/models/fixed_fee_quantity_schedule_entry.rbs +30 -0
  538. data/sig/orb/models/fixed_fee_quantity_transition.rbs +26 -0
  539. data/sig/orb/models/invoice.rbs +54 -1612
  540. data/sig/orb/models/invoice_create_params.rbs +4 -14
  541. data/sig/orb/models/invoice_fetch_upcoming_response.rbs +54 -1612
  542. data/sig/orb/models/invoice_line_item_create_response.rbs +18 -927
  543. data/sig/orb/models/invoice_tiny.rbs +13 -0
  544. data/sig/orb/models/item_slim.rbs +15 -0
  545. data/sig/orb/models/matrix_config.rbs +30 -0
  546. data/sig/orb/models/matrix_sub_line_item.rbs +55 -0
  547. data/sig/orb/models/matrix_value.rbs +22 -0
  548. data/sig/orb/models/matrix_with_allocation_config.rbs +35 -0
  549. data/sig/orb/models/maximum.rbs +30 -0
  550. data/sig/orb/models/maximum_interval.rbs +40 -0
  551. data/sig/orb/models/minimum.rbs +30 -0
  552. data/sig/orb/models/minimum_interval.rbs +40 -0
  553. data/sig/orb/models/monetary_amount_discount_adjustment.rbs +65 -0
  554. data/sig/orb/models/monetary_maximum_adjustment.rbs +65 -0
  555. data/sig/orb/models/monetary_minimum_adjustment.rbs +70 -0
  556. data/sig/orb/models/monetary_percentage_discount_adjustment.rbs +65 -0
  557. data/sig/orb/models/monetary_usage_discount_adjustment.rbs +65 -0
  558. data/sig/orb/models/mutated_subscription.rbs +178 -0
  559. data/sig/orb/models/new_accounting_sync_configuration.rbs +25 -0
  560. data/sig/orb/models/new_allocation_price.rbs +56 -0
  561. data/sig/orb/models/new_amount_discount.rbs +97 -0
  562. data/sig/orb/models/new_avalara_tax_configuration.rbs +40 -0
  563. data/sig/orb/models/new_billing_cycle_configuration.rbs +36 -0
  564. data/sig/orb/models/new_dimensional_price_configuration.rbs +30 -0
  565. data/sig/orb/models/new_floating_bps_price.rbs +135 -0
  566. data/sig/orb/models/new_floating_bulk_bps_price.rbs +135 -0
  567. data/sig/orb/models/new_floating_bulk_price.rbs +135 -0
  568. data/sig/orb/models/new_floating_bulk_with_proration_price.rbs +135 -0
  569. data/sig/orb/models/new_floating_cumulative_grouped_bulk_price.rbs +135 -0
  570. data/sig/orb/models/new_floating_grouped_allocation_price.rbs +135 -0
  571. data/sig/orb/models/new_floating_grouped_tiered_package_price.rbs +135 -0
  572. data/sig/orb/models/new_floating_grouped_tiered_price.rbs +135 -0
  573. data/sig/orb/models/new_floating_grouped_with_metered_minimum_price.rbs +135 -0
  574. data/sig/orb/models/new_floating_grouped_with_prorated_minimum_price.rbs +135 -0
  575. data/sig/orb/models/new_floating_matrix_price.rbs +135 -0
  576. data/sig/orb/models/new_floating_matrix_with_allocation_price.rbs +135 -0
  577. data/sig/orb/models/new_floating_matrix_with_display_name_price.rbs +135 -0
  578. data/sig/orb/models/new_floating_max_group_tiered_package_price.rbs +135 -0
  579. data/sig/orb/models/new_floating_package_price.rbs +135 -0
  580. data/sig/orb/models/new_floating_package_with_allocation_price.rbs +135 -0
  581. data/sig/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbs +135 -0
  582. data/sig/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbs +135 -0
  583. data/sig/orb/models/new_floating_threshold_total_amount_price.rbs +135 -0
  584. data/sig/orb/models/new_floating_tiered_bps_price.rbs +135 -0
  585. data/sig/orb/models/new_floating_tiered_package_price.rbs +135 -0
  586. data/sig/orb/models/new_floating_tiered_package_with_minimum_price.rbs +135 -0
  587. data/sig/orb/models/new_floating_tiered_price.rbs +135 -0
  588. data/sig/orb/models/new_floating_tiered_with_minimum_price.rbs +135 -0
  589. data/sig/orb/models/new_floating_tiered_with_proration_price.rbs +135 -0
  590. data/sig/orb/models/new_floating_unit_price.rbs +135 -0
  591. data/sig/orb/models/new_floating_unit_with_percent_price.rbs +135 -0
  592. data/sig/orb/models/new_floating_unit_with_proration_price.rbs +135 -0
  593. data/sig/orb/models/new_maximum.rbs +97 -0
  594. data/sig/orb/models/new_minimum.rbs +102 -0
  595. data/sig/orb/models/new_percentage_discount.rbs +97 -0
  596. data/sig/orb/models/new_plan_bps_price.rbs +135 -0
  597. data/sig/orb/models/new_plan_bulk_bps_price.rbs +135 -0
  598. data/sig/orb/models/new_plan_bulk_price.rbs +135 -0
  599. data/sig/orb/models/new_plan_bulk_with_proration_price.rbs +135 -0
  600. data/sig/orb/models/new_plan_cumulative_grouped_bulk_price.rbs +135 -0
  601. data/sig/orb/models/new_plan_grouped_allocation_price.rbs +135 -0
  602. data/sig/orb/models/new_plan_grouped_tiered_package_price.rbs +135 -0
  603. data/sig/orb/models/new_plan_grouped_tiered_price.rbs +135 -0
  604. data/sig/orb/models/new_plan_grouped_with_metered_minimum_price.rbs +135 -0
  605. data/sig/orb/models/new_plan_grouped_with_prorated_minimum_price.rbs +135 -0
  606. data/sig/orb/models/new_plan_matrix_price.rbs +135 -0
  607. data/sig/orb/models/new_plan_matrix_with_allocation_price.rbs +135 -0
  608. data/sig/orb/models/new_plan_matrix_with_display_name_price.rbs +135 -0
  609. data/sig/orb/models/new_plan_max_group_tiered_package_price.rbs +135 -0
  610. data/sig/orb/models/new_plan_package_price.rbs +135 -0
  611. data/sig/orb/models/new_plan_package_with_allocation_price.rbs +135 -0
  612. data/sig/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbs +135 -0
  613. data/sig/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbs +135 -0
  614. data/sig/orb/models/new_plan_threshold_total_amount_price.rbs +135 -0
  615. data/sig/orb/models/new_plan_tier_with_proration_price.rbs +135 -0
  616. data/sig/orb/models/new_plan_tiered_bps_price.rbs +135 -0
  617. data/sig/orb/models/new_plan_tiered_package_price.rbs +135 -0
  618. data/sig/orb/models/new_plan_tiered_package_with_minimum_price.rbs +135 -0
  619. data/sig/orb/models/new_plan_tiered_price.rbs +135 -0
  620. data/sig/orb/models/new_plan_tiered_with_minimum_price.rbs +135 -0
  621. data/sig/orb/models/new_plan_unit_price.rbs +135 -0
  622. data/sig/orb/models/new_plan_unit_with_percent_price.rbs +135 -0
  623. data/sig/orb/models/new_plan_unit_with_proration_price.rbs +135 -0
  624. data/sig/orb/models/new_reporting_configuration.rbs +13 -0
  625. data/sig/orb/models/new_sphere_configuration.rbs +35 -0
  626. data/sig/orb/models/new_subscription_bps_price.rbs +140 -0
  627. data/sig/orb/models/new_subscription_bulk_bps_price.rbs +140 -0
  628. data/sig/orb/models/new_subscription_bulk_price.rbs +140 -0
  629. data/sig/orb/models/new_subscription_bulk_with_proration_price.rbs +140 -0
  630. data/sig/orb/models/new_subscription_cumulative_grouped_bulk_price.rbs +140 -0
  631. data/sig/orb/models/new_subscription_grouped_allocation_price.rbs +140 -0
  632. data/sig/orb/models/new_subscription_grouped_tiered_package_price.rbs +140 -0
  633. data/sig/orb/models/new_subscription_grouped_tiered_price.rbs +140 -0
  634. data/sig/orb/models/new_subscription_grouped_with_metered_minimum_price.rbs +140 -0
  635. data/sig/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbs +140 -0
  636. data/sig/orb/models/new_subscription_matrix_price.rbs +140 -0
  637. data/sig/orb/models/new_subscription_matrix_with_allocation_price.rbs +140 -0
  638. data/sig/orb/models/new_subscription_matrix_with_display_name_price.rbs +140 -0
  639. data/sig/orb/models/new_subscription_max_group_tiered_package_price.rbs +140 -0
  640. data/sig/orb/models/new_subscription_package_price.rbs +140 -0
  641. data/sig/orb/models/new_subscription_package_with_allocation_price.rbs +140 -0
  642. data/sig/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbs +140 -0
  643. data/sig/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbs +140 -0
  644. data/sig/orb/models/new_subscription_threshold_total_amount_price.rbs +140 -0
  645. data/sig/orb/models/new_subscription_tier_with_proration_price.rbs +140 -0
  646. data/sig/orb/models/new_subscription_tiered_bps_price.rbs +140 -0
  647. data/sig/orb/models/new_subscription_tiered_package_price.rbs +140 -0
  648. data/sig/orb/models/new_subscription_tiered_package_with_minimum_price.rbs +140 -0
  649. data/sig/orb/models/new_subscription_tiered_price.rbs +140 -0
  650. data/sig/orb/models/new_subscription_tiered_with_minimum_price.rbs +140 -0
  651. data/sig/orb/models/new_subscription_unit_price.rbs +140 -0
  652. data/sig/orb/models/new_subscription_unit_with_percent_price.rbs +140 -0
  653. data/sig/orb/models/new_subscription_unit_with_proration_price.rbs +140 -0
  654. data/sig/orb/models/new_tax_jar_configuration.rbs +35 -0
  655. data/sig/orb/models/new_usage_discount.rbs +97 -0
  656. data/sig/orb/models/other_sub_line_item.rbs +50 -0
  657. data/sig/orb/models/package_config.rbs +15 -0
  658. data/sig/orb/models/per_price_cost.rbs +40 -0
  659. data/sig/orb/models/percentage_discount.rbs +4 -57
  660. data/sig/orb/models/percentage_discount_interval.rbs +55 -0
  661. data/sig/orb/models/plan.rbs +21 -871
  662. data/sig/orb/models/plan_create_params.rbs +28 -5952
  663. data/sig/orb/models/plan_phase_amount_discount_adjustment.rbs +65 -0
  664. data/sig/orb/models/plan_phase_maximum_adjustment.rbs +65 -0
  665. data/sig/orb/models/plan_phase_minimum_adjustment.rbs +70 -0
  666. data/sig/orb/models/plan_phase_percentage_discount_adjustment.rbs +65 -0
  667. data/sig/orb/models/plan_phase_usage_discount_adjustment.rbs +65 -0
  668. data/sig/orb/models/plan_version.rbs +5 -535
  669. data/sig/orb/models/price.rbs +2164 -11297
  670. data/sig/orb/models/price_create_params.rbs +58 -418
  671. data/sig/orb/models/price_evaluate_multiple_params.rbs +28 -6138
  672. data/sig/orb/models/price_evaluate_preview_events_params.rbs +166 -0
  673. data/sig/orb/models/price_evaluate_preview_events_response.rbs +50 -0
  674. data/sig/orb/models/price_interval.rbs +65 -0
  675. data/sig/orb/models/sub_line_item_grouping.rbs +15 -0
  676. data/sig/orb/models/sub_line_item_matrix_config.rbs +13 -0
  677. data/sig/orb/models/subscription.rbs +39 -1274
  678. data/sig/orb/models/subscription_change_apply_response.rbs +4 -1467
  679. data/sig/orb/models/subscription_change_cancel_response.rbs +4 -1467
  680. data/sig/orb/models/subscription_change_minified.rbs +13 -0
  681. data/sig/orb/models/subscription_change_retrieve_response.rbs +4 -1467
  682. data/sig/orb/models/subscription_create_params.rbs +176 -14331
  683. data/sig/orb/models/subscription_fetch_costs_response.rbs +4 -82
  684. data/sig/orb/models/subscription_minified.rbs +13 -0
  685. data/sig/orb/models/subscription_price_intervals_params.rbs +61 -6945
  686. data/sig/orb/models/subscription_schedule_plan_change_params.rbs +178 -14333
  687. data/sig/orb/models/subscription_trial_info.rbs +13 -0
  688. data/sig/orb/models/tax_amount.rbs +30 -0
  689. data/sig/orb/models/threshold.rbs +13 -0
  690. data/sig/orb/models/tier.rbs +25 -0
  691. data/sig/orb/models/tier_config.rbs +26 -0
  692. data/sig/orb/models/tier_sub_line_item.rbs +55 -0
  693. data/sig/orb/models/tiered_bps_config.rbs +13 -0
  694. data/sig/orb/models/tiered_config.rbs +13 -0
  695. data/sig/orb/models/tiered_conversion_rate_config.rbs +35 -0
  696. data/sig/orb/models/transform_price_filter.rbs +56 -0
  697. data/sig/orb/models/trial_discount.rbs +4 -57
  698. data/sig/orb/models/unit_config.rbs +13 -0
  699. data/sig/orb/models/unit_conversion_rate_config.rbs +35 -0
  700. data/sig/orb/models/usage_discount.rbs +4 -57
  701. data/sig/orb/models/usage_discount_interval.rbs +55 -0
  702. data/sig/orb/models.rbs +342 -0
  703. data/sig/orb/resources/alerts.rbs +4 -4
  704. data/sig/orb/resources/customers.rbs +18 -18
  705. data/sig/orb/resources/prices.rbs +23 -13
  706. data/sig/orb/resources/subscriptions.rbs +13 -13
  707. metadata +545 -35
  708. data/lib/orb/models/subscription_cancel_response.rb +0 -1873
  709. data/lib/orb/models/subscription_create_response.rb +0 -1873
  710. data/lib/orb/models/subscription_price_intervals_response.rb +0 -1888
  711. data/lib/orb/models/subscription_redeem_coupon_response.rb +0 -1883
  712. data/lib/orb/models/subscription_schedule_plan_change_response.rb +0 -1893
  713. data/lib/orb/models/subscription_trigger_phase_response.rb +0 -1883
  714. data/lib/orb/models/subscription_unschedule_cancellation_response.rb +0 -1897
  715. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +0 -1912
  716. data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +0 -1908
  717. data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +0 -1897
  718. data/lib/orb/models/subscription_update_trial_response.rb +0 -1879
  719. data/rbi/orb/models/subscription_cancel_response.rbi +0 -3537
  720. data/rbi/orb/models/subscription_create_response.rbi +0 -3537
  721. data/rbi/orb/models/subscription_price_intervals_response.rbi +0 -3564
  722. data/rbi/orb/models/subscription_redeem_coupon_response.rbi +0 -3557
  723. data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +0 -3564
  724. data/rbi/orb/models/subscription_trigger_phase_response.rbi +0 -3557
  725. data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +0 -3566
  726. data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +0 -3566
  727. data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +0 -3566
  728. data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +0 -3566
  729. data/rbi/orb/models/subscription_update_trial_response.rbi +0 -3556
  730. data/sig/orb/models/subscription_cancel_response.rbs +0 -1445
  731. data/sig/orb/models/subscription_create_response.rbs +0 -1445
  732. data/sig/orb/models/subscription_price_intervals_response.rbs +0 -1445
  733. data/sig/orb/models/subscription_redeem_coupon_response.rbs +0 -1445
  734. data/sig/orb/models/subscription_schedule_plan_change_response.rbs +0 -1445
  735. data/sig/orb/models/subscription_trigger_phase_response.rbs +0 -1445
  736. data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +0 -1445
  737. data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +0 -1445
  738. data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +0 -1445
  739. data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +0 -1445
  740. data/sig/orb/models/subscription_update_trial_response.rbs +0 -1445
@@ -1,1445 +0,0 @@
1
- module Orb
2
- module Models
3
- type subscription_price_intervals_response =
4
- {
5
- id: String,
6
- active_plan_phase_order: Integer?,
7
- adjustment_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval],
8
- auto_collection: bool?,
9
- billing_cycle_anchor_configuration: Orb::Models::SubscriptionPriceIntervalsResponse::BillingCycleAnchorConfiguration,
10
- billing_cycle_day: Integer,
11
- created_at: Time,
12
- current_billing_period_end_date: Time?,
13
- current_billing_period_start_date: Time?,
14
- customer: Orb::Customer,
15
- default_invoice_memo: String?,
16
- discount_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::discount_interval],
17
- end_date: Time?,
18
- fixed_fee_quantity_schedule: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::FixedFeeQuantitySchedule],
19
- invoicing_threshold: String?,
20
- maximum_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval],
21
- metadata: ::Hash[Symbol, String],
22
- minimum_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval],
23
- name: String,
24
- net_terms: Integer,
25
- pending_subscription_change: Orb::Models::SubscriptionPriceIntervalsResponse::PendingSubscriptionChange?,
26
- plan: Orb::Plan?,
27
- price_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::PriceInterval],
28
- redeemed_coupon: Orb::Models::SubscriptionPriceIntervalsResponse::RedeemedCoupon?,
29
- start_date: Time,
30
- status: Orb::Models::SubscriptionPriceIntervalsResponse::status,
31
- trial_info: Orb::Models::SubscriptionPriceIntervalsResponse::TrialInfo,
32
- changed_resources: Orb::Models::SubscriptionPriceIntervalsResponse::ChangedResources?
33
- }
34
-
35
- class SubscriptionPriceIntervalsResponse < Orb::Internal::Type::BaseModel
36
- attr_accessor id: String
37
-
38
- attr_accessor active_plan_phase_order: Integer?
39
-
40
- attr_accessor adjustment_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval]
41
-
42
- attr_accessor auto_collection: bool?
43
-
44
- attr_accessor billing_cycle_anchor_configuration: Orb::Models::SubscriptionPriceIntervalsResponse::BillingCycleAnchorConfiguration
45
-
46
- attr_accessor billing_cycle_day: Integer
47
-
48
- attr_accessor created_at: Time
49
-
50
- attr_accessor current_billing_period_end_date: Time?
51
-
52
- attr_accessor current_billing_period_start_date: Time?
53
-
54
- attr_accessor customer: Orb::Customer
55
-
56
- attr_accessor default_invoice_memo: String?
57
-
58
- attr_accessor discount_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::discount_interval]
59
-
60
- attr_accessor end_date: Time?
61
-
62
- attr_accessor fixed_fee_quantity_schedule: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::FixedFeeQuantitySchedule]
63
-
64
- attr_accessor invoicing_threshold: String?
65
-
66
- attr_accessor maximum_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval]
67
-
68
- attr_accessor metadata: ::Hash[Symbol, String]
69
-
70
- attr_accessor minimum_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval]
71
-
72
- attr_accessor name: String
73
-
74
- attr_accessor net_terms: Integer
75
-
76
- attr_accessor pending_subscription_change: Orb::Models::SubscriptionPriceIntervalsResponse::PendingSubscriptionChange?
77
-
78
- attr_accessor plan: Orb::Plan?
79
-
80
- attr_accessor price_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::PriceInterval]
81
-
82
- attr_accessor redeemed_coupon: Orb::Models::SubscriptionPriceIntervalsResponse::RedeemedCoupon?
83
-
84
- attr_accessor start_date: Time
85
-
86
- attr_accessor status: Orb::Models::SubscriptionPriceIntervalsResponse::status
87
-
88
- attr_accessor trial_info: Orb::Models::SubscriptionPriceIntervalsResponse::TrialInfo
89
-
90
- attr_accessor changed_resources: Orb::Models::SubscriptionPriceIntervalsResponse::ChangedResources?
91
-
92
- def initialize: (
93
- id: String,
94
- active_plan_phase_order: Integer?,
95
- adjustment_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval],
96
- auto_collection: bool?,
97
- billing_cycle_anchor_configuration: Orb::Models::SubscriptionPriceIntervalsResponse::BillingCycleAnchorConfiguration,
98
- billing_cycle_day: Integer,
99
- created_at: Time,
100
- current_billing_period_end_date: Time?,
101
- current_billing_period_start_date: Time?,
102
- customer: Orb::Customer,
103
- default_invoice_memo: String?,
104
- discount_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::discount_interval],
105
- end_date: Time?,
106
- fixed_fee_quantity_schedule: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::FixedFeeQuantitySchedule],
107
- invoicing_threshold: String?,
108
- maximum_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval],
109
- metadata: ::Hash[Symbol, String],
110
- minimum_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval],
111
- name: String,
112
- net_terms: Integer,
113
- pending_subscription_change: Orb::Models::SubscriptionPriceIntervalsResponse::PendingSubscriptionChange?,
114
- plan: Orb::Plan?,
115
- price_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::PriceInterval],
116
- redeemed_coupon: Orb::Models::SubscriptionPriceIntervalsResponse::RedeemedCoupon?,
117
- start_date: Time,
118
- status: Orb::Models::SubscriptionPriceIntervalsResponse::status,
119
- trial_info: Orb::Models::SubscriptionPriceIntervalsResponse::TrialInfo,
120
- ?changed_resources: Orb::Models::SubscriptionPriceIntervalsResponse::ChangedResources?
121
- ) -> void
122
-
123
- def to_hash: -> {
124
- id: String,
125
- active_plan_phase_order: Integer?,
126
- adjustment_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval],
127
- auto_collection: bool?,
128
- billing_cycle_anchor_configuration: Orb::Models::SubscriptionPriceIntervalsResponse::BillingCycleAnchorConfiguration,
129
- billing_cycle_day: Integer,
130
- created_at: Time,
131
- current_billing_period_end_date: Time?,
132
- current_billing_period_start_date: Time?,
133
- customer: Orb::Customer,
134
- default_invoice_memo: String?,
135
- discount_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::discount_interval],
136
- end_date: Time?,
137
- fixed_fee_quantity_schedule: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::FixedFeeQuantitySchedule],
138
- invoicing_threshold: String?,
139
- maximum_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval],
140
- metadata: ::Hash[Symbol, String],
141
- minimum_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval],
142
- name: String,
143
- net_terms: Integer,
144
- pending_subscription_change: Orb::Models::SubscriptionPriceIntervalsResponse::PendingSubscriptionChange?,
145
- plan: Orb::Plan?,
146
- price_intervals: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::PriceInterval],
147
- redeemed_coupon: Orb::Models::SubscriptionPriceIntervalsResponse::RedeemedCoupon?,
148
- start_date: Time,
149
- status: Orb::Models::SubscriptionPriceIntervalsResponse::status,
150
- trial_info: Orb::Models::SubscriptionPriceIntervalsResponse::TrialInfo,
151
- changed_resources: Orb::Models::SubscriptionPriceIntervalsResponse::ChangedResources?
152
- }
153
-
154
- type adjustment_interval =
155
- {
156
- id: String,
157
- adjustment: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::adjustment,
158
- applies_to_price_interval_ids: ::Array[String],
159
- end_date: Time?,
160
- start_date: Time
161
- }
162
-
163
- class AdjustmentInterval < Orb::Internal::Type::BaseModel
164
- attr_accessor id: String
165
-
166
- attr_accessor adjustment: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::adjustment
167
-
168
- attr_accessor applies_to_price_interval_ids: ::Array[String]
169
-
170
- attr_accessor end_date: Time?
171
-
172
- attr_accessor start_date: Time
173
-
174
- def initialize: (
175
- id: String,
176
- adjustment: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::adjustment,
177
- applies_to_price_interval_ids: ::Array[String],
178
- end_date: Time?,
179
- start_date: Time
180
- ) -> void
181
-
182
- def to_hash: -> {
183
- id: String,
184
- adjustment: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::adjustment,
185
- applies_to_price_interval_ids: ::Array[String],
186
- end_date: Time?,
187
- start_date: Time
188
- }
189
-
190
- type adjustment =
191
- Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount
192
- | Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount
193
- | Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount
194
- | Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum
195
- | Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum
196
-
197
- module Adjustment
198
- extend Orb::Internal::Type::Union
199
-
200
- type usage_discount =
201
- {
202
- id: String,
203
- adjustment_type: :usage_discount,
204
- applies_to_price_ids: ::Array[String],
205
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter],
206
- is_invoice_level: bool,
207
- plan_phase_order: Integer?,
208
- reason: String?,
209
- usage_discount: Float
210
- }
211
-
212
- class UsageDiscount < Orb::Internal::Type::BaseModel
213
- attr_accessor id: String
214
-
215
- attr_accessor adjustment_type: :usage_discount
216
-
217
- attr_accessor applies_to_price_ids: ::Array[String]
218
-
219
- attr_accessor filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter]
220
-
221
- attr_accessor is_invoice_level: bool
222
-
223
- attr_accessor plan_phase_order: Integer?
224
-
225
- attr_accessor reason: String?
226
-
227
- attr_accessor usage_discount: Float
228
-
229
- def initialize: (
230
- id: String,
231
- applies_to_price_ids: ::Array[String],
232
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter],
233
- is_invoice_level: bool,
234
- plan_phase_order: Integer?,
235
- reason: String?,
236
- usage_discount: Float,
237
- ?adjustment_type: :usage_discount
238
- ) -> void
239
-
240
- def to_hash: -> {
241
- id: String,
242
- adjustment_type: :usage_discount,
243
- applies_to_price_ids: ::Array[String],
244
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter],
245
- is_invoice_level: bool,
246
- plan_phase_order: Integer?,
247
- reason: String?,
248
- usage_discount: Float
249
- }
250
-
251
- type filter =
252
- {
253
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::field,
254
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::operator,
255
- values: ::Array[String]
256
- }
257
-
258
- class Filter < Orb::Internal::Type::BaseModel
259
- attr_accessor field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::field
260
-
261
- attr_accessor operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::operator
262
-
263
- attr_accessor values: ::Array[String]
264
-
265
- def initialize: (
266
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::field,
267
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::operator,
268
- values: ::Array[String]
269
- ) -> void
270
-
271
- def to_hash: -> {
272
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::field,
273
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::operator,
274
- values: ::Array[String]
275
- }
276
-
277
- type field =
278
- :price_id
279
- | :item_id
280
- | :price_type
281
- | :currency
282
- | :pricing_unit_id
283
-
284
- module Field
285
- extend Orb::Internal::Type::Enum
286
-
287
- PRICE_ID: :price_id
288
- ITEM_ID: :item_id
289
- PRICE_TYPE: :price_type
290
- CURRENCY: :currency
291
- PRICING_UNIT_ID: :pricing_unit_id
292
-
293
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::field]
294
- end
295
-
296
- type operator = :includes | :excludes
297
-
298
- module Operator
299
- extend Orb::Internal::Type::Enum
300
-
301
- INCLUDES: :includes
302
- EXCLUDES: :excludes
303
-
304
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::operator]
305
- end
306
- end
307
- end
308
-
309
- type amount_discount =
310
- {
311
- id: String,
312
- adjustment_type: :amount_discount,
313
- amount_discount: String,
314
- applies_to_price_ids: ::Array[String],
315
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter],
316
- is_invoice_level: bool,
317
- plan_phase_order: Integer?,
318
- reason: String?
319
- }
320
-
321
- class AmountDiscount < Orb::Internal::Type::BaseModel
322
- attr_accessor id: String
323
-
324
- attr_accessor adjustment_type: :amount_discount
325
-
326
- attr_accessor amount_discount: String
327
-
328
- attr_accessor applies_to_price_ids: ::Array[String]
329
-
330
- attr_accessor filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter]
331
-
332
- attr_accessor is_invoice_level: bool
333
-
334
- attr_accessor plan_phase_order: Integer?
335
-
336
- attr_accessor reason: String?
337
-
338
- def initialize: (
339
- id: String,
340
- amount_discount: String,
341
- applies_to_price_ids: ::Array[String],
342
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter],
343
- is_invoice_level: bool,
344
- plan_phase_order: Integer?,
345
- reason: String?,
346
- ?adjustment_type: :amount_discount
347
- ) -> void
348
-
349
- def to_hash: -> {
350
- id: String,
351
- adjustment_type: :amount_discount,
352
- amount_discount: String,
353
- applies_to_price_ids: ::Array[String],
354
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter],
355
- is_invoice_level: bool,
356
- plan_phase_order: Integer?,
357
- reason: String?
358
- }
359
-
360
- type filter =
361
- {
362
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::field,
363
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::operator,
364
- values: ::Array[String]
365
- }
366
-
367
- class Filter < Orb::Internal::Type::BaseModel
368
- attr_accessor field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::field
369
-
370
- attr_accessor operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::operator
371
-
372
- attr_accessor values: ::Array[String]
373
-
374
- def initialize: (
375
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::field,
376
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::operator,
377
- values: ::Array[String]
378
- ) -> void
379
-
380
- def to_hash: -> {
381
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::field,
382
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::operator,
383
- values: ::Array[String]
384
- }
385
-
386
- type field =
387
- :price_id
388
- | :item_id
389
- | :price_type
390
- | :currency
391
- | :pricing_unit_id
392
-
393
- module Field
394
- extend Orb::Internal::Type::Enum
395
-
396
- PRICE_ID: :price_id
397
- ITEM_ID: :item_id
398
- PRICE_TYPE: :price_type
399
- CURRENCY: :currency
400
- PRICING_UNIT_ID: :pricing_unit_id
401
-
402
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::field]
403
- end
404
-
405
- type operator = :includes | :excludes
406
-
407
- module Operator
408
- extend Orb::Internal::Type::Enum
409
-
410
- INCLUDES: :includes
411
- EXCLUDES: :excludes
412
-
413
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::operator]
414
- end
415
- end
416
- end
417
-
418
- type percentage_discount =
419
- {
420
- id: String,
421
- adjustment_type: :percentage_discount,
422
- applies_to_price_ids: ::Array[String],
423
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter],
424
- is_invoice_level: bool,
425
- percentage_discount: Float,
426
- plan_phase_order: Integer?,
427
- reason: String?
428
- }
429
-
430
- class PercentageDiscount < Orb::Internal::Type::BaseModel
431
- attr_accessor id: String
432
-
433
- attr_accessor adjustment_type: :percentage_discount
434
-
435
- attr_accessor applies_to_price_ids: ::Array[String]
436
-
437
- attr_accessor filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter]
438
-
439
- attr_accessor is_invoice_level: bool
440
-
441
- attr_accessor percentage_discount: Float
442
-
443
- attr_accessor plan_phase_order: Integer?
444
-
445
- attr_accessor reason: String?
446
-
447
- def initialize: (
448
- id: String,
449
- applies_to_price_ids: ::Array[String],
450
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter],
451
- is_invoice_level: bool,
452
- percentage_discount: Float,
453
- plan_phase_order: Integer?,
454
- reason: String?,
455
- ?adjustment_type: :percentage_discount
456
- ) -> void
457
-
458
- def to_hash: -> {
459
- id: String,
460
- adjustment_type: :percentage_discount,
461
- applies_to_price_ids: ::Array[String],
462
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter],
463
- is_invoice_level: bool,
464
- percentage_discount: Float,
465
- plan_phase_order: Integer?,
466
- reason: String?
467
- }
468
-
469
- type filter =
470
- {
471
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::field,
472
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::operator,
473
- values: ::Array[String]
474
- }
475
-
476
- class Filter < Orb::Internal::Type::BaseModel
477
- attr_accessor field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::field
478
-
479
- attr_accessor operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::operator
480
-
481
- attr_accessor values: ::Array[String]
482
-
483
- def initialize: (
484
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::field,
485
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::operator,
486
- values: ::Array[String]
487
- ) -> void
488
-
489
- def to_hash: -> {
490
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::field,
491
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::operator,
492
- values: ::Array[String]
493
- }
494
-
495
- type field =
496
- :price_id
497
- | :item_id
498
- | :price_type
499
- | :currency
500
- | :pricing_unit_id
501
-
502
- module Field
503
- extend Orb::Internal::Type::Enum
504
-
505
- PRICE_ID: :price_id
506
- ITEM_ID: :item_id
507
- PRICE_TYPE: :price_type
508
- CURRENCY: :currency
509
- PRICING_UNIT_ID: :pricing_unit_id
510
-
511
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::field]
512
- end
513
-
514
- type operator = :includes | :excludes
515
-
516
- module Operator
517
- extend Orb::Internal::Type::Enum
518
-
519
- INCLUDES: :includes
520
- EXCLUDES: :excludes
521
-
522
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::operator]
523
- end
524
- end
525
- end
526
-
527
- type minimum =
528
- {
529
- id: String,
530
- adjustment_type: :minimum,
531
- applies_to_price_ids: ::Array[String],
532
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter],
533
- is_invoice_level: bool,
534
- item_id: String,
535
- minimum_amount: String,
536
- plan_phase_order: Integer?,
537
- reason: String?
538
- }
539
-
540
- class Minimum < Orb::Internal::Type::BaseModel
541
- attr_accessor id: String
542
-
543
- attr_accessor adjustment_type: :minimum
544
-
545
- attr_accessor applies_to_price_ids: ::Array[String]
546
-
547
- attr_accessor filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter]
548
-
549
- attr_accessor is_invoice_level: bool
550
-
551
- attr_accessor item_id: String
552
-
553
- attr_accessor minimum_amount: String
554
-
555
- attr_accessor plan_phase_order: Integer?
556
-
557
- attr_accessor reason: String?
558
-
559
- def initialize: (
560
- id: String,
561
- applies_to_price_ids: ::Array[String],
562
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter],
563
- is_invoice_level: bool,
564
- item_id: String,
565
- minimum_amount: String,
566
- plan_phase_order: Integer?,
567
- reason: String?,
568
- ?adjustment_type: :minimum
569
- ) -> void
570
-
571
- def to_hash: -> {
572
- id: String,
573
- adjustment_type: :minimum,
574
- applies_to_price_ids: ::Array[String],
575
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter],
576
- is_invoice_level: bool,
577
- item_id: String,
578
- minimum_amount: String,
579
- plan_phase_order: Integer?,
580
- reason: String?
581
- }
582
-
583
- type filter =
584
- {
585
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter::field,
586
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter::operator,
587
- values: ::Array[String]
588
- }
589
-
590
- class Filter < Orb::Internal::Type::BaseModel
591
- attr_accessor field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter::field
592
-
593
- attr_accessor operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter::operator
594
-
595
- attr_accessor values: ::Array[String]
596
-
597
- def initialize: (
598
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter::field,
599
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter::operator,
600
- values: ::Array[String]
601
- ) -> void
602
-
603
- def to_hash: -> {
604
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter::field,
605
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter::operator,
606
- values: ::Array[String]
607
- }
608
-
609
- type field =
610
- :price_id
611
- | :item_id
612
- | :price_type
613
- | :currency
614
- | :pricing_unit_id
615
-
616
- module Field
617
- extend Orb::Internal::Type::Enum
618
-
619
- PRICE_ID: :price_id
620
- ITEM_ID: :item_id
621
- PRICE_TYPE: :price_type
622
- CURRENCY: :currency
623
- PRICING_UNIT_ID: :pricing_unit_id
624
-
625
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter::field]
626
- end
627
-
628
- type operator = :includes | :excludes
629
-
630
- module Operator
631
- extend Orb::Internal::Type::Enum
632
-
633
- INCLUDES: :includes
634
- EXCLUDES: :excludes
635
-
636
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum::Filter::operator]
637
- end
638
- end
639
- end
640
-
641
- type maximum =
642
- {
643
- id: String,
644
- adjustment_type: :maximum,
645
- applies_to_price_ids: ::Array[String],
646
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter],
647
- is_invoice_level: bool,
648
- maximum_amount: String,
649
- plan_phase_order: Integer?,
650
- reason: String?
651
- }
652
-
653
- class Maximum < Orb::Internal::Type::BaseModel
654
- attr_accessor id: String
655
-
656
- attr_accessor adjustment_type: :maximum
657
-
658
- attr_accessor applies_to_price_ids: ::Array[String]
659
-
660
- attr_accessor filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter]
661
-
662
- attr_accessor is_invoice_level: bool
663
-
664
- attr_accessor maximum_amount: String
665
-
666
- attr_accessor plan_phase_order: Integer?
667
-
668
- attr_accessor reason: String?
669
-
670
- def initialize: (
671
- id: String,
672
- applies_to_price_ids: ::Array[String],
673
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter],
674
- is_invoice_level: bool,
675
- maximum_amount: String,
676
- plan_phase_order: Integer?,
677
- reason: String?,
678
- ?adjustment_type: :maximum
679
- ) -> void
680
-
681
- def to_hash: -> {
682
- id: String,
683
- adjustment_type: :maximum,
684
- applies_to_price_ids: ::Array[String],
685
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter],
686
- is_invoice_level: bool,
687
- maximum_amount: String,
688
- plan_phase_order: Integer?,
689
- reason: String?
690
- }
691
-
692
- type filter =
693
- {
694
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter::field,
695
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter::operator,
696
- values: ::Array[String]
697
- }
698
-
699
- class Filter < Orb::Internal::Type::BaseModel
700
- attr_accessor field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter::field
701
-
702
- attr_accessor operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter::operator
703
-
704
- attr_accessor values: ::Array[String]
705
-
706
- def initialize: (
707
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter::field,
708
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter::operator,
709
- values: ::Array[String]
710
- ) -> void
711
-
712
- def to_hash: -> {
713
- field: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter::field,
714
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter::operator,
715
- values: ::Array[String]
716
- }
717
-
718
- type field =
719
- :price_id
720
- | :item_id
721
- | :price_type
722
- | :currency
723
- | :pricing_unit_id
724
-
725
- module Field
726
- extend Orb::Internal::Type::Enum
727
-
728
- PRICE_ID: :price_id
729
- ITEM_ID: :item_id
730
- PRICE_TYPE: :price_type
731
- CURRENCY: :currency
732
- PRICING_UNIT_ID: :pricing_unit_id
733
-
734
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter::field]
735
- end
736
-
737
- type operator = :includes | :excludes
738
-
739
- module Operator
740
- extend Orb::Internal::Type::Enum
741
-
742
- INCLUDES: :includes
743
- EXCLUDES: :excludes
744
-
745
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum::Filter::operator]
746
- end
747
- end
748
- end
749
-
750
- def self?.variants: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::adjustment]
751
- end
752
- end
753
-
754
- type billing_cycle_anchor_configuration =
755
- { day: Integer, month: Integer?, year: Integer? }
756
-
757
- class BillingCycleAnchorConfiguration < Orb::Internal::Type::BaseModel
758
- attr_accessor day: Integer
759
-
760
- attr_accessor month: Integer?
761
-
762
- attr_accessor year: Integer?
763
-
764
- def initialize: (
765
- day: Integer,
766
- ?month: Integer?,
767
- ?year: Integer?
768
- ) -> void
769
-
770
- def to_hash: -> { day: Integer, month: Integer?, year: Integer? }
771
- end
772
-
773
- type discount_interval =
774
- Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount
775
- | Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage
776
- | Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage
777
-
778
- module DiscountInterval
779
- extend Orb::Internal::Type::Union
780
-
781
- type amount =
782
- {
783
- amount_discount: String,
784
- applies_to_price_interval_ids: ::Array[String],
785
- discount_type: :amount,
786
- end_date: Time?,
787
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter],
788
- start_date: Time
789
- }
790
-
791
- class Amount < Orb::Internal::Type::BaseModel
792
- attr_accessor amount_discount: String
793
-
794
- attr_accessor applies_to_price_interval_ids: ::Array[String]
795
-
796
- attr_accessor discount_type: :amount
797
-
798
- attr_accessor end_date: Time?
799
-
800
- attr_accessor filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter]
801
-
802
- attr_accessor start_date: Time
803
-
804
- def initialize: (
805
- amount_discount: String,
806
- applies_to_price_interval_ids: ::Array[String],
807
- end_date: Time?,
808
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter],
809
- start_date: Time,
810
- ?discount_type: :amount
811
- ) -> void
812
-
813
- def to_hash: -> {
814
- amount_discount: String,
815
- applies_to_price_interval_ids: ::Array[String],
816
- discount_type: :amount,
817
- end_date: Time?,
818
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter],
819
- start_date: Time
820
- }
821
-
822
- type filter =
823
- {
824
- field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter::field,
825
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter::operator,
826
- values: ::Array[String]
827
- }
828
-
829
- class Filter < Orb::Internal::Type::BaseModel
830
- attr_accessor field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter::field
831
-
832
- attr_accessor operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter::operator
833
-
834
- attr_accessor values: ::Array[String]
835
-
836
- def initialize: (
837
- field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter::field,
838
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter::operator,
839
- values: ::Array[String]
840
- ) -> void
841
-
842
- def to_hash: -> {
843
- field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter::field,
844
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter::operator,
845
- values: ::Array[String]
846
- }
847
-
848
- type field =
849
- :price_id | :item_id | :price_type | :currency | :pricing_unit_id
850
-
851
- module Field
852
- extend Orb::Internal::Type::Enum
853
-
854
- PRICE_ID: :price_id
855
- ITEM_ID: :item_id
856
- PRICE_TYPE: :price_type
857
- CURRENCY: :currency
858
- PRICING_UNIT_ID: :pricing_unit_id
859
-
860
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter::field]
861
- end
862
-
863
- type operator = :includes | :excludes
864
-
865
- module Operator
866
- extend Orb::Internal::Type::Enum
867
-
868
- INCLUDES: :includes
869
- EXCLUDES: :excludes
870
-
871
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount::Filter::operator]
872
- end
873
- end
874
- end
875
-
876
- type percentage =
877
- {
878
- applies_to_price_interval_ids: ::Array[String],
879
- discount_type: :percentage,
880
- end_date: Time?,
881
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter],
882
- percentage_discount: Float,
883
- start_date: Time
884
- }
885
-
886
- class Percentage < Orb::Internal::Type::BaseModel
887
- attr_accessor applies_to_price_interval_ids: ::Array[String]
888
-
889
- attr_accessor discount_type: :percentage
890
-
891
- attr_accessor end_date: Time?
892
-
893
- attr_accessor filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter]
894
-
895
- attr_accessor percentage_discount: Float
896
-
897
- attr_accessor start_date: Time
898
-
899
- def initialize: (
900
- applies_to_price_interval_ids: ::Array[String],
901
- end_date: Time?,
902
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter],
903
- percentage_discount: Float,
904
- start_date: Time,
905
- ?discount_type: :percentage
906
- ) -> void
907
-
908
- def to_hash: -> {
909
- applies_to_price_interval_ids: ::Array[String],
910
- discount_type: :percentage,
911
- end_date: Time?,
912
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter],
913
- percentage_discount: Float,
914
- start_date: Time
915
- }
916
-
917
- type filter =
918
- {
919
- field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter::field,
920
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter::operator,
921
- values: ::Array[String]
922
- }
923
-
924
- class Filter < Orb::Internal::Type::BaseModel
925
- attr_accessor field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter::field
926
-
927
- attr_accessor operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter::operator
928
-
929
- attr_accessor values: ::Array[String]
930
-
931
- def initialize: (
932
- field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter::field,
933
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter::operator,
934
- values: ::Array[String]
935
- ) -> void
936
-
937
- def to_hash: -> {
938
- field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter::field,
939
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter::operator,
940
- values: ::Array[String]
941
- }
942
-
943
- type field =
944
- :price_id | :item_id | :price_type | :currency | :pricing_unit_id
945
-
946
- module Field
947
- extend Orb::Internal::Type::Enum
948
-
949
- PRICE_ID: :price_id
950
- ITEM_ID: :item_id
951
- PRICE_TYPE: :price_type
952
- CURRENCY: :currency
953
- PRICING_UNIT_ID: :pricing_unit_id
954
-
955
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter::field]
956
- end
957
-
958
- type operator = :includes | :excludes
959
-
960
- module Operator
961
- extend Orb::Internal::Type::Enum
962
-
963
- INCLUDES: :includes
964
- EXCLUDES: :excludes
965
-
966
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage::Filter::operator]
967
- end
968
- end
969
- end
970
-
971
- type usage =
972
- {
973
- applies_to_price_interval_ids: ::Array[String],
974
- discount_type: :usage,
975
- end_date: Time?,
976
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter],
977
- start_date: Time,
978
- usage_discount: Float
979
- }
980
-
981
- class Usage < Orb::Internal::Type::BaseModel
982
- attr_accessor applies_to_price_interval_ids: ::Array[String]
983
-
984
- attr_accessor discount_type: :usage
985
-
986
- attr_accessor end_date: Time?
987
-
988
- attr_accessor filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter]
989
-
990
- attr_accessor start_date: Time
991
-
992
- attr_accessor usage_discount: Float
993
-
994
- def initialize: (
995
- applies_to_price_interval_ids: ::Array[String],
996
- end_date: Time?,
997
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter],
998
- start_date: Time,
999
- usage_discount: Float,
1000
- ?discount_type: :usage
1001
- ) -> void
1002
-
1003
- def to_hash: -> {
1004
- applies_to_price_interval_ids: ::Array[String],
1005
- discount_type: :usage,
1006
- end_date: Time?,
1007
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter],
1008
- start_date: Time,
1009
- usage_discount: Float
1010
- }
1011
-
1012
- type filter =
1013
- {
1014
- field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter::field,
1015
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter::operator,
1016
- values: ::Array[String]
1017
- }
1018
-
1019
- class Filter < Orb::Internal::Type::BaseModel
1020
- attr_accessor field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter::field
1021
-
1022
- attr_accessor operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter::operator
1023
-
1024
- attr_accessor values: ::Array[String]
1025
-
1026
- def initialize: (
1027
- field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter::field,
1028
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter::operator,
1029
- values: ::Array[String]
1030
- ) -> void
1031
-
1032
- def to_hash: -> {
1033
- field: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter::field,
1034
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter::operator,
1035
- values: ::Array[String]
1036
- }
1037
-
1038
- type field =
1039
- :price_id | :item_id | :price_type | :currency | :pricing_unit_id
1040
-
1041
- module Field
1042
- extend Orb::Internal::Type::Enum
1043
-
1044
- PRICE_ID: :price_id
1045
- ITEM_ID: :item_id
1046
- PRICE_TYPE: :price_type
1047
- CURRENCY: :currency
1048
- PRICING_UNIT_ID: :pricing_unit_id
1049
-
1050
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter::field]
1051
- end
1052
-
1053
- type operator = :includes | :excludes
1054
-
1055
- module Operator
1056
- extend Orb::Internal::Type::Enum
1057
-
1058
- INCLUDES: :includes
1059
- EXCLUDES: :excludes
1060
-
1061
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage::Filter::operator]
1062
- end
1063
- end
1064
- end
1065
-
1066
- def self?.variants: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::discount_interval]
1067
- end
1068
-
1069
- type fixed_fee_quantity_schedule =
1070
- { end_date: Time?, price_id: String, quantity: Float, start_date: Time }
1071
-
1072
- class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
1073
- attr_accessor end_date: Time?
1074
-
1075
- attr_accessor price_id: String
1076
-
1077
- attr_accessor quantity: Float
1078
-
1079
- attr_accessor start_date: Time
1080
-
1081
- def initialize: (
1082
- end_date: Time?,
1083
- price_id: String,
1084
- quantity: Float,
1085
- start_date: Time
1086
- ) -> void
1087
-
1088
- def to_hash: -> {
1089
- end_date: Time?,
1090
- price_id: String,
1091
- quantity: Float,
1092
- start_date: Time
1093
- }
1094
- end
1095
-
1096
- type maximum_interval =
1097
- {
1098
- applies_to_price_interval_ids: ::Array[String],
1099
- end_date: Time?,
1100
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter],
1101
- maximum_amount: String,
1102
- start_date: Time
1103
- }
1104
-
1105
- class MaximumInterval < Orb::Internal::Type::BaseModel
1106
- attr_accessor applies_to_price_interval_ids: ::Array[String]
1107
-
1108
- attr_accessor end_date: Time?
1109
-
1110
- attr_accessor filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter]
1111
-
1112
- attr_accessor maximum_amount: String
1113
-
1114
- attr_accessor start_date: Time
1115
-
1116
- def initialize: (
1117
- applies_to_price_interval_ids: ::Array[String],
1118
- end_date: Time?,
1119
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter],
1120
- maximum_amount: String,
1121
- start_date: Time
1122
- ) -> void
1123
-
1124
- def to_hash: -> {
1125
- applies_to_price_interval_ids: ::Array[String],
1126
- end_date: Time?,
1127
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter],
1128
- maximum_amount: String,
1129
- start_date: Time
1130
- }
1131
-
1132
- type filter =
1133
- {
1134
- field: Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter::field,
1135
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter::operator,
1136
- values: ::Array[String]
1137
- }
1138
-
1139
- class Filter < Orb::Internal::Type::BaseModel
1140
- attr_accessor field: Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter::field
1141
-
1142
- attr_accessor operator: Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter::operator
1143
-
1144
- attr_accessor values: ::Array[String]
1145
-
1146
- def initialize: (
1147
- field: Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter::field,
1148
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter::operator,
1149
- values: ::Array[String]
1150
- ) -> void
1151
-
1152
- def to_hash: -> {
1153
- field: Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter::field,
1154
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter::operator,
1155
- values: ::Array[String]
1156
- }
1157
-
1158
- type field =
1159
- :price_id | :item_id | :price_type | :currency | :pricing_unit_id
1160
-
1161
- module Field
1162
- extend Orb::Internal::Type::Enum
1163
-
1164
- PRICE_ID: :price_id
1165
- ITEM_ID: :item_id
1166
- PRICE_TYPE: :price_type
1167
- CURRENCY: :currency
1168
- PRICING_UNIT_ID: :pricing_unit_id
1169
-
1170
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter::field]
1171
- end
1172
-
1173
- type operator = :includes | :excludes
1174
-
1175
- module Operator
1176
- extend Orb::Internal::Type::Enum
1177
-
1178
- INCLUDES: :includes
1179
- EXCLUDES: :excludes
1180
-
1181
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MaximumInterval::Filter::operator]
1182
- end
1183
- end
1184
- end
1185
-
1186
- type minimum_interval =
1187
- {
1188
- applies_to_price_interval_ids: ::Array[String],
1189
- end_date: Time?,
1190
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter],
1191
- minimum_amount: String,
1192
- start_date: Time
1193
- }
1194
-
1195
- class MinimumInterval < Orb::Internal::Type::BaseModel
1196
- attr_accessor applies_to_price_interval_ids: ::Array[String]
1197
-
1198
- attr_accessor end_date: Time?
1199
-
1200
- attr_accessor filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter]
1201
-
1202
- attr_accessor minimum_amount: String
1203
-
1204
- attr_accessor start_date: Time
1205
-
1206
- def initialize: (
1207
- applies_to_price_interval_ids: ::Array[String],
1208
- end_date: Time?,
1209
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter],
1210
- minimum_amount: String,
1211
- start_date: Time
1212
- ) -> void
1213
-
1214
- def to_hash: -> {
1215
- applies_to_price_interval_ids: ::Array[String],
1216
- end_date: Time?,
1217
- filters: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter],
1218
- minimum_amount: String,
1219
- start_date: Time
1220
- }
1221
-
1222
- type filter =
1223
- {
1224
- field: Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter::field,
1225
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter::operator,
1226
- values: ::Array[String]
1227
- }
1228
-
1229
- class Filter < Orb::Internal::Type::BaseModel
1230
- attr_accessor field: Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter::field
1231
-
1232
- attr_accessor operator: Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter::operator
1233
-
1234
- attr_accessor values: ::Array[String]
1235
-
1236
- def initialize: (
1237
- field: Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter::field,
1238
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter::operator,
1239
- values: ::Array[String]
1240
- ) -> void
1241
-
1242
- def to_hash: -> {
1243
- field: Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter::field,
1244
- operator: Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter::operator,
1245
- values: ::Array[String]
1246
- }
1247
-
1248
- type field =
1249
- :price_id | :item_id | :price_type | :currency | :pricing_unit_id
1250
-
1251
- module Field
1252
- extend Orb::Internal::Type::Enum
1253
-
1254
- PRICE_ID: :price_id
1255
- ITEM_ID: :item_id
1256
- PRICE_TYPE: :price_type
1257
- CURRENCY: :currency
1258
- PRICING_UNIT_ID: :pricing_unit_id
1259
-
1260
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter::field]
1261
- end
1262
-
1263
- type operator = :includes | :excludes
1264
-
1265
- module Operator
1266
- extend Orb::Internal::Type::Enum
1267
-
1268
- INCLUDES: :includes
1269
- EXCLUDES: :excludes
1270
-
1271
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::MinimumInterval::Filter::operator]
1272
- end
1273
- end
1274
- end
1275
-
1276
- type pending_subscription_change = { id: String }
1277
-
1278
- class PendingSubscriptionChange < Orb::Internal::Type::BaseModel
1279
- attr_accessor id: String
1280
-
1281
- def initialize: (id: String) -> void
1282
-
1283
- def to_hash: -> { id: String }
1284
- end
1285
-
1286
- type price_interval =
1287
- {
1288
- id: String,
1289
- billing_cycle_day: Integer,
1290
- current_billing_period_end_date: Time?,
1291
- current_billing_period_start_date: Time?,
1292
- end_date: Time?,
1293
- filter: String?,
1294
- fixed_fee_quantity_transitions: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::PriceInterval::FixedFeeQuantityTransition]?,
1295
- price: Orb::Models::price,
1296
- start_date: Time,
1297
- usage_customer_ids: ::Array[String]?
1298
- }
1299
-
1300
- class PriceInterval < Orb::Internal::Type::BaseModel
1301
- attr_accessor id: String
1302
-
1303
- attr_accessor billing_cycle_day: Integer
1304
-
1305
- attr_accessor current_billing_period_end_date: Time?
1306
-
1307
- attr_accessor current_billing_period_start_date: Time?
1308
-
1309
- attr_accessor end_date: Time?
1310
-
1311
- attr_accessor filter: String?
1312
-
1313
- attr_accessor fixed_fee_quantity_transitions: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::PriceInterval::FixedFeeQuantityTransition]?
1314
-
1315
- attr_accessor price: Orb::Models::price
1316
-
1317
- attr_accessor start_date: Time
1318
-
1319
- attr_accessor usage_customer_ids: ::Array[String]?
1320
-
1321
- def initialize: (
1322
- id: String,
1323
- billing_cycle_day: Integer,
1324
- current_billing_period_end_date: Time?,
1325
- current_billing_period_start_date: Time?,
1326
- end_date: Time?,
1327
- filter: String?,
1328
- fixed_fee_quantity_transitions: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::PriceInterval::FixedFeeQuantityTransition]?,
1329
- price: Orb::Models::price,
1330
- start_date: Time,
1331
- usage_customer_ids: ::Array[String]?
1332
- ) -> void
1333
-
1334
- def to_hash: -> {
1335
- id: String,
1336
- billing_cycle_day: Integer,
1337
- current_billing_period_end_date: Time?,
1338
- current_billing_period_start_date: Time?,
1339
- end_date: Time?,
1340
- filter: String?,
1341
- fixed_fee_quantity_transitions: ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::PriceInterval::FixedFeeQuantityTransition]?,
1342
- price: Orb::Models::price,
1343
- start_date: Time,
1344
- usage_customer_ids: ::Array[String]?
1345
- }
1346
-
1347
- type fixed_fee_quantity_transition =
1348
- { effective_date: Time, price_id: String, quantity: Integer }
1349
-
1350
- class FixedFeeQuantityTransition < Orb::Internal::Type::BaseModel
1351
- attr_accessor effective_date: Time
1352
-
1353
- attr_accessor price_id: String
1354
-
1355
- attr_accessor quantity: Integer
1356
-
1357
- def initialize: (
1358
- effective_date: Time,
1359
- price_id: String,
1360
- quantity: Integer
1361
- ) -> void
1362
-
1363
- def to_hash: -> {
1364
- effective_date: Time,
1365
- price_id: String,
1366
- quantity: Integer
1367
- }
1368
- end
1369
- end
1370
-
1371
- type redeemed_coupon =
1372
- { coupon_id: String, end_date: Time?, start_date: Time }
1373
-
1374
- class RedeemedCoupon < Orb::Internal::Type::BaseModel
1375
- attr_accessor coupon_id: String
1376
-
1377
- attr_accessor end_date: Time?
1378
-
1379
- attr_accessor start_date: Time
1380
-
1381
- def initialize: (
1382
- coupon_id: String,
1383
- end_date: Time?,
1384
- start_date: Time
1385
- ) -> void
1386
-
1387
- def to_hash: -> { coupon_id: String, end_date: Time?, start_date: Time }
1388
- end
1389
-
1390
- type status = :active | :ended | :upcoming
1391
-
1392
- module Status
1393
- extend Orb::Internal::Type::Enum
1394
-
1395
- ACTIVE: :active
1396
- ENDED: :ended
1397
- UPCOMING: :upcoming
1398
-
1399
- def self?.values: -> ::Array[Orb::Models::SubscriptionPriceIntervalsResponse::status]
1400
- end
1401
-
1402
- type trial_info = { end_date: Time? }
1403
-
1404
- class TrialInfo < Orb::Internal::Type::BaseModel
1405
- attr_accessor end_date: Time?
1406
-
1407
- def initialize: (end_date: Time?) -> void
1408
-
1409
- def to_hash: -> { end_date: Time? }
1410
- end
1411
-
1412
- type changed_resources =
1413
- {
1414
- created_credit_notes: ::Array[Orb::CreditNote],
1415
- created_invoices: ::Array[Orb::Invoice],
1416
- voided_credit_notes: ::Array[Orb::CreditNote],
1417
- voided_invoices: ::Array[Orb::Invoice]
1418
- }
1419
-
1420
- class ChangedResources < Orb::Internal::Type::BaseModel
1421
- attr_accessor created_credit_notes: ::Array[Orb::CreditNote]
1422
-
1423
- attr_accessor created_invoices: ::Array[Orb::Invoice]
1424
-
1425
- attr_accessor voided_credit_notes: ::Array[Orb::CreditNote]
1426
-
1427
- attr_accessor voided_invoices: ::Array[Orb::Invoice]
1428
-
1429
- def initialize: (
1430
- created_credit_notes: ::Array[Orb::CreditNote],
1431
- created_invoices: ::Array[Orb::Invoice],
1432
- voided_credit_notes: ::Array[Orb::CreditNote],
1433
- voided_invoices: ::Array[Orb::Invoice]
1434
- ) -> void
1435
-
1436
- def to_hash: -> {
1437
- created_credit_notes: ::Array[Orb::CreditNote],
1438
- created_invoices: ::Array[Orb::Invoice],
1439
- voided_credit_notes: ::Array[Orb::CreditNote],
1440
- voided_invoices: ::Array[Orb::Invoice]
1441
- }
1442
- end
1443
- end
1444
- end
1445
- end