orb-billing 0.5.1 → 0.5.3

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 (337) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +4 -4
  4. data/SECURITY.md +2 -2
  5. data/lib/orb/internal/type/array_of.rb +8 -0
  6. data/lib/orb/internal/type/base_model.rb +7 -0
  7. data/lib/orb/internal/type/boolean.rb +8 -0
  8. data/lib/orb/internal/type/enum.rb +12 -0
  9. data/lib/orb/internal/type/file_input.rb +7 -0
  10. data/lib/orb/internal/type/hash_of.rb +8 -0
  11. data/lib/orb/internal/type/union.rb +12 -0
  12. data/lib/orb/internal/type/unknown.rb +8 -0
  13. data/lib/orb/internal/util.rb +45 -0
  14. data/lib/orb/internal.rb +3 -0
  15. data/lib/orb/models/alert.rb +23 -23
  16. data/lib/orb/models/alert_create_for_customer_params.rb +5 -5
  17. data/lib/orb/models/alert_create_for_external_customer_params.rb +5 -5
  18. data/lib/orb/models/alert_create_for_subscription_params.rb +5 -5
  19. data/lib/orb/models/alert_update_params.rb +3 -3
  20. data/lib/orb/models/amount_discount.rb +5 -5
  21. data/lib/orb/models/billable_metric.rb +7 -7
  22. data/lib/orb/models/coupon.rb +6 -10
  23. data/lib/orb/models/coupon_create_params.rb +3 -9
  24. data/lib/orb/models/credit_note.rb +33 -33
  25. data/lib/orb/models/credit_note_create_params.rb +4 -4
  26. data/lib/orb/models/customer.rb +39 -39
  27. data/lib/orb/models/customer_create_params.rb +26 -35
  28. data/lib/orb/models/customer_update_by_external_id_params.rb +26 -35
  29. data/lib/orb/models/customer_update_params.rb +26 -35
  30. data/lib/orb/models/customers/balance_transaction_create_params.rb +2 -2
  31. data/lib/orb/models/customers/cost_list_by_external_id_params.rb +2 -2
  32. data/lib/orb/models/customers/cost_list_by_external_id_response.rb +2 -2
  33. data/lib/orb/models/customers/cost_list_params.rb +2 -2
  34. data/lib/orb/models/customers/cost_list_response.rb +2 -2
  35. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +7 -7
  36. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +0 -14
  37. data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +8 -8
  38. data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +0 -14
  39. data/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb +4 -4
  40. data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +0 -14
  41. data/lib/orb/models/customers/credits/ledger_list_params.rb +4 -4
  42. data/lib/orb/models/customers/credits/ledger_list_response.rb +0 -14
  43. data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +6 -6
  44. data/lib/orb/models/customers/credits/top_up_create_params.rb +6 -5
  45. data/lib/orb/models/dimensional_price_group.rb +1 -1
  46. data/lib/orb/models/dimensional_price_groups.rb +4 -4
  47. data/lib/orb/models/discount.rb +1 -7
  48. data/lib/orb/models/evaluate_price_group.rb +0 -4
  49. data/lib/orb/models/event_ingest_params.rb +3 -3
  50. data/lib/orb/models/events/event_volumes.rb +2 -2
  51. data/lib/orb/models/invoice.rb +114 -135
  52. data/lib/orb/models/invoice_create_params.rb +10 -10
  53. data/lib/orb/models/invoice_fetch_upcoming_response.rb +6 -28
  54. data/lib/orb/models/invoice_level_discount.rb +1 -5
  55. data/lib/orb/models/invoice_line_item_create_response.rb +4 -26
  56. data/lib/orb/models/invoice_list_params.rb +4 -4
  57. data/lib/orb/models/item.rb +5 -5
  58. data/lib/orb/models/item_update_params.rb +5 -5
  59. data/lib/orb/models/percentage_discount.rb +5 -5
  60. data/lib/orb/models/plan.rb +58 -70
  61. data/lib/orb/models/plan_create_params.rb +448 -476
  62. data/lib/orb/models/plan_list_params.rb +2 -2
  63. data/lib/orb/models/price.rb +1204 -1239
  64. data/lib/orb/models/price_create_params.rb +50 -50
  65. data/lib/orb/models/price_evaluate_response.rb +2 -2
  66. data/lib/orb/models/subscription.rb +58 -78
  67. data/lib/orb/models/subscription_cancel_params.rb +2 -2
  68. data/lib/orb/models/subscription_cancel_response.rb +14 -36
  69. data/lib/orb/models/subscription_change_apply_response.rb +14 -36
  70. data/lib/orb/models/subscription_change_cancel_response.rb +14 -36
  71. data/lib/orb/models/subscription_change_retrieve_response.rb +14 -36
  72. data/lib/orb/models/subscription_create_params.rb +1002 -1075
  73. data/lib/orb/models/subscription_create_response.rb +14 -36
  74. data/lib/orb/models/subscription_fetch_costs_params.rb +2 -2
  75. data/lib/orb/models/subscription_fetch_costs_response.rb +2 -2
  76. data/lib/orb/models/subscription_fetch_usage_params.rb +4 -4
  77. data/lib/orb/models/subscription_list_params.rb +2 -2
  78. data/lib/orb/models/subscription_price_intervals_params.rb +596 -674
  79. data/lib/orb/models/subscription_price_intervals_response.rb +14 -36
  80. data/lib/orb/models/subscription_schedule_plan_change_params.rb +973 -1059
  81. data/lib/orb/models/subscription_schedule_plan_change_response.rb +14 -36
  82. data/lib/orb/models/subscription_trigger_phase_response.rb +14 -36
  83. data/lib/orb/models/subscription_unschedule_cancellation_response.rb +14 -36
  84. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +14 -36
  85. data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +14 -36
  86. data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +2 -2
  87. data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +14 -36
  88. data/lib/orb/models/subscription_update_trial_params.rb +3 -3
  89. data/lib/orb/models/subscription_update_trial_response.rb +14 -36
  90. data/lib/orb/models/subscription_usage.rb +26 -35
  91. data/lib/orb/models/subscriptions.rb +4 -4
  92. data/lib/orb/models/trial_discount.rb +5 -5
  93. data/lib/orb/models/usage_discount.rb +5 -5
  94. data/lib/orb/models.rb +30 -16
  95. data/lib/orb/resources/alerts.rb +15 -15
  96. data/lib/orb/resources/coupons/subscriptions.rb +1 -1
  97. data/lib/orb/resources/coupons.rb +5 -5
  98. data/lib/orb/resources/credit_notes.rb +5 -5
  99. data/lib/orb/resources/customers/balance_transactions.rb +1 -1
  100. data/lib/orb/resources/customers/costs.rb +2 -2
  101. data/lib/orb/resources/customers/credits/ledger.rb +10 -10
  102. data/lib/orb/resources/customers/credits/top_ups.rb +4 -4
  103. data/lib/orb/resources/customers.rb +30 -30
  104. data/lib/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rb +1 -1
  105. data/lib/orb/resources/dimensional_price_groups.rb +3 -3
  106. data/lib/orb/resources/events/volume.rb +1 -1
  107. data/lib/orb/resources/events.rb +1 -1
  108. data/lib/orb/resources/invoices.rb +12 -12
  109. data/lib/orb/resources/items.rb +5 -5
  110. data/lib/orb/resources/metrics.rb +4 -4
  111. data/lib/orb/resources/plans/external_plan_id.rb +2 -2
  112. data/lib/orb/resources/plans.rb +7 -7
  113. data/lib/orb/resources/prices/external_price_id.rb +2 -2
  114. data/lib/orb/resources/prices.rb +17 -17
  115. data/lib/orb/resources/subscriptions.rb +32 -32
  116. data/lib/orb/version.rb +1 -1
  117. data/rbi/orb/internal/type/array_of.rbi +6 -0
  118. data/rbi/orb/internal/type/base_model.rbi +5 -0
  119. data/rbi/orb/internal/type/boolean.rbi +6 -0
  120. data/rbi/orb/internal/type/enum.rbi +5 -0
  121. data/rbi/orb/internal/type/file_input.rbi +5 -0
  122. data/rbi/orb/internal/type/hash_of.rbi +6 -0
  123. data/rbi/orb/internal/type/union.rbi +5 -0
  124. data/rbi/orb/internal/type/unknown.rbi +6 -0
  125. data/rbi/orb/internal/util.rbi +30 -0
  126. data/rbi/orb/internal.rbi +3 -0
  127. data/rbi/orb/models/coupon.rbi +2 -2
  128. data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +2 -65
  129. data/rbi/orb/models/customers/cost_list_response.rbi +2 -65
  130. data/rbi/orb/models/evaluate_price_group.rbi +7 -3
  131. data/rbi/orb/models/invoice.rbi +10 -149
  132. data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +10 -133
  133. data/rbi/orb/models/invoice_line_item_create_response.rbi +8 -114
  134. data/rbi/orb/models/plan.rbi +8 -134
  135. data/rbi/orb/models/price.rbi +56 -588
  136. data/rbi/orb/models/subscription.rbi +6 -99
  137. data/rbi/orb/models/subscription_cancel_response.rbi +6 -89
  138. data/rbi/orb/models/subscription_change_apply_response.rbi +6 -89
  139. data/rbi/orb/models/subscription_change_cancel_response.rbi +6 -89
  140. data/rbi/orb/models/subscription_change_retrieve_response.rbi +6 -89
  141. data/rbi/orb/models/subscription_create_response.rbi +6 -89
  142. data/rbi/orb/models/subscription_fetch_costs_response.rbi +2 -65
  143. data/rbi/orb/models/subscription_price_intervals_response.rbi +6 -89
  144. data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +6 -89
  145. data/rbi/orb/models/subscription_trigger_phase_response.rbi +6 -89
  146. data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +6 -89
  147. data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +6 -89
  148. data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +6 -89
  149. data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +6 -89
  150. data/rbi/orb/models/subscription_update_trial_response.rbi +6 -89
  151. data/rbi/orb/resources/customers/credits/ledger.rbi +4 -36
  152. data/rbi/orb/resources/prices/external_price_id.rbi +2 -64
  153. data/rbi/orb/resources/prices.rbi +4 -130
  154. data/rbi/orb/resources/subscriptions.rbi +1 -6
  155. data/sig/orb/internal/page.rbs +2 -0
  156. data/sig/orb/internal/type/array_of.rbs +3 -0
  157. data/sig/orb/internal/type/base_model.rbs +2 -0
  158. data/sig/orb/internal/type/boolean.rbs +3 -0
  159. data/sig/orb/internal/type/enum.rbs +2 -0
  160. data/sig/orb/internal/type/file_input.rbs +2 -0
  161. data/sig/orb/internal/type/hash_of.rbs +3 -0
  162. data/sig/orb/internal/type/union.rbs +2 -0
  163. data/sig/orb/internal/type/unknown.rbs +3 -0
  164. data/sig/orb/internal/util.rbs +12 -0
  165. data/sig/orb/internal.rbs +2 -0
  166. data/sig/orb/models/alert.rbs +32 -4
  167. data/sig/orb/models/alert_create_for_customer_params.rbs +9 -0
  168. data/sig/orb/models/alert_create_for_external_customer_params.rbs +9 -0
  169. data/sig/orb/models/alert_create_for_subscription_params.rbs +9 -0
  170. data/sig/orb/models/alert_disable_params.rbs +5 -0
  171. data/sig/orb/models/alert_enable_params.rbs +5 -0
  172. data/sig/orb/models/alert_list_params.rbs +13 -0
  173. data/sig/orb/models/alert_retrieve_params.rbs +2 -0
  174. data/sig/orb/models/alert_update_params.rbs +7 -0
  175. data/sig/orb/models/amount_discount.rbs +11 -4
  176. data/sig/orb/models/billable_metric.rbs +13 -4
  177. data/sig/orb/models/coupon.rbs +14 -4
  178. data/sig/orb/models/coupon_archive_params.rbs +2 -0
  179. data/sig/orb/models/coupon_create_params.rbs +15 -0
  180. data/sig/orb/models/coupon_fetch_params.rbs +2 -0
  181. data/sig/orb/models/coupon_list_params.rbs +8 -0
  182. data/sig/orb/models/coupons/subscription_list_params.rbs +6 -0
  183. data/sig/orb/models/credit_note.rbs +88 -20
  184. data/sig/orb/models/credit_note_create_params.rbs +9 -0
  185. data/sig/orb/models/credit_note_fetch_params.rbs +2 -0
  186. data/sig/orb/models/credit_note_list_params.rbs +10 -0
  187. data/sig/orb/models/customer.rbs +86 -16
  188. data/sig/orb/models/customer_create_params.rbs +79 -8
  189. data/sig/orb/models/customer_delete_params.rbs +2 -0
  190. data/sig/orb/models/customer_fetch_by_external_id_params.rbs +2 -0
  191. data/sig/orb/models/customer_fetch_params.rbs +2 -0
  192. data/sig/orb/models/customer_list_params.rbs +10 -0
  193. data/sig/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbs +2 -0
  194. data/sig/orb/models/customer_sync_payment_methods_from_gateway_params.rbs +2 -0
  195. data/sig/orb/models/customer_update_by_external_id_params.rbs +78 -8
  196. data/sig/orb/models/customer_update_params.rbs +78 -8
  197. data/sig/orb/models/customers/balance_transaction_create_params.rbs +7 -0
  198. data/sig/orb/models/customers/balance_transaction_create_response.rbs +17 -0
  199. data/sig/orb/models/customers/balance_transaction_list_params.rbs +10 -0
  200. data/sig/orb/models/customers/balance_transaction_list_response.rbs +17 -0
  201. data/sig/orb/models/customers/cost_list_by_external_id_params.rbs +8 -0
  202. data/sig/orb/models/customers/cost_list_by_external_id_response.rbs +20 -0
  203. data/sig/orb/models/customers/cost_list_params.rbs +8 -0
  204. data/sig/orb/models/customers/cost_list_response.rbs +20 -0
  205. data/sig/orb/models/customers/credit_list_by_external_id_params.rbs +8 -0
  206. data/sig/orb/models/customers/credit_list_by_external_id_response.rbs +10 -0
  207. data/sig/orb/models/customers/credit_list_params.rbs +8 -0
  208. data/sig/orb/models/customers/credit_list_response.rbs +10 -0
  209. data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbs +23 -0
  210. data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbs +177 -0
  211. data/sig/orb/models/customers/credits/ledger_create_entry_params.rbs +23 -0
  212. data/sig/orb/models/customers/credits/ledger_create_entry_response.rbs +177 -0
  213. data/sig/orb/models/customers/credits/ledger_list_by_external_id_params.rbs +14 -0
  214. data/sig/orb/models/customers/credits/ledger_list_by_external_id_response.rbs +177 -0
  215. data/sig/orb/models/customers/credits/ledger_list_params.rbs +14 -0
  216. data/sig/orb/models/customers/credits/ledger_list_response.rbs +177 -0
  217. data/sig/orb/models/customers/credits/top_up_create_by_external_id_params.rbs +19 -0
  218. data/sig/orb/models/customers/credits/top_up_create_by_external_id_response.rbs +18 -0
  219. data/sig/orb/models/customers/credits/top_up_create_params.rbs +19 -0
  220. data/sig/orb/models/customers/credits/top_up_create_response.rbs +18 -0
  221. data/sig/orb/models/customers/credits/top_up_delete_by_external_id_params.rbs +5 -0
  222. data/sig/orb/models/customers/credits/top_up_delete_params.rbs +5 -0
  223. data/sig/orb/models/customers/credits/top_up_list_by_external_id_params.rbs +6 -0
  224. data/sig/orb/models/customers/credits/top_up_list_by_external_id_response.rbs +18 -0
  225. data/sig/orb/models/customers/credits/top_up_list_params.rbs +6 -0
  226. data/sig/orb/models/customers/credits/top_up_list_response.rbs +18 -0
  227. data/sig/orb/models/dimensional_price_group.rbs +9 -0
  228. data/sig/orb/models/dimensional_price_group_create_params.rbs +9 -0
  229. data/sig/orb/models/dimensional_price_group_list_params.rbs +6 -0
  230. data/sig/orb/models/dimensional_price_group_retrieve_params.rbs +2 -0
  231. data/sig/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbs +2 -0
  232. data/sig/orb/models/dimensional_price_groups.rbs +5 -0
  233. data/sig/orb/models/evaluate_price_group.rbs +10 -4
  234. data/sig/orb/models/event_deprecate_params.rbs +2 -0
  235. data/sig/orb/models/event_deprecate_response.rbs +2 -0
  236. data/sig/orb/models/event_ingest_params.rbs +16 -0
  237. data/sig/orb/models/event_ingest_response.rbs +15 -0
  238. data/sig/orb/models/event_search_params.rbs +7 -0
  239. data/sig/orb/models/event_search_response.rbs +12 -0
  240. data/sig/orb/models/event_update_params.rbs +9 -0
  241. data/sig/orb/models/event_update_response.rbs +2 -0
  242. data/sig/orb/models/events/backfill_close_params.rbs +2 -0
  243. data/sig/orb/models/events/backfill_close_response.rbs +14 -0
  244. data/sig/orb/models/events/backfill_create_params.rbs +11 -0
  245. data/sig/orb/models/events/backfill_create_response.rbs +14 -0
  246. data/sig/orb/models/events/backfill_fetch_params.rbs +2 -0
  247. data/sig/orb/models/events/backfill_fetch_response.rbs +14 -0
  248. data/sig/orb/models/events/backfill_list_params.rbs +6 -0
  249. data/sig/orb/models/events/backfill_list_response.rbs +14 -0
  250. data/sig/orb/models/events/backfill_revert_params.rbs +2 -0
  251. data/sig/orb/models/events/backfill_revert_response.rbs +14 -0
  252. data/sig/orb/models/events/event_volumes.rbs +8 -0
  253. data/sig/orb/models/events/volume_list_params.rbs +8 -0
  254. data/sig/orb/models/invoice.rbs +293 -36
  255. data/sig/orb/models/invoice_create_params.rbs +30 -4
  256. data/sig/orb/models/invoice_fetch_params.rbs +2 -0
  257. data/sig/orb/models/invoice_fetch_upcoming_params.rbs +5 -0
  258. data/sig/orb/models/invoice_fetch_upcoming_response.rbs +257 -0
  259. data/sig/orb/models/invoice_issue_params.rbs +5 -0
  260. data/sig/orb/models/invoice_line_item_create_params.rbs +10 -0
  261. data/sig/orb/models/invoice_line_item_create_response.rbs +132 -0
  262. data/sig/orb/models/invoice_list_params.rbs +27 -4
  263. data/sig/orb/models/invoice_mark_paid_params.rbs +7 -0
  264. data/sig/orb/models/invoice_pay_params.rbs +2 -0
  265. data/sig/orb/models/invoice_update_params.rbs +5 -0
  266. data/sig/orb/models/invoice_void_params.rbs +2 -0
  267. data/sig/orb/models/item.rbs +16 -4
  268. data/sig/orb/models/item_create_params.rbs +2 -0
  269. data/sig/orb/models/item_fetch_params.rbs +2 -0
  270. data/sig/orb/models/item_list_params.rbs +6 -0
  271. data/sig/orb/models/item_update_params.rbs +15 -4
  272. data/sig/orb/models/metric_create_params.rbs +9 -0
  273. data/sig/orb/models/metric_fetch_params.rbs +2 -0
  274. data/sig/orb/models/metric_list_params.rbs +10 -0
  275. data/sig/orb/models/metric_update_params.rbs +5 -0
  276. data/sig/orb/models/pagination_metadata.rbs +2 -0
  277. data/sig/orb/models/percentage_discount.rbs +11 -4
  278. data/sig/orb/models/plan.rbs +141 -16
  279. data/sig/orb/models/plan_create_params.rbs +1070 -304
  280. data/sig/orb/models/plan_fetch_params.rbs +2 -0
  281. data/sig/orb/models/plan_list_params.rbs +11 -0
  282. data/sig/orb/models/plan_update_params.rbs +6 -0
  283. data/sig/orb/models/plans/external_plan_id_fetch_params.rbs +2 -0
  284. data/sig/orb/models/plans/external_plan_id_update_params.rbs +6 -0
  285. data/sig/orb/models/price.rbs +2148 -460
  286. data/sig/orb/models/price_create_params.rbs +130 -8
  287. data/sig/orb/models/price_evaluate_params.rbs +10 -0
  288. data/sig/orb/models/price_evaluate_response.rbs +2 -0
  289. data/sig/orb/models/price_fetch_params.rbs +2 -0
  290. data/sig/orb/models/price_list_params.rbs +6 -0
  291. data/sig/orb/models/price_update_params.rbs +5 -0
  292. data/sig/orb/models/prices/external_price_id_fetch_params.rbs +2 -0
  293. data/sig/orb/models/prices/external_price_id_update_params.rbs +5 -0
  294. data/sig/orb/models/subscription.rbs +177 -12
  295. data/sig/orb/models/subscription_cancel_params.rbs +7 -0
  296. data/sig/orb/models/subscription_cancel_response.rbs +173 -0
  297. data/sig/orb/models/subscription_change_apply_params.rbs +6 -0
  298. data/sig/orb/models/subscription_change_apply_response.rbs +186 -0
  299. data/sig/orb/models/subscription_change_cancel_params.rbs +2 -0
  300. data/sig/orb/models/subscription_change_cancel_response.rbs +186 -0
  301. data/sig/orb/models/subscription_change_retrieve_params.rbs +2 -0
  302. data/sig/orb/models/subscription_change_retrieve_response.rbs +186 -0
  303. data/sig/orb/models/subscription_create_params.rbs +2368 -632
  304. data/sig/orb/models/subscription_create_response.rbs +173 -0
  305. data/sig/orb/models/subscription_fetch_costs_params.rbs +8 -0
  306. data/sig/orb/models/subscription_fetch_costs_response.rbs +20 -0
  307. data/sig/orb/models/subscription_fetch_params.rbs +2 -0
  308. data/sig/orb/models/subscription_fetch_schedule_params.rbs +10 -0
  309. data/sig/orb/models/subscription_fetch_schedule_response.rbs +13 -0
  310. data/sig/orb/models/subscription_fetch_usage_params.rbs +14 -0
  311. data/sig/orb/models/subscription_list_params.rbs +13 -0
  312. data/sig/orb/models/subscription_price_intervals_params.rbs +1348 -396
  313. data/sig/orb/models/subscription_price_intervals_response.rbs +173 -0
  314. data/sig/orb/models/subscription_schedule_plan_change_params.rbs +2363 -632
  315. data/sig/orb/models/subscription_schedule_plan_change_response.rbs +173 -0
  316. data/sig/orb/models/subscription_trigger_phase_params.rbs +6 -0
  317. data/sig/orb/models/subscription_trigger_phase_response.rbs +173 -0
  318. data/sig/orb/models/subscription_unschedule_cancellation_params.rbs +2 -0
  319. data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +173 -0
  320. data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbs +2 -0
  321. data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +173 -0
  322. data/sig/orb/models/subscription_unschedule_pending_plan_changes_params.rbs +2 -0
  323. data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +173 -0
  324. data/sig/orb/models/subscription_update_fixed_fee_quantity_params.rbs +9 -0
  325. data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +173 -0
  326. data/sig/orb/models/subscription_update_params.rbs +9 -0
  327. data/sig/orb/models/subscription_update_trial_params.rbs +6 -0
  328. data/sig/orb/models/subscription_update_trial_response.rbs +173 -0
  329. data/sig/orb/models/subscription_usage.rbs +48 -8
  330. data/sig/orb/models/subscriptions.rbs +5 -0
  331. data/sig/orb/models/top_level_ping_params.rbs +2 -0
  332. data/sig/orb/models/top_level_ping_response.rbs +2 -0
  333. data/sig/orb/models/trial_discount.rbs +12 -4
  334. data/sig/orb/models/usage_discount.rbs +11 -4
  335. data/sig/orb/resources/invoices.rbs +1 -1
  336. data/sig/orb/resources/plans.rbs +1 -1
  337. metadata +2 -2
@@ -34,13 +34,13 @@ module Orb
34
34
  #
35
35
  # @param name [String] The full name of the customer
36
36
  #
37
- # @param accounting_sync_configuration [Orb::CustomerCreateParams::AccountingSyncConfiguration, nil]
37
+ # @param accounting_sync_configuration [Orb::Models::CustomerCreateParams::AccountingSyncConfiguration, nil]
38
38
  #
39
39
  # @param additional_emails [Array<String>, nil] Additional email addresses for this customer. If populated, these email addresse
40
40
  #
41
41
  # @param auto_collection [Boolean, nil] Used to determine if invoices for this customer will automatically attempt to ch
42
42
  #
43
- # @param billing_address [Orb::CustomerCreateParams::BillingAddress, nil]
43
+ # @param billing_address [Orb::Models::CustomerCreateParams::BillingAddress, nil]
44
44
  #
45
45
  # @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. If not
46
46
  #
@@ -48,27 +48,27 @@ module Orb
48
48
  #
49
49
  # @param external_customer_id [String, nil] An optional user-defined ID for this customer resource, used throughout the syst
50
50
  #
51
- # @param hierarchy [Orb::CustomerCreateParams::Hierarchy, nil] The hierarchical relationships for this customer.
51
+ # @param hierarchy [Orb::Models::CustomerCreateParams::Hierarchy, nil] The hierarchical relationships for this customer.
52
52
  #
53
53
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
54
54
  #
55
- # @param payment_provider [Symbol, Orb::CustomerCreateParams::PaymentProvider, nil] This is used for creating charges or invoices in an external system via Orb. Whe
55
+ # @param payment_provider [Symbol, Orb::Models::CustomerCreateParams::PaymentProvider, nil] This is used for creating charges or invoices in an external system via Orb. Whe
56
56
  #
57
57
  # @param payment_provider_id [String, nil] The ID of this customer in an external payments solution, such as Stripe. This i
58
58
  #
59
- # @param reporting_configuration [Orb::CustomerCreateParams::ReportingConfiguration, nil]
59
+ # @param reporting_configuration [Orb::Models::CustomerCreateParams::ReportingConfiguration, nil]
60
60
  #
61
- # @param shipping_address [Orb::CustomerCreateParams::ShippingAddress, nil]
61
+ # @param shipping_address [Orb::Models::CustomerCreateParams::ShippingAddress, nil]
62
62
  #
63
- # @param tax_configuration [Orb::CustomerCreateParams::TaxConfiguration::Avalara, Orb::CustomerCreateParams::TaxConfiguration::Taxjar, nil]
63
+ # @param tax_configuration [Orb::Models::CustomerCreateParams::TaxConfiguration::Avalara, Orb::Models::CustomerCreateParams::TaxConfiguration::Taxjar, nil]
64
64
  #
65
- # @param tax_id [Orb::CustomerCreateParams::TaxID, nil] Tax IDs are commonly required to be displayed on customer invoices, which are ad
65
+ # @param tax_id [Orb::Models::CustomerCreateParams::TaxID, nil] Tax IDs are commonly required to be displayed on customer invoices, which are ad
66
66
  #
67
67
  # @param timezone [String, nil] A timezone identifier from the IANA timezone database, such as `"America/Los_Ang
68
68
  #
69
69
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
70
70
  #
71
- # @return [Orb::Customer]
71
+ # @return [Orb::Models::Customer]
72
72
  #
73
73
  # @see Orb::Models::CustomerCreateParams
74
74
  def create(params)
@@ -95,13 +95,13 @@ module Orb
95
95
  #
96
96
  # @param customer_id [String]
97
97
  #
98
- # @param accounting_sync_configuration [Orb::CustomerUpdateParams::AccountingSyncConfiguration, nil]
98
+ # @param accounting_sync_configuration [Orb::Models::CustomerUpdateParams::AccountingSyncConfiguration, nil]
99
99
  #
100
100
  # @param additional_emails [Array<String>, nil] Additional email addresses for this customer. If populated, these email addresse
101
101
  #
102
102
  # @param auto_collection [Boolean, nil] Used to determine if invoices for this customer will automatically attempt to ch
103
103
  #
104
- # @param billing_address [Orb::CustomerUpdateParams::BillingAddress, nil]
104
+ # @param billing_address [Orb::Models::CustomerUpdateParams::BillingAddress, nil]
105
105
  #
106
106
  # @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. If not
107
107
  #
@@ -111,27 +111,27 @@ module Orb
111
111
  #
112
112
  # @param external_customer_id [String, nil] The external customer ID. This can only be set if empty and the customer has no
113
113
  #
114
- # @param hierarchy [Orb::CustomerUpdateParams::Hierarchy, nil] The hierarchical relationships for this customer.
114
+ # @param hierarchy [Orb::Models::CustomerUpdateParams::Hierarchy, nil] The hierarchical relationships for this customer.
115
115
  #
116
116
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
117
117
  #
118
118
  # @param name [String, nil] The full name of the customer
119
119
  #
120
- # @param payment_provider [Symbol, Orb::CustomerUpdateParams::PaymentProvider, nil] This is used for creating charges or invoices in an external system via Orb. Whe
120
+ # @param payment_provider [Symbol, Orb::Models::CustomerUpdateParams::PaymentProvider, nil] This is used for creating charges or invoices in an external system via Orb. Whe
121
121
  #
122
122
  # @param payment_provider_id [String, nil] The ID of this customer in an external payments solution, such as Stripe. This i
123
123
  #
124
- # @param reporting_configuration [Orb::CustomerUpdateParams::ReportingConfiguration, nil]
124
+ # @param reporting_configuration [Orb::Models::CustomerUpdateParams::ReportingConfiguration, nil]
125
125
  #
126
- # @param shipping_address [Orb::CustomerUpdateParams::ShippingAddress, nil]
126
+ # @param shipping_address [Orb::Models::CustomerUpdateParams::ShippingAddress, nil]
127
127
  #
128
- # @param tax_configuration [Orb::CustomerUpdateParams::TaxConfiguration::Avalara, Orb::CustomerUpdateParams::TaxConfiguration::Taxjar, nil]
128
+ # @param tax_configuration [Orb::Models::CustomerUpdateParams::TaxConfiguration::Avalara, Orb::Models::CustomerUpdateParams::TaxConfiguration::Taxjar, nil]
129
129
  #
130
- # @param tax_id [Orb::CustomerUpdateParams::TaxID, nil] Tax IDs are commonly required to be displayed on customer invoices, which are ad
130
+ # @param tax_id [Orb::Models::CustomerUpdateParams::TaxID, nil] Tax IDs are commonly required to be displayed on customer invoices, which are ad
131
131
  #
132
132
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
133
133
  #
134
- # @return [Orb::Customer]
134
+ # @return [Orb::Models::Customer]
135
135
  #
136
136
  # @see Orb::Models::CustomerUpdateParams
137
137
  def update(customer_id, params = {})
@@ -171,7 +171,7 @@ module Orb
171
171
  #
172
172
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
173
173
  #
174
- # @return [Orb::Internal::Page<Orb::Customer>]
174
+ # @return [Orb::Internal::Page<Orb::Models::Customer>]
175
175
  #
176
176
  # @see Orb::Models::CustomerListParams
177
177
  def list(params = {})
@@ -236,7 +236,7 @@ module Orb
236
236
  # @param customer_id [String]
237
237
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
238
238
  #
239
- # @return [Orb::Customer]
239
+ # @return [Orb::Models::Customer]
240
240
  #
241
241
  # @see Orb::Models::CustomerFetchParams
242
242
  def fetch(customer_id, params = {})
@@ -259,7 +259,7 @@ module Orb
259
259
  # @param external_customer_id [String]
260
260
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
261
261
  #
262
- # @return [Orb::Customer]
262
+ # @return [Orb::Models::Customer]
263
263
  #
264
264
  # @see Orb::Models::CustomerFetchByExternalIDParams
265
265
  def fetch_by_external_id(external_customer_id, params = {})
@@ -334,13 +334,13 @@ module Orb
334
334
  #
335
335
  # @param id [String]
336
336
  #
337
- # @param accounting_sync_configuration [Orb::CustomerUpdateByExternalIDParams::AccountingSyncConfiguration, nil]
337
+ # @param accounting_sync_configuration [Orb::Models::CustomerUpdateByExternalIDParams::AccountingSyncConfiguration, nil]
338
338
  #
339
339
  # @param additional_emails [Array<String>, nil] Additional email addresses for this customer. If populated, these email addresse
340
340
  #
341
341
  # @param auto_collection [Boolean, nil] Used to determine if invoices for this customer will automatically attempt to ch
342
342
  #
343
- # @param billing_address [Orb::CustomerUpdateByExternalIDParams::BillingAddress, nil]
343
+ # @param billing_address [Orb::Models::CustomerUpdateByExternalIDParams::BillingAddress, nil]
344
344
  #
345
345
  # @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. If not
346
346
  #
@@ -350,27 +350,27 @@ module Orb
350
350
  #
351
351
  # @param external_customer_id [String, nil] The external customer ID. This can only be set if empty and the customer has no
352
352
  #
353
- # @param hierarchy [Orb::CustomerUpdateByExternalIDParams::Hierarchy, nil] The hierarchical relationships for this customer.
353
+ # @param hierarchy [Orb::Models::CustomerUpdateByExternalIDParams::Hierarchy, nil] The hierarchical relationships for this customer.
354
354
  #
355
355
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
356
356
  #
357
357
  # @param name [String, nil] The full name of the customer
358
358
  #
359
- # @param payment_provider [Symbol, Orb::CustomerUpdateByExternalIDParams::PaymentProvider, nil] This is used for creating charges or invoices in an external system via Orb. Whe
359
+ # @param payment_provider [Symbol, Orb::Models::CustomerUpdateByExternalIDParams::PaymentProvider, nil] This is used for creating charges or invoices in an external system via Orb. Whe
360
360
  #
361
361
  # @param payment_provider_id [String, nil] The ID of this customer in an external payments solution, such as Stripe. This i
362
362
  #
363
- # @param reporting_configuration [Orb::CustomerUpdateByExternalIDParams::ReportingConfiguration, nil]
363
+ # @param reporting_configuration [Orb::Models::CustomerUpdateByExternalIDParams::ReportingConfiguration, nil]
364
364
  #
365
- # @param shipping_address [Orb::CustomerUpdateByExternalIDParams::ShippingAddress, nil]
365
+ # @param shipping_address [Orb::Models::CustomerUpdateByExternalIDParams::ShippingAddress, nil]
366
366
  #
367
- # @param tax_configuration [Orb::CustomerUpdateByExternalIDParams::TaxConfiguration::Avalara, Orb::CustomerUpdateByExternalIDParams::TaxConfiguration::Taxjar, nil]
367
+ # @param tax_configuration [Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Avalara, Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::Taxjar, nil]
368
368
  #
369
- # @param tax_id [Orb::CustomerUpdateByExternalIDParams::TaxID, nil] Tax IDs are commonly required to be displayed on customer invoices, which are ad
369
+ # @param tax_id [Orb::Models::CustomerUpdateByExternalIDParams::TaxID, nil] Tax IDs are commonly required to be displayed on customer invoices, which are ad
370
370
  #
371
371
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
372
372
  #
373
- # @return [Orb::Customer]
373
+ # @return [Orb::Models::Customer]
374
374
  #
375
375
  # @see Orb::Models::CustomerUpdateByExternalIDParams
376
376
  def update_by_external_id(id, params = {})
@@ -11,7 +11,7 @@ module Orb
11
11
  # @param external_dimensional_price_group_id [String]
12
12
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
13
13
  #
14
- # @return [Orb::DimensionalPriceGroup]
14
+ # @return [Orb::Models::DimensionalPriceGroup]
15
15
  #
16
16
  # @see Orb::Models::DimensionalPriceGroups::ExternalDimensionalPriceGroupIDRetrieveParams
17
17
  def retrieve(external_dimensional_price_group_id, params = {})
@@ -32,7 +32,7 @@ module Orb
32
32
  #
33
33
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
34
34
  #
35
- # @return [Orb::DimensionalPriceGroup]
35
+ # @return [Orb::Models::DimensionalPriceGroup]
36
36
  #
37
37
  # @see Orb::Models::DimensionalPriceGroupCreateParams
38
38
  def create(params)
@@ -53,7 +53,7 @@ module Orb
53
53
  # @param dimensional_price_group_id [String]
54
54
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
55
55
  #
56
- # @return [Orb::DimensionalPriceGroup]
56
+ # @return [Orb::Models::DimensionalPriceGroup]
57
57
  #
58
58
  # @see Orb::Models::DimensionalPriceGroupRetrieveParams
59
59
  def retrieve(dimensional_price_group_id, params = {})
@@ -78,7 +78,7 @@ module Orb
78
78
  #
79
79
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
80
80
  #
81
- # @return [Orb::Internal::Page<Orb::DimensionalPriceGroup>]
81
+ # @return [Orb::Internal::Page<Orb::Models::DimensionalPriceGroup>]
82
82
  #
83
83
  # @see Orb::Models::DimensionalPriceGroupListParams
84
84
  def list(params = {})
@@ -33,7 +33,7 @@ module Orb
33
33
  #
34
34
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
35
35
  #
36
- # @return [Orb::Events::EventVolumes]
36
+ # @return [Orb::Models::Events::EventVolumes]
37
37
  #
38
38
  # @see Orb::Models::Events::VolumeListParams
39
39
  def list(params)
@@ -356,7 +356,7 @@ module Orb
356
356
  #
357
357
  # @overload ingest(events:, backfill_id: nil, debug: nil, request_options: {})
358
358
  #
359
- # @param events [Array<Orb::EventIngestParams::Event>] Body param:
359
+ # @param events [Array<Orb::Models::EventIngestParams::Event>] Body param:
360
360
  #
361
361
  # @param backfill_id [String, nil] Query param: If this ingestion request is part of a backfill, this parameter tie
362
362
  #
@@ -14,13 +14,13 @@ module Orb
14
14
  #
15
15
  # @param invoice_date [Time] Optional invoice date to set. Must be in the past, if not set, `invoice_date` is
16
16
  #
17
- # @param line_items [Array<Orb::InvoiceCreateParams::LineItem>]
17
+ # @param line_items [Array<Orb::Models::InvoiceCreateParams::LineItem>]
18
18
  #
19
19
  # @param net_terms [Integer] Determines the difference between the invoice issue date for subscription invoic
20
20
  #
21
21
  # @param customer_id [String, nil] The id of the `Customer` to create this invoice for. One of `customer_id` and `e
22
22
  #
23
- # @param discount [Orb::PercentageDiscount, Orb::TrialDiscount, Orb::UsageDiscount, Orb::AmountDiscount, nil] An optional discount to attach to the invoice.
23
+ # @param discount [Orb::Models::PercentageDiscount, Orb::Models::TrialDiscount, Orb::Models::UsageDiscount, Orb::Models::AmountDiscount, nil] An optional discount to attach to the invoice.
24
24
  #
25
25
  # @param external_customer_id [String, nil] The `external_customer_id` of the `Customer` to create this invoice for. One of
26
26
  #
@@ -32,7 +32,7 @@ module Orb
32
32
  #
33
33
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
34
34
  #
35
- # @return [Orb::Invoice]
35
+ # @return [Orb::Models::Invoice]
36
36
  #
37
37
  # @see Orb::Models::InvoiceCreateParams
38
38
  def create(params)
@@ -57,7 +57,7 @@ module Orb
57
57
  #
58
58
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
59
59
  #
60
- # @return [Orb::Invoice]
60
+ # @return [Orb::Models::Invoice]
61
61
  #
62
62
  # @see Orb::Models::InvoiceUpdateParams
63
63
  def update(invoice_id, params = {})
@@ -100,7 +100,7 @@ module Orb
100
100
  #
101
101
  # @param customer_id [String, nil]
102
102
  #
103
- # @param date_type [Symbol, Orb::InvoiceListParams::DateType, nil]
103
+ # @param date_type [Symbol, Orb::Models::InvoiceListParams::DateType, nil]
104
104
  #
105
105
  # @param due_date [Date, nil]
106
106
  #
@@ -124,13 +124,13 @@ module Orb
124
124
  #
125
125
  # @param limit [Integer] The number of items to fetch. Defaults to 20.
126
126
  #
127
- # @param status [Array<Symbol, Orb::InvoiceListParams::Status>, nil]
127
+ # @param status [Array<Symbol, Orb::Models::InvoiceListParams::Status>, nil]
128
128
  #
129
129
  # @param subscription_id [String, nil]
130
130
  #
131
131
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
132
132
  #
133
- # @return [Orb::Internal::Page<Orb::Invoice>]
133
+ # @return [Orb::Internal::Page<Orb::Models::Invoice>]
134
134
  #
135
135
  # @see Orb::Models::InvoiceListParams
136
136
  def list(params = {})
@@ -162,7 +162,7 @@ module Orb
162
162
  # @param invoice_id [String]
163
163
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
164
164
  #
165
- # @return [Orb::Invoice]
165
+ # @return [Orb::Models::Invoice]
166
166
  #
167
167
  # @see Orb::Models::InvoiceFetchParams
168
168
  def fetch(invoice_id, params = {})
@@ -215,7 +215,7 @@ module Orb
215
215
  #
216
216
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
217
217
  #
218
- # @return [Orb::Invoice]
218
+ # @return [Orb::Models::Invoice]
219
219
  #
220
220
  # @see Orb::Models::InvoiceIssueParams
221
221
  def issue(invoice_id, params = {})
@@ -244,7 +244,7 @@ module Orb
244
244
  #
245
245
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
246
246
  #
247
- # @return [Orb::Invoice]
247
+ # @return [Orb::Models::Invoice]
248
248
  #
249
249
  # @see Orb::Models::InvoiceMarkPaidParams
250
250
  def mark_paid(invoice_id, params)
@@ -266,7 +266,7 @@ module Orb
266
266
  # @param invoice_id [String]
267
267
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
268
268
  #
269
- # @return [Orb::Invoice]
269
+ # @return [Orb::Models::Invoice]
270
270
  #
271
271
  # @see Orb::Models::InvoicePayParams
272
272
  def pay(invoice_id, params = {})
@@ -295,7 +295,7 @@ module Orb
295
295
  # @param invoice_id [String]
296
296
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
297
297
  #
298
- # @return [Orb::Invoice]
298
+ # @return [Orb::Models::Invoice]
299
299
  #
300
300
  # @see Orb::Models::InvoiceVoidParams
301
301
  def void(invoice_id, params = {})
@@ -11,7 +11,7 @@ module Orb
11
11
  #
12
12
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
13
13
  #
14
- # @return [Orb::Item]
14
+ # @return [Orb::Models::Item]
15
15
  #
16
16
  # @see Orb::Models::ItemCreateParams
17
17
  def create(params)
@@ -24,11 +24,11 @@ module Orb
24
24
  # @overload update(item_id, external_connections: nil, name: nil, request_options: {})
25
25
  #
26
26
  # @param item_id [String]
27
- # @param external_connections [Array<Orb::ItemUpdateParams::ExternalConnection>, nil]
27
+ # @param external_connections [Array<Orb::Models::ItemUpdateParams::ExternalConnection>, nil]
28
28
  # @param name [String, nil]
29
29
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
30
30
  #
31
- # @return [Orb::Item]
31
+ # @return [Orb::Models::Item]
32
32
  #
33
33
  # @see Orb::Models::ItemUpdateParams
34
34
  def update(item_id, params = {})
@@ -56,7 +56,7 @@ module Orb
56
56
  #
57
57
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
58
58
  #
59
- # @return [Orb::Internal::Page<Orb::Item>]
59
+ # @return [Orb::Internal::Page<Orb::Models::Item>]
60
60
  #
61
61
  # @see Orb::Models::ItemListParams
62
62
  def list(params = {})
@@ -78,7 +78,7 @@ module Orb
78
78
  # @param item_id [String]
79
79
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
80
80
  #
81
- # @return [Orb::Item]
81
+ # @return [Orb::Models::Item]
82
82
  #
83
83
  # @see Orb::Models::ItemFetchParams
84
84
  def fetch(item_id, params = {})
@@ -24,7 +24,7 @@ module Orb
24
24
  #
25
25
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
26
26
  #
27
- # @return [Orb::BillableMetric]
27
+ # @return [Orb::Models::BillableMetric]
28
28
  #
29
29
  # @see Orb::Models::MetricCreateParams
30
30
  def create(params)
@@ -53,7 +53,7 @@ module Orb
53
53
  #
54
54
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
55
55
  #
56
- # @return [Orb::BillableMetric]
56
+ # @return [Orb::Models::BillableMetric]
57
57
  #
58
58
  # @see Orb::Models::MetricUpdateParams
59
59
  def update(metric_id, params = {})
@@ -90,7 +90,7 @@ module Orb
90
90
  #
91
91
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
92
92
  #
93
- # @return [Orb::Internal::Page<Orb::BillableMetric>]
93
+ # @return [Orb::Internal::Page<Orb::Models::BillableMetric>]
94
94
  #
95
95
  # @see Orb::Models::MetricListParams
96
96
  def list(params = {})
@@ -118,7 +118,7 @@ module Orb
118
118
  # @param metric_id [String]
119
119
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
120
120
  #
121
- # @return [Orb::BillableMetric]
121
+ # @return [Orb::Models::BillableMetric]
122
122
  #
123
123
  # @see Orb::Models::MetricFetchParams
124
124
  def fetch(metric_id, params = {})
@@ -22,7 +22,7 @@ module Orb
22
22
  #
23
23
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
24
24
  #
25
- # @return [Orb::Plan]
25
+ # @return [Orb::Models::Plan]
26
26
  #
27
27
  # @see Orb::Models::Plans::ExternalPlanIDUpdateParams
28
28
  def update(other_external_plan_id, params = {})
@@ -58,7 +58,7 @@ module Orb
58
58
  # @param external_plan_id [String]
59
59
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
60
60
  #
61
- # @return [Orb::Plan]
61
+ # @return [Orb::Models::Plan]
62
62
  #
63
63
  # @see Orb::Models::Plans::ExternalPlanIDFetchParams
64
64
  def fetch(external_plan_id, params = {})
@@ -17,7 +17,7 @@ module Orb
17
17
  #
18
18
  # @param name [String]
19
19
  #
20
- # @param prices [Array<Orb::PlanCreateParams::Price::Unit, Orb::PlanCreateParams::Price::Package, Orb::PlanCreateParams::Price::Matrix, Orb::PlanCreateParams::Price::Tiered, Orb::PlanCreateParams::Price::TieredBps, Orb::PlanCreateParams::Price::Bps, Orb::PlanCreateParams::Price::BulkBps, Orb::PlanCreateParams::Price::Bulk, Orb::PlanCreateParams::Price::ThresholdTotalAmount, Orb::PlanCreateParams::Price::TieredPackage, Orb::PlanCreateParams::Price::TieredWithMinimum, Orb::PlanCreateParams::Price::UnitWithPercent, Orb::PlanCreateParams::Price::PackageWithAllocation, Orb::PlanCreateParams::Price::TieredWithProration, Orb::PlanCreateParams::Price::UnitWithProration, Orb::PlanCreateParams::Price::GroupedAllocation, Orb::PlanCreateParams::Price::GroupedWithProratedMinimum, Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum, Orb::PlanCreateParams::Price::MatrixWithDisplayName, Orb::PlanCreateParams::Price::BulkWithProration, Orb::PlanCreateParams::Price::GroupedTieredPackage, Orb::PlanCreateParams::Price::MaxGroupTieredPackage, Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing, Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing, Orb::PlanCreateParams::Price::CumulativeGroupedBulk>] Prices for this plan. If the plan has phases, this includes prices across all ph
20
+ # @param prices [Array<Orb::Models::PlanCreateParams::Price::Unit, Orb::Models::PlanCreateParams::Price::Package, Orb::Models::PlanCreateParams::Price::Matrix, Orb::Models::PlanCreateParams::Price::Tiered, Orb::Models::PlanCreateParams::Price::TieredBps, Orb::Models::PlanCreateParams::Price::Bps, Orb::Models::PlanCreateParams::Price::BulkBps, Orb::Models::PlanCreateParams::Price::Bulk, Orb::Models::PlanCreateParams::Price::ThresholdTotalAmount, Orb::Models::PlanCreateParams::Price::TieredPackage, Orb::Models::PlanCreateParams::Price::TieredWithMinimum, Orb::Models::PlanCreateParams::Price::UnitWithPercent, Orb::Models::PlanCreateParams::Price::PackageWithAllocation, Orb::Models::PlanCreateParams::Price::TieredWithProration, Orb::Models::PlanCreateParams::Price::UnitWithProration, Orb::Models::PlanCreateParams::Price::GroupedAllocation, Orb::Models::PlanCreateParams::Price::GroupedWithProratedMinimum, Orb::Models::PlanCreateParams::Price::GroupedWithMeteredMinimum, Orb::Models::PlanCreateParams::Price::MatrixWithDisplayName, Orb::Models::PlanCreateParams::Price::BulkWithProration, Orb::Models::PlanCreateParams::Price::GroupedTieredPackage, Orb::Models::PlanCreateParams::Price::MaxGroupTieredPackage, Orb::Models::PlanCreateParams::Price::ScalableMatrixWithUnitPricing, Orb::Models::PlanCreateParams::Price::ScalableMatrixWithTieredPricing, Orb::Models::PlanCreateParams::Price::CumulativeGroupedBulk>] Prices for this plan. If the plan has phases, this includes prices across all ph
21
21
  #
22
22
  # @param default_invoice_memo [String, nil] Free-form text which is available on the invoice PDF and the Orb invoice portal.
23
23
  #
@@ -27,11 +27,11 @@ module Orb
27
27
  #
28
28
  # @param net_terms [Integer, nil] The net terms determines the difference between the invoice date and the issue d
29
29
  #
30
- # @param status [Symbol, Orb::PlanCreateParams::Status] The status of the plan to create (either active or draft). If not specified, thi
30
+ # @param status [Symbol, Orb::Models::PlanCreateParams::Status] The status of the plan to create (either active or draft). If not specified, thi
31
31
  #
32
32
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
33
33
  #
34
- # @return [Orb::Plan]
34
+ # @return [Orb::Models::Plan]
35
35
  #
36
36
  # @see Orb::Models::PlanCreateParams
37
37
  def create(params)
@@ -57,7 +57,7 @@ module Orb
57
57
  #
58
58
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
59
59
  #
60
- # @return [Orb::Plan]
60
+ # @return [Orb::Models::Plan]
61
61
  #
62
62
  # @see Orb::Models::PlanUpdateParams
63
63
  def update(plan_id, params = {})
@@ -94,11 +94,11 @@ module Orb
94
94
  #
95
95
  # @param limit [Integer] The number of items to fetch. Defaults to 20.
96
96
  #
97
- # @param status [Symbol, Orb::PlanListParams::Status] The plan status to filter to ('active', 'archived', or 'draft').
97
+ # @param status [Symbol, Orb::Models::PlanListParams::Status] The plan status to filter to ('active', 'archived', or 'draft').
98
98
  #
99
99
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
100
100
  #
101
- # @return [Orb::Internal::Page<Orb::Plan>]
101
+ # @return [Orb::Internal::Page<Orb::Models::Plan>]
102
102
  #
103
103
  # @see Orb::Models::PlanListParams
104
104
  def list(params = {})
@@ -141,7 +141,7 @@ module Orb
141
141
  # @param plan_id [String]
142
142
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
143
143
  #
144
- # @return [Orb::Plan]
144
+ # @return [Orb::Models::Plan]
145
145
  #
146
146
  # @see Orb::Models::PlanFetchParams
147
147
  def fetch(plan_id, params = {})
@@ -19,7 +19,7 @@ module Orb
19
19
  #
20
20
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
21
21
  #
22
- # @return [Orb::Price::Unit, Orb::Price::Package, Orb::Price::Matrix, Orb::Price::Tiered, Orb::Price::TieredBps, Orb::Price::Bps, Orb::Price::BulkBps, Orb::Price::Bulk, Orb::Price::ThresholdTotalAmount, Orb::Price::TieredPackage, Orb::Price::GroupedTiered, Orb::Price::TieredWithMinimum, Orb::Price::TieredPackageWithMinimum, Orb::Price::PackageWithAllocation, Orb::Price::UnitWithPercent, Orb::Price::MatrixWithAllocation, Orb::Price::TieredWithProration, Orb::Price::UnitWithProration, Orb::Price::GroupedAllocation, Orb::Price::GroupedWithProratedMinimum, Orb::Price::GroupedWithMeteredMinimum, Orb::Price::MatrixWithDisplayName, Orb::Price::BulkWithProration, Orb::Price::GroupedTieredPackage, Orb::Price::MaxGroupTieredPackage, Orb::Price::ScalableMatrixWithUnitPricing, Orb::Price::ScalableMatrixWithTieredPricing, Orb::Price::CumulativeGroupedBulk]
22
+ # @return [Orb::Models::Price::Unit, Orb::Models::Price::Package, Orb::Models::Price::Matrix, Orb::Models::Price::Tiered, Orb::Models::Price::TieredBps, Orb::Models::Price::Bps, Orb::Models::Price::BulkBps, Orb::Models::Price::Bulk, Orb::Models::Price::ThresholdTotalAmount, Orb::Models::Price::TieredPackage, Orb::Models::Price::GroupedTiered, Orb::Models::Price::TieredWithMinimum, Orb::Models::Price::TieredPackageWithMinimum, Orb::Models::Price::PackageWithAllocation, Orb::Models::Price::UnitWithPercent, Orb::Models::Price::MatrixWithAllocation, Orb::Models::Price::TieredWithProration, Orb::Models::Price::UnitWithProration, Orb::Models::Price::GroupedAllocation, Orb::Models::Price::GroupedWithProratedMinimum, Orb::Models::Price::GroupedWithMeteredMinimum, Orb::Models::Price::MatrixWithDisplayName, Orb::Models::Price::BulkWithProration, Orb::Models::Price::GroupedTieredPackage, Orb::Models::Price::MaxGroupTieredPackage, Orb::Models::Price::ScalableMatrixWithUnitPricing, Orb::Models::Price::ScalableMatrixWithTieredPricing, Orb::Models::Price::CumulativeGroupedBulk]
23
23
  #
24
24
  # @see Orb::Models::Prices::ExternalPriceIDUpdateParams
25
25
  def update(external_price_id, params = {})
@@ -42,7 +42,7 @@ module Orb
42
42
  # @param external_price_id [String]
43
43
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
44
44
  #
45
- # @return [Orb::Price::Unit, Orb::Price::Package, Orb::Price::Matrix, Orb::Price::Tiered, Orb::Price::TieredBps, Orb::Price::Bps, Orb::Price::BulkBps, Orb::Price::Bulk, Orb::Price::ThresholdTotalAmount, Orb::Price::TieredPackage, Orb::Price::GroupedTiered, Orb::Price::TieredWithMinimum, Orb::Price::TieredPackageWithMinimum, Orb::Price::PackageWithAllocation, Orb::Price::UnitWithPercent, Orb::Price::MatrixWithAllocation, Orb::Price::TieredWithProration, Orb::Price::UnitWithProration, Orb::Price::GroupedAllocation, Orb::Price::GroupedWithProratedMinimum, Orb::Price::GroupedWithMeteredMinimum, Orb::Price::MatrixWithDisplayName, Orb::Price::BulkWithProration, Orb::Price::GroupedTieredPackage, Orb::Price::MaxGroupTieredPackage, Orb::Price::ScalableMatrixWithUnitPricing, Orb::Price::ScalableMatrixWithTieredPricing, Orb::Price::CumulativeGroupedBulk]
45
+ # @return [Orb::Models::Price::Unit, Orb::Models::Price::Package, Orb::Models::Price::Matrix, Orb::Models::Price::Tiered, Orb::Models::Price::TieredBps, Orb::Models::Price::Bps, Orb::Models::Price::BulkBps, Orb::Models::Price::Bulk, Orb::Models::Price::ThresholdTotalAmount, Orb::Models::Price::TieredPackage, Orb::Models::Price::GroupedTiered, Orb::Models::Price::TieredWithMinimum, Orb::Models::Price::TieredPackageWithMinimum, Orb::Models::Price::PackageWithAllocation, Orb::Models::Price::UnitWithPercent, Orb::Models::Price::MatrixWithAllocation, Orb::Models::Price::TieredWithProration, Orb::Models::Price::UnitWithProration, Orb::Models::Price::GroupedAllocation, Orb::Models::Price::GroupedWithProratedMinimum, Orb::Models::Price::GroupedWithMeteredMinimum, Orb::Models::Price::MatrixWithDisplayName, Orb::Models::Price::BulkWithProration, Orb::Models::Price::GroupedTieredPackage, Orb::Models::Price::MaxGroupTieredPackage, Orb::Models::Price::ScalableMatrixWithUnitPricing, Orb::Models::Price::ScalableMatrixWithTieredPricing, Orb::Models::Price::CumulativeGroupedBulk]
46
46
  #
47
47
  # @see Orb::Models::Prices::ExternalPriceIDFetchParams
48
48
  def fetch(external_price_id, params = {})
@@ -22,33 +22,33 @@ module Orb
22
22
  #
23
23
  # @overload create(cadence:, currency:, item_id:, model_type:, name:, unit_config:, package_config:, matrix_config:, matrix_with_allocation_config:, tiered_config:, tiered_bps_config:, bps_config:, bulk_bps_config:, bulk_config:, threshold_total_amount_config:, tiered_package_config:, grouped_tiered_config:, max_group_tiered_package_config:, tiered_with_minimum_config:, package_with_allocation_config:, tiered_package_with_minimum_config:, unit_with_percent_config:, tiered_with_proration_config:, unit_with_proration_config:, grouped_allocation_config:, grouped_with_prorated_minimum_config:, grouped_with_metered_minimum_config:, matrix_with_display_name_config:, bulk_with_proration_config:, grouped_tiered_package_config:, scalable_matrix_with_unit_pricing_config:, scalable_matrix_with_tiered_pricing_config:, cumulative_grouped_bulk_config:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil, request_options: {})
24
24
  #
25
- # @param cadence [Symbol, Orb::PriceCreateParams::Cadence] The cadence to bill for this price on.
25
+ # @param cadence [Symbol, Orb::Models::PriceCreateParams::Cadence] The cadence to bill for this price on.
26
26
  #
27
27
  # @param currency [String] An ISO 4217 currency string for which this price is billed in.
28
28
  #
29
29
  # @param item_id [String] The id of the item the price will be associated with.
30
30
  #
31
- # @param model_type [Symbol, Orb::PriceCreateParams::ModelType]
31
+ # @param model_type [Symbol, Orb::Models::PriceCreateParams::ModelType]
32
32
  #
33
33
  # @param name [String] The name of the price.
34
34
  #
35
- # @param unit_config [Orb::PriceCreateParams::UnitConfig]
35
+ # @param unit_config [Orb::Models::PriceCreateParams::UnitConfig]
36
36
  #
37
- # @param package_config [Orb::PriceCreateParams::PackageConfig]
37
+ # @param package_config [Orb::Models::PriceCreateParams::PackageConfig]
38
38
  #
39
- # @param matrix_config [Orb::PriceCreateParams::MatrixConfig]
39
+ # @param matrix_config [Orb::Models::PriceCreateParams::MatrixConfig]
40
40
  #
41
- # @param matrix_with_allocation_config [Orb::PriceCreateParams::MatrixWithAllocationConfig]
41
+ # @param matrix_with_allocation_config [Orb::Models::PriceCreateParams::MatrixWithAllocationConfig]
42
42
  #
43
- # @param tiered_config [Orb::PriceCreateParams::TieredConfig]
43
+ # @param tiered_config [Orb::Models::PriceCreateParams::TieredConfig]
44
44
  #
45
- # @param tiered_bps_config [Orb::PriceCreateParams::TieredBpsConfig]
45
+ # @param tiered_bps_config [Orb::Models::PriceCreateParams::TieredBpsConfig]
46
46
  #
47
- # @param bps_config [Orb::PriceCreateParams::BpsConfig]
47
+ # @param bps_config [Orb::Models::PriceCreateParams::BpsConfig]
48
48
  #
49
- # @param bulk_bps_config [Orb::PriceCreateParams::BulkBpsConfig]
49
+ # @param bulk_bps_config [Orb::Models::PriceCreateParams::BulkBpsConfig]
50
50
  #
51
- # @param bulk_config [Orb::PriceCreateParams::BulkConfig]
51
+ # @param bulk_config [Orb::Models::PriceCreateParams::BulkConfig]
52
52
  #
53
53
  # @param threshold_total_amount_config [Hash{Symbol=>Object}]
54
54
  #
@@ -92,7 +92,7 @@ module Orb
92
92
  #
93
93
  # @param billed_in_advance [Boolean, nil] If the Price represents a fixed cost, the price will be billed in-advance if thi
94
94
  #
95
- # @param billing_cycle_configuration [Orb::PriceCreateParams::BillingCycleConfiguration, nil] For custom cadence: specifies the duration of the billing period in days or mont
95
+ # @param billing_cycle_configuration [Orb::Models::PriceCreateParams::BillingCycleConfiguration, nil] For custom cadence: specifies the duration of the billing period in days or mont
96
96
  #
97
97
  # @param conversion_rate [Float, nil] The per unit conversion rate of the price currency to the invoicing currency.
98
98
  #
@@ -102,13 +102,13 @@ module Orb
102
102
  #
103
103
  # @param invoice_grouping_key [String, nil] The property used to group this price on an invoice
104
104
  #
105
- # @param invoicing_cycle_configuration [Orb::PriceCreateParams::InvoicingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
105
+ # @param invoicing_cycle_configuration [Orb::Models::PriceCreateParams::InvoicingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
106
106
  #
107
107
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
108
108
  #
109
109
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
110
110
  #
111
- # @return [Orb::Price::Unit, Orb::Price::Package, Orb::Price::Matrix, Orb::Price::Tiered, Orb::Price::TieredBps, Orb::Price::Bps, Orb::Price::BulkBps, Orb::Price::Bulk, Orb::Price::ThresholdTotalAmount, Orb::Price::TieredPackage, Orb::Price::GroupedTiered, Orb::Price::TieredWithMinimum, Orb::Price::TieredPackageWithMinimum, Orb::Price::PackageWithAllocation, Orb::Price::UnitWithPercent, Orb::Price::MatrixWithAllocation, Orb::Price::TieredWithProration, Orb::Price::UnitWithProration, Orb::Price::GroupedAllocation, Orb::Price::GroupedWithProratedMinimum, Orb::Price::GroupedWithMeteredMinimum, Orb::Price::MatrixWithDisplayName, Orb::Price::BulkWithProration, Orb::Price::GroupedTieredPackage, Orb::Price::MaxGroupTieredPackage, Orb::Price::ScalableMatrixWithUnitPricing, Orb::Price::ScalableMatrixWithTieredPricing, Orb::Price::CumulativeGroupedBulk]
111
+ # @return [Orb::Models::Price::Unit, Orb::Models::Price::Package, Orb::Models::Price::Matrix, Orb::Models::Price::Tiered, Orb::Models::Price::TieredBps, Orb::Models::Price::Bps, Orb::Models::Price::BulkBps, Orb::Models::Price::Bulk, Orb::Models::Price::ThresholdTotalAmount, Orb::Models::Price::TieredPackage, Orb::Models::Price::GroupedTiered, Orb::Models::Price::TieredWithMinimum, Orb::Models::Price::TieredPackageWithMinimum, Orb::Models::Price::PackageWithAllocation, Orb::Models::Price::UnitWithPercent, Orb::Models::Price::MatrixWithAllocation, Orb::Models::Price::TieredWithProration, Orb::Models::Price::UnitWithProration, Orb::Models::Price::GroupedAllocation, Orb::Models::Price::GroupedWithProratedMinimum, Orb::Models::Price::GroupedWithMeteredMinimum, Orb::Models::Price::MatrixWithDisplayName, Orb::Models::Price::BulkWithProration, Orb::Models::Price::GroupedTieredPackage, Orb::Models::Price::MaxGroupTieredPackage, Orb::Models::Price::ScalableMatrixWithUnitPricing, Orb::Models::Price::ScalableMatrixWithTieredPricing, Orb::Models::Price::CumulativeGroupedBulk]
112
112
  #
113
113
  # @see Orb::Models::PriceCreateParams
114
114
  def create(params)
@@ -131,7 +131,7 @@ module Orb
131
131
  #
132
132
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
133
133
  #
134
- # @return [Orb::Price::Unit, Orb::Price::Package, Orb::Price::Matrix, Orb::Price::Tiered, Orb::Price::TieredBps, Orb::Price::Bps, Orb::Price::BulkBps, Orb::Price::Bulk, Orb::Price::ThresholdTotalAmount, Orb::Price::TieredPackage, Orb::Price::GroupedTiered, Orb::Price::TieredWithMinimum, Orb::Price::TieredPackageWithMinimum, Orb::Price::PackageWithAllocation, Orb::Price::UnitWithPercent, Orb::Price::MatrixWithAllocation, Orb::Price::TieredWithProration, Orb::Price::UnitWithProration, Orb::Price::GroupedAllocation, Orb::Price::GroupedWithProratedMinimum, Orb::Price::GroupedWithMeteredMinimum, Orb::Price::MatrixWithDisplayName, Orb::Price::BulkWithProration, Orb::Price::GroupedTieredPackage, Orb::Price::MaxGroupTieredPackage, Orb::Price::ScalableMatrixWithUnitPricing, Orb::Price::ScalableMatrixWithTieredPricing, Orb::Price::CumulativeGroupedBulk]
134
+ # @return [Orb::Models::Price::Unit, Orb::Models::Price::Package, Orb::Models::Price::Matrix, Orb::Models::Price::Tiered, Orb::Models::Price::TieredBps, Orb::Models::Price::Bps, Orb::Models::Price::BulkBps, Orb::Models::Price::Bulk, Orb::Models::Price::ThresholdTotalAmount, Orb::Models::Price::TieredPackage, Orb::Models::Price::GroupedTiered, Orb::Models::Price::TieredWithMinimum, Orb::Models::Price::TieredPackageWithMinimum, Orb::Models::Price::PackageWithAllocation, Orb::Models::Price::UnitWithPercent, Orb::Models::Price::MatrixWithAllocation, Orb::Models::Price::TieredWithProration, Orb::Models::Price::UnitWithProration, Orb::Models::Price::GroupedAllocation, Orb::Models::Price::GroupedWithProratedMinimum, Orb::Models::Price::GroupedWithMeteredMinimum, Orb::Models::Price::MatrixWithDisplayName, Orb::Models::Price::BulkWithProration, Orb::Models::Price::GroupedTieredPackage, Orb::Models::Price::MaxGroupTieredPackage, Orb::Models::Price::ScalableMatrixWithUnitPricing, Orb::Models::Price::ScalableMatrixWithTieredPricing, Orb::Models::Price::CumulativeGroupedBulk]
135
135
  #
136
136
  # @see Orb::Models::PriceUpdateParams
137
137
  def update(price_id, params = {})
@@ -159,7 +159,7 @@ module Orb
159
159
  #
160
160
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
161
161
  #
162
- # @return [Orb::Internal::Page<Orb::Price::Unit, Orb::Price::Package, Orb::Price::Matrix, Orb::Price::Tiered, Orb::Price::TieredBps, Orb::Price::Bps, Orb::Price::BulkBps, Orb::Price::Bulk, Orb::Price::ThresholdTotalAmount, Orb::Price::TieredPackage, Orb::Price::GroupedTiered, Orb::Price::TieredWithMinimum, Orb::Price::TieredPackageWithMinimum, Orb::Price::PackageWithAllocation, Orb::Price::UnitWithPercent, Orb::Price::MatrixWithAllocation, Orb::Price::TieredWithProration, Orb::Price::UnitWithProration, Orb::Price::GroupedAllocation, Orb::Price::GroupedWithProratedMinimum, Orb::Price::GroupedWithMeteredMinimum, Orb::Price::MatrixWithDisplayName, Orb::Price::BulkWithProration, Orb::Price::GroupedTieredPackage, Orb::Price::MaxGroupTieredPackage, Orb::Price::ScalableMatrixWithUnitPricing, Orb::Price::ScalableMatrixWithTieredPricing, Orb::Price::CumulativeGroupedBulk>]
162
+ # @return [Orb::Internal::Page<Orb::Models::Price::Unit, Orb::Models::Price::Package, Orb::Models::Price::Matrix, Orb::Models::Price::Tiered, Orb::Models::Price::TieredBps, Orb::Models::Price::Bps, Orb::Models::Price::BulkBps, Orb::Models::Price::Bulk, Orb::Models::Price::ThresholdTotalAmount, Orb::Models::Price::TieredPackage, Orb::Models::Price::GroupedTiered, Orb::Models::Price::TieredWithMinimum, Orb::Models::Price::TieredPackageWithMinimum, Orb::Models::Price::PackageWithAllocation, Orb::Models::Price::UnitWithPercent, Orb::Models::Price::MatrixWithAllocation, Orb::Models::Price::TieredWithProration, Orb::Models::Price::UnitWithProration, Orb::Models::Price::GroupedAllocation, Orb::Models::Price::GroupedWithProratedMinimum, Orb::Models::Price::GroupedWithMeteredMinimum, Orb::Models::Price::MatrixWithDisplayName, Orb::Models::Price::BulkWithProration, Orb::Models::Price::GroupedTieredPackage, Orb::Models::Price::MaxGroupTieredPackage, Orb::Models::Price::ScalableMatrixWithUnitPricing, Orb::Models::Price::ScalableMatrixWithTieredPricing, Orb::Models::Price::CumulativeGroupedBulk>]
163
163
  #
164
164
  # @see Orb::Models::PriceListParams
165
165
  def list(params = {})
@@ -238,7 +238,7 @@ module Orb
238
238
  # @param price_id [String]
239
239
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
240
240
  #
241
- # @return [Orb::Price::Unit, Orb::Price::Package, Orb::Price::Matrix, Orb::Price::Tiered, Orb::Price::TieredBps, Orb::Price::Bps, Orb::Price::BulkBps, Orb::Price::Bulk, Orb::Price::ThresholdTotalAmount, Orb::Price::TieredPackage, Orb::Price::GroupedTiered, Orb::Price::TieredWithMinimum, Orb::Price::TieredPackageWithMinimum, Orb::Price::PackageWithAllocation, Orb::Price::UnitWithPercent, Orb::Price::MatrixWithAllocation, Orb::Price::TieredWithProration, Orb::Price::UnitWithProration, Orb::Price::GroupedAllocation, Orb::Price::GroupedWithProratedMinimum, Orb::Price::GroupedWithMeteredMinimum, Orb::Price::MatrixWithDisplayName, Orb::Price::BulkWithProration, Orb::Price::GroupedTieredPackage, Orb::Price::MaxGroupTieredPackage, Orb::Price::ScalableMatrixWithUnitPricing, Orb::Price::ScalableMatrixWithTieredPricing, Orb::Price::CumulativeGroupedBulk]
241
+ # @return [Orb::Models::Price::Unit, Orb::Models::Price::Package, Orb::Models::Price::Matrix, Orb::Models::Price::Tiered, Orb::Models::Price::TieredBps, Orb::Models::Price::Bps, Orb::Models::Price::BulkBps, Orb::Models::Price::Bulk, Orb::Models::Price::ThresholdTotalAmount, Orb::Models::Price::TieredPackage, Orb::Models::Price::GroupedTiered, Orb::Models::Price::TieredWithMinimum, Orb::Models::Price::TieredPackageWithMinimum, Orb::Models::Price::PackageWithAllocation, Orb::Models::Price::UnitWithPercent, Orb::Models::Price::MatrixWithAllocation, Orb::Models::Price::TieredWithProration, Orb::Models::Price::UnitWithProration, Orb::Models::Price::GroupedAllocation, Orb::Models::Price::GroupedWithProratedMinimum, Orb::Models::Price::GroupedWithMeteredMinimum, Orb::Models::Price::MatrixWithDisplayName, Orb::Models::Price::BulkWithProration, Orb::Models::Price::GroupedTieredPackage, Orb::Models::Price::MaxGroupTieredPackage, Orb::Models::Price::ScalableMatrixWithUnitPricing, Orb::Models::Price::ScalableMatrixWithTieredPricing, Orb::Models::Price::CumulativeGroupedBulk]
242
242
  #
243
243
  # @see Orb::Models::PriceFetchParams
244
244
  def fetch(price_id, params = {})