orb-billing 0.3.2 → 0.4.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +1 -1
- data/lib/orb/errors.rb +1 -1
- data/lib/orb/internal/transport/base_client.rb +74 -5
- data/lib/orb/internal/transport/pooled_net_requester.rb +14 -0
- data/lib/orb/internal/type/array_of.rb +1 -1
- data/lib/orb/internal/type/base_model.rb +62 -30
- data/lib/orb/internal/type/converter.rb +18 -0
- data/lib/orb/internal/type/enum.rb +1 -0
- data/lib/orb/internal/type/hash_of.rb +1 -1
- data/lib/orb/internal/type/union.rb +1 -0
- data/lib/orb/internal/util.rb +56 -0
- data/lib/orb/internal.rb +6 -0
- data/lib/orb/models/coupon.rb +4 -0
- data/lib/orb/models/coupon_create_params.rb +6 -0
- data/lib/orb/models/customer_create_params.rb +9 -0
- data/lib/orb/models/customer_update_by_external_id_params.rb +9 -0
- data/lib/orb/models/customer_update_params.rb +9 -0
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +14 -0
- data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +14 -0
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +14 -0
- data/lib/orb/models/customers/credits/ledger_list_response.rb +14 -0
- data/lib/orb/models/discount.rb +6 -0
- data/lib/orb/models/evaluate_price_group.rb +4 -0
- data/lib/orb/models/invoice.rb +22 -0
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +22 -0
- data/lib/orb/models/invoice_level_discount.rb +4 -0
- data/lib/orb/models/invoice_line_item_create_response.rb +22 -0
- data/lib/orb/models/plan.rb +12 -0
- data/lib/orb/models/plan_create_params.rb +32 -0
- data/lib/orb/models/price.rb +35 -0
- data/lib/orb/models/subscription.rb +22 -0
- data/lib/orb/models/subscription_cancel_response.rb +22 -0
- data/lib/orb/models/subscription_change_apply_response.rb +22 -0
- data/lib/orb/models/subscription_change_cancel_response.rb +22 -0
- data/lib/orb/models/subscription_change_retrieve_response.rb +22 -0
- data/lib/orb/models/subscription_create_params.rb +88 -0
- data/lib/orb/models/subscription_create_response.rb +22 -0
- data/lib/orb/models/subscription_price_intervals_params.rb +89 -0
- data/lib/orb/models/subscription_price_intervals_response.rb +22 -0
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +88 -0
- data/lib/orb/models/subscription_schedule_plan_change_response.rb +22 -0
- data/lib/orb/models/subscription_trigger_phase_response.rb +22 -0
- data/lib/orb/models/subscription_unschedule_cancellation_response.rb +22 -0
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +22 -0
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +22 -0
- data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +22 -0
- data/lib/orb/models/subscription_update_trial_params.rb +4 -0
- data/lib/orb/models/subscription_update_trial_response.rb +22 -0
- data/lib/orb/models/subscription_usage.rb +9 -0
- data/lib/orb/models.rb +24 -0
- data/lib/orb/request_options.rb +4 -0
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +2 -0
- data/rbi/orb/internal/page.rbi +2 -1
- data/rbi/orb/internal/transport/base_client.rbi +31 -8
- data/rbi/orb/internal/transport/pooled_net_requester.rbi +5 -4
- data/rbi/orb/internal/type/base_model.rbi +31 -15
- data/rbi/orb/internal/type/base_page.rbi +1 -1
- data/rbi/orb/internal/type/converter.rbi +2 -0
- data/rbi/orb/internal/type/enum.rbi +1 -0
- data/rbi/orb/internal/type/union.rbi +1 -0
- data/rbi/orb/internal/util.rbi +28 -7
- data/rbi/orb/internal.rbi +2 -0
- data/rbi/orb/models/alert.rbi +13 -6
- data/rbi/orb/models/alert_create_for_customer_params.rbi +11 -2
- data/rbi/orb/models/alert_create_for_external_customer_params.rbi +14 -2
- data/rbi/orb/models/alert_create_for_subscription_params.rbi +11 -2
- data/rbi/orb/models/alert_disable_params.rbi +2 -1
- data/rbi/orb/models/alert_enable_params.rbi +2 -1
- data/rbi/orb/models/alert_list_params.rbi +2 -1
- data/rbi/orb/models/alert_retrieve_params.rbi +2 -1
- data/rbi/orb/models/alert_update_params.rbi +6 -2
- data/rbi/orb/models/amount_discount.rbi +2 -1
- data/rbi/orb/models/billable_metric.rbi +2 -1
- data/rbi/orb/models/coupon.rbi +1 -1
- data/rbi/orb/models/coupon_archive_params.rbi +2 -1
- data/rbi/orb/models/coupon_create_params.rbi +16 -3
- data/rbi/orb/models/coupon_fetch_params.rbi +2 -1
- data/rbi/orb/models/coupon_list_params.rbi +2 -1
- data/rbi/orb/models/coupons/subscription_list_params.rbi +4 -1
- data/rbi/orb/models/credit_note.rbi +45 -9
- data/rbi/orb/models/credit_note_create_params.rbi +8 -2
- data/rbi/orb/models/credit_note_fetch_params.rbi +4 -1
- data/rbi/orb/models/credit_note_list_params.rbi +4 -1
- data/rbi/orb/models/customer.rbi +41 -10
- data/rbi/orb/models/customer_create_params.rbi +61 -10
- data/rbi/orb/models/customer_delete_params.rbi +4 -1
- data/rbi/orb/models/customer_fetch_by_external_id_params.rbi +4 -1
- data/rbi/orb/models/customer_fetch_params.rbi +2 -1
- data/rbi/orb/models/customer_list_params.rbi +2 -1
- data/rbi/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbi +7 -1
- data/rbi/orb/models/customer_sync_payment_methods_from_gateway_params.rbi +7 -1
- data/rbi/orb/models/customer_update_by_external_id_params.rbi +67 -10
- data/rbi/orb/models/customer_update_params.rbi +61 -10
- data/rbi/orb/models/customers/balance_transaction_create_params.rbi +7 -1
- data/rbi/orb/models/customers/balance_transaction_create_response.rbi +21 -3
- data/rbi/orb/models/customers/balance_transaction_list_params.rbi +7 -1
- data/rbi/orb/models/customers/balance_transaction_list_response.rbi +21 -3
- data/rbi/orb/models/customers/cost_list_by_external_id_params.rbi +7 -1
- data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +21 -3
- data/rbi/orb/models/customers/cost_list_params.rbi +4 -1
- data/rbi/orb/models/customers/cost_list_response.rbi +21 -3
- data/rbi/orb/models/customers/credit_list_by_external_id_params.rbi +7 -1
- data/rbi/orb/models/customers/credit_list_by_external_id_response.rbi +7 -1
- data/rbi/orb/models/customers/credit_list_params.rbi +4 -1
- data/rbi/orb/models/customers/credit_list_response.rbi +7 -1
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +14 -2
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +133 -21
- data/rbi/orb/models/customers/credits/ledger_create_entry_params.rbi +14 -2
- data/rbi/orb/models/customers/credits/ledger_create_entry_response.rbi +133 -21
- data/rbi/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +133 -21
- data/rbi/orb/models/customers/credits/ledger_list_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/ledger_list_response.rbi +133 -21
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +14 -2
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +14 -2
- data/rbi/orb/models/customers/credits/top_up_create_params.rbi +14 -2
- data/rbi/orb/models/customers/credits/top_up_create_response.rbi +14 -2
- data/rbi/orb/models/customers/credits/top_up_delete_by_external_id_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/top_up_delete_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +14 -2
- data/rbi/orb/models/customers/credits/top_up_list_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/top_up_list_response.rbi +14 -2
- data/rbi/orb/models/dimensional_price_group.rbi +4 -1
- data/rbi/orb/models/dimensional_price_group_create_params.rbi +4 -1
- data/rbi/orb/models/dimensional_price_group_list_params.rbi +4 -1
- data/rbi/orb/models/dimensional_price_group_retrieve_params.rbi +7 -1
- data/rbi/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbi +7 -1
- data/rbi/orb/models/dimensional_price_groups.rbi +4 -1
- data/rbi/orb/models/evaluate_price_group.rbi +2 -1
- data/rbi/orb/models/event_deprecate_params.rbi +4 -1
- data/rbi/orb/models/event_deprecate_response.rbi +4 -1
- data/rbi/orb/models/event_ingest_params.rbi +6 -2
- data/rbi/orb/models/event_ingest_response.rbi +18 -3
- data/rbi/orb/models/event_search_params.rbi +2 -1
- data/rbi/orb/models/event_search_response.rbi +11 -2
- data/rbi/orb/models/event_update_params.rbi +2 -1
- data/rbi/orb/models/event_update_response.rbi +4 -1
- data/rbi/orb/models/events/backfill_close_params.rbi +4 -1
- data/rbi/orb/models/events/backfill_close_response.rbi +7 -1
- data/rbi/orb/models/events/backfill_create_params.rbi +4 -1
- data/rbi/orb/models/events/backfill_create_response.rbi +7 -1
- data/rbi/orb/models/events/backfill_fetch_params.rbi +4 -1
- data/rbi/orb/models/events/backfill_fetch_response.rbi +7 -1
- data/rbi/orb/models/events/backfill_list_params.rbi +4 -1
- data/rbi/orb/models/events/backfill_list_response.rbi +7 -1
- data/rbi/orb/models/events/backfill_revert_params.rbi +4 -1
- data/rbi/orb/models/events/backfill_revert_response.rbi +7 -1
- data/rbi/orb/models/events/event_volumes.rbi +8 -2
- data/rbi/orb/models/events/volume_list_params.rbi +4 -1
- data/rbi/orb/models/invoice.rbi +156 -31
- data/rbi/orb/models/invoice_create_params.rbi +13 -3
- data/rbi/orb/models/invoice_fetch_params.rbi +2 -1
- data/rbi/orb/models/invoice_fetch_upcoming_params.rbi +4 -1
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +212 -31
- data/rbi/orb/models/invoice_issue_params.rbi +2 -1
- data/rbi/orb/models/invoice_line_item_create_params.rbi +4 -1
- data/rbi/orb/models/invoice_line_item_create_response.rbi +119 -17
- data/rbi/orb/models/invoice_list_params.rbi +2 -1
- data/rbi/orb/models/invoice_mark_paid_params.rbi +4 -1
- data/rbi/orb/models/invoice_pay_params.rbi +2 -1
- data/rbi/orb/models/invoice_update_params.rbi +2 -1
- data/rbi/orb/models/invoice_void_params.rbi +2 -1
- data/rbi/orb/models/item.rbi +5 -2
- data/rbi/orb/models/item_create_params.rbi +2 -1
- data/rbi/orb/models/item_fetch_params.rbi +2 -1
- data/rbi/orb/models/item_list_params.rbi +2 -1
- data/rbi/orb/models/item_update_params.rbi +9 -2
- data/rbi/orb/models/metric_create_params.rbi +2 -1
- data/rbi/orb/models/metric_fetch_params.rbi +2 -1
- data/rbi/orb/models/metric_list_params.rbi +2 -1
- data/rbi/orb/models/metric_update_params.rbi +2 -1
- data/rbi/orb/models/pagination_metadata.rbi +2 -1
- data/rbi/orb/models/percentage_discount.rbi +2 -1
- data/rbi/orb/models/plan.rbi +50 -14
- data/rbi/orb/models/plan_create_params.rbi +604 -89
- data/rbi/orb/models/plan_fetch_params.rbi +2 -1
- data/rbi/orb/models/plan_list_params.rbi +2 -1
- data/rbi/orb/models/plan_update_params.rbi +2 -1
- data/rbi/orb/models/plans/external_plan_id_fetch_params.rbi +4 -1
- data/rbi/orb/models/plans/external_plan_id_update_params.rbi +7 -1
- data/rbi/orb/models/price.rbi +1624 -270
- data/rbi/orb/models/price_create_params.rbi +100 -18
- data/rbi/orb/models/price_evaluate_params.rbi +2 -1
- data/rbi/orb/models/price_evaluate_response.rbi +4 -1
- data/rbi/orb/models/price_fetch_params.rbi +2 -1
- data/rbi/orb/models/price_list_params.rbi +2 -1
- data/rbi/orb/models/price_update_params.rbi +2 -1
- data/rbi/orb/models/prices/external_price_id_fetch_params.rbi +7 -1
- data/rbi/orb/models/prices/external_price_id_update_params.rbi +7 -1
- data/rbi/orb/models/subscription.rbi +109 -19
- data/rbi/orb/models/subscription_cancel_params.rbi +4 -1
- data/rbi/orb/models/subscription_cancel_response.rbi +137 -20
- data/rbi/orb/models/subscription_change_apply_params.rbi +4 -1
- data/rbi/orb/models/subscription_change_apply_response.rbi +142 -21
- data/rbi/orb/models/subscription_change_cancel_params.rbi +4 -1
- data/rbi/orb/models/subscription_change_cancel_response.rbi +142 -21
- data/rbi/orb/models/subscription_change_retrieve_params.rbi +4 -1
- data/rbi/orb/models/subscription_change_retrieve_response.rbi +142 -21
- data/rbi/orb/models/subscription_create_params.rbi +1257 -198
- data/rbi/orb/models/subscription_create_response.rbi +137 -20
- data/rbi/orb/models/subscription_fetch_costs_params.rbi +4 -1
- data/rbi/orb/models/subscription_fetch_costs_response.rbi +21 -3
- data/rbi/orb/models/subscription_fetch_params.rbi +4 -1
- data/rbi/orb/models/subscription_fetch_schedule_params.rbi +4 -1
- data/rbi/orb/models/subscription_fetch_schedule_response.rbi +14 -2
- data/rbi/orb/models/subscription_fetch_usage_params.rbi +4 -1
- data/rbi/orb/models/subscription_list_params.rbi +4 -1
- data/rbi/orb/models/subscription_price_intervals_params.rbi +731 -115
- data/rbi/orb/models/subscription_price_intervals_response.rbi +140 -20
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +1260 -198
- data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +140 -20
- data/rbi/orb/models/subscription_trigger_phase_params.rbi +4 -1
- data/rbi/orb/models/subscription_trigger_phase_response.rbi +140 -20
- data/rbi/orb/models/subscription_unschedule_cancellation_params.rbi +7 -1
- data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +140 -20
- data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +7 -1
- data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +140 -20
- data/rbi/orb/models/subscription_unschedule_pending_plan_changes_params.rbi +7 -1
- data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +140 -20
- data/rbi/orb/models/subscription_update_fixed_fee_quantity_params.rbi +7 -1
- data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +140 -20
- data/rbi/orb/models/subscription_update_params.rbi +4 -1
- data/rbi/orb/models/subscription_update_trial_params.rbi +4 -1
- data/rbi/orb/models/subscription_update_trial_response.rbi +140 -20
- data/rbi/orb/models/subscription_usage.rbi +63 -9
- data/rbi/orb/models/subscriptions.rbi +2 -1
- data/rbi/orb/models/top_level_ping_params.rbi +2 -1
- data/rbi/orb/models/top_level_ping_response.rbi +4 -1
- data/rbi/orb/models/trial_discount.rbi +2 -1
- data/rbi/orb/models/usage_discount.rbi +2 -1
- data/rbi/orb/request_options.rbi +1 -1
- data/sig/orb/internal/transport/base_client.rbs +16 -1
- data/sig/orb/internal/transport/pooled_net_requester.rbs +2 -0
- data/sig/orb/internal/type/base_model.rbs +11 -5
- data/sig/orb/internal/type/base_page.rbs +1 -1
- data/sig/orb/internal/type/converter.rbs +2 -0
- data/sig/orb/internal/type/enum.rbs +1 -0
- data/sig/orb/internal/type/union.rbs +1 -0
- data/sig/orb/internal/util.rbs +13 -0
- data/sig/orb/internal.rbs +2 -0
- metadata +2 -2
@@ -23,7 +23,13 @@ module Orb
|
|
23
23
|
end
|
24
24
|
|
25
25
|
class Increment < Orb::Internal::Type::BaseModel
|
26
|
-
OrHash =
|
26
|
+
OrHash =
|
27
|
+
T.type_alias do
|
28
|
+
T.any(
|
29
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Increment,
|
30
|
+
Orb::Internal::AnyHash
|
31
|
+
)
|
32
|
+
end
|
27
33
|
|
28
34
|
sig { returns(String) }
|
29
35
|
attr_accessor :id
|
@@ -164,7 +170,12 @@ module Orb
|
|
164
170
|
|
165
171
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
166
172
|
OrHash =
|
167
|
-
T.type_alias
|
173
|
+
T.type_alias do
|
174
|
+
T.any(
|
175
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Increment::CreditBlock,
|
176
|
+
Orb::Internal::AnyHash
|
177
|
+
)
|
178
|
+
end
|
168
179
|
|
169
180
|
sig { returns(String) }
|
170
181
|
attr_accessor :id
|
@@ -200,7 +211,12 @@ module Orb
|
|
200
211
|
|
201
212
|
class Customer < Orb::Internal::Type::BaseModel
|
202
213
|
OrHash =
|
203
|
-
T.type_alias
|
214
|
+
T.type_alias do
|
215
|
+
T.any(
|
216
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Increment::Customer,
|
217
|
+
Orb::Internal::AnyHash
|
218
|
+
)
|
219
|
+
end
|
204
220
|
|
205
221
|
sig { returns(String) }
|
206
222
|
attr_accessor :id
|
@@ -262,7 +278,13 @@ module Orb
|
|
262
278
|
end
|
263
279
|
|
264
280
|
class Decrement < Orb::Internal::Type::BaseModel
|
265
|
-
OrHash =
|
281
|
+
OrHash =
|
282
|
+
T.type_alias do
|
283
|
+
T.any(
|
284
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Decrement,
|
285
|
+
Orb::Internal::AnyHash
|
286
|
+
)
|
287
|
+
end
|
266
288
|
|
267
289
|
sig { returns(String) }
|
268
290
|
attr_accessor :id
|
@@ -421,7 +443,12 @@ module Orb
|
|
421
443
|
|
422
444
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
423
445
|
OrHash =
|
424
|
-
T.type_alias
|
446
|
+
T.type_alias do
|
447
|
+
T.any(
|
448
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Decrement::CreditBlock,
|
449
|
+
Orb::Internal::AnyHash
|
450
|
+
)
|
451
|
+
end
|
425
452
|
|
426
453
|
sig { returns(String) }
|
427
454
|
attr_accessor :id
|
@@ -457,7 +484,12 @@ module Orb
|
|
457
484
|
|
458
485
|
class Customer < Orb::Internal::Type::BaseModel
|
459
486
|
OrHash =
|
460
|
-
T.type_alias
|
487
|
+
T.type_alias do
|
488
|
+
T.any(
|
489
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Decrement::Customer,
|
490
|
+
Orb::Internal::AnyHash
|
491
|
+
)
|
492
|
+
end
|
461
493
|
|
462
494
|
sig { returns(String) }
|
463
495
|
attr_accessor :id
|
@@ -519,7 +551,13 @@ module Orb
|
|
519
551
|
end
|
520
552
|
|
521
553
|
class ExpirationChange < Orb::Internal::Type::BaseModel
|
522
|
-
OrHash =
|
554
|
+
OrHash =
|
555
|
+
T.type_alias do
|
556
|
+
T.any(
|
557
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::ExpirationChange,
|
558
|
+
Orb::Internal::AnyHash
|
559
|
+
)
|
560
|
+
end
|
523
561
|
|
524
562
|
sig { returns(String) }
|
525
563
|
attr_accessor :id
|
@@ -666,7 +704,12 @@ module Orb
|
|
666
704
|
|
667
705
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
668
706
|
OrHash =
|
669
|
-
T.type_alias
|
707
|
+
T.type_alias do
|
708
|
+
T.any(
|
709
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::ExpirationChange::CreditBlock,
|
710
|
+
Orb::Internal::AnyHash
|
711
|
+
)
|
712
|
+
end
|
670
713
|
|
671
714
|
sig { returns(String) }
|
672
715
|
attr_accessor :id
|
@@ -702,7 +745,12 @@ module Orb
|
|
702
745
|
|
703
746
|
class Customer < Orb::Internal::Type::BaseModel
|
704
747
|
OrHash =
|
705
|
-
T.type_alias
|
748
|
+
T.type_alias do
|
749
|
+
T.any(
|
750
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::ExpirationChange::Customer,
|
751
|
+
Orb::Internal::AnyHash
|
752
|
+
)
|
753
|
+
end
|
706
754
|
|
707
755
|
sig { returns(String) }
|
708
756
|
attr_accessor :id
|
@@ -764,7 +812,13 @@ module Orb
|
|
764
812
|
end
|
765
813
|
|
766
814
|
class CreditBlockExpiry < Orb::Internal::Type::BaseModel
|
767
|
-
OrHash =
|
815
|
+
OrHash =
|
816
|
+
T.type_alias do
|
817
|
+
T.any(
|
818
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::CreditBlockExpiry,
|
819
|
+
Orb::Internal::AnyHash
|
820
|
+
)
|
821
|
+
end
|
768
822
|
|
769
823
|
sig { returns(String) }
|
770
824
|
attr_accessor :id
|
@@ -905,7 +959,12 @@ module Orb
|
|
905
959
|
|
906
960
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
907
961
|
OrHash =
|
908
|
-
T.type_alias
|
962
|
+
T.type_alias do
|
963
|
+
T.any(
|
964
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::CreditBlockExpiry::CreditBlock,
|
965
|
+
Orb::Internal::AnyHash
|
966
|
+
)
|
967
|
+
end
|
909
968
|
|
910
969
|
sig { returns(String) }
|
911
970
|
attr_accessor :id
|
@@ -941,7 +1000,12 @@ module Orb
|
|
941
1000
|
|
942
1001
|
class Customer < Orb::Internal::Type::BaseModel
|
943
1002
|
OrHash =
|
944
|
-
T.type_alias
|
1003
|
+
T.type_alias do
|
1004
|
+
T.any(
|
1005
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::CreditBlockExpiry::Customer,
|
1006
|
+
Orb::Internal::AnyHash
|
1007
|
+
)
|
1008
|
+
end
|
945
1009
|
|
946
1010
|
sig { returns(String) }
|
947
1011
|
attr_accessor :id
|
@@ -1003,7 +1067,13 @@ module Orb
|
|
1003
1067
|
end
|
1004
1068
|
|
1005
1069
|
class Void < Orb::Internal::Type::BaseModel
|
1006
|
-
OrHash =
|
1070
|
+
OrHash =
|
1071
|
+
T.type_alias do
|
1072
|
+
T.any(
|
1073
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Void,
|
1074
|
+
Orb::Internal::AnyHash
|
1075
|
+
)
|
1076
|
+
end
|
1007
1077
|
|
1008
1078
|
sig { returns(String) }
|
1009
1079
|
attr_accessor :id
|
@@ -1156,7 +1226,12 @@ module Orb
|
|
1156
1226
|
|
1157
1227
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
1158
1228
|
OrHash =
|
1159
|
-
T.type_alias
|
1229
|
+
T.type_alias do
|
1230
|
+
T.any(
|
1231
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Void::CreditBlock,
|
1232
|
+
Orb::Internal::AnyHash
|
1233
|
+
)
|
1234
|
+
end
|
1160
1235
|
|
1161
1236
|
sig { returns(String) }
|
1162
1237
|
attr_accessor :id
|
@@ -1192,7 +1267,12 @@ module Orb
|
|
1192
1267
|
|
1193
1268
|
class Customer < Orb::Internal::Type::BaseModel
|
1194
1269
|
OrHash =
|
1195
|
-
T.type_alias
|
1270
|
+
T.type_alias do
|
1271
|
+
T.any(
|
1272
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Void::Customer,
|
1273
|
+
Orb::Internal::AnyHash
|
1274
|
+
)
|
1275
|
+
end
|
1196
1276
|
|
1197
1277
|
sig { returns(String) }
|
1198
1278
|
attr_accessor :id
|
@@ -1254,7 +1334,13 @@ module Orb
|
|
1254
1334
|
end
|
1255
1335
|
|
1256
1336
|
class VoidInitiated < Orb::Internal::Type::BaseModel
|
1257
|
-
OrHash =
|
1337
|
+
OrHash =
|
1338
|
+
T.type_alias do
|
1339
|
+
T.any(
|
1340
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidInitiated,
|
1341
|
+
Orb::Internal::AnyHash
|
1342
|
+
)
|
1343
|
+
end
|
1258
1344
|
|
1259
1345
|
sig { returns(String) }
|
1260
1346
|
attr_accessor :id
|
@@ -1413,7 +1499,12 @@ module Orb
|
|
1413
1499
|
|
1414
1500
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
1415
1501
|
OrHash =
|
1416
|
-
T.type_alias
|
1502
|
+
T.type_alias do
|
1503
|
+
T.any(
|
1504
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidInitiated::CreditBlock,
|
1505
|
+
Orb::Internal::AnyHash
|
1506
|
+
)
|
1507
|
+
end
|
1417
1508
|
|
1418
1509
|
sig { returns(String) }
|
1419
1510
|
attr_accessor :id
|
@@ -1449,7 +1540,12 @@ module Orb
|
|
1449
1540
|
|
1450
1541
|
class Customer < Orb::Internal::Type::BaseModel
|
1451
1542
|
OrHash =
|
1452
|
-
T.type_alias
|
1543
|
+
T.type_alias do
|
1544
|
+
T.any(
|
1545
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidInitiated::Customer,
|
1546
|
+
Orb::Internal::AnyHash
|
1547
|
+
)
|
1548
|
+
end
|
1453
1549
|
|
1454
1550
|
sig { returns(String) }
|
1455
1551
|
attr_accessor :id
|
@@ -1511,7 +1607,13 @@ module Orb
|
|
1511
1607
|
end
|
1512
1608
|
|
1513
1609
|
class Amendment < Orb::Internal::Type::BaseModel
|
1514
|
-
OrHash =
|
1610
|
+
OrHash =
|
1611
|
+
T.type_alias do
|
1612
|
+
T.any(
|
1613
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Amendment,
|
1614
|
+
Orb::Internal::AnyHash
|
1615
|
+
)
|
1616
|
+
end
|
1515
1617
|
|
1516
1618
|
sig { returns(String) }
|
1517
1619
|
attr_accessor :id
|
@@ -1652,7 +1754,12 @@ module Orb
|
|
1652
1754
|
|
1653
1755
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
1654
1756
|
OrHash =
|
1655
|
-
T.type_alias
|
1757
|
+
T.type_alias do
|
1758
|
+
T.any(
|
1759
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Amendment::CreditBlock,
|
1760
|
+
Orb::Internal::AnyHash
|
1761
|
+
)
|
1762
|
+
end
|
1656
1763
|
|
1657
1764
|
sig { returns(String) }
|
1658
1765
|
attr_accessor :id
|
@@ -1688,7 +1795,12 @@ module Orb
|
|
1688
1795
|
|
1689
1796
|
class Customer < Orb::Internal::Type::BaseModel
|
1690
1797
|
OrHash =
|
1691
|
-
T.type_alias
|
1798
|
+
T.type_alias do
|
1799
|
+
T.any(
|
1800
|
+
Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::Amendment::Customer,
|
1801
|
+
Orb::Internal::AnyHash
|
1802
|
+
)
|
1803
|
+
end
|
1692
1804
|
|
1693
1805
|
sig { returns(String) }
|
1694
1806
|
attr_accessor :id
|
@@ -8,7 +8,13 @@ module Orb
|
|
8
8
|
extend Orb::Internal::Type::RequestParameters::Converter
|
9
9
|
include Orb::Internal::Type::RequestParameters
|
10
10
|
|
11
|
-
OrHash =
|
11
|
+
OrHash =
|
12
|
+
T.type_alias do
|
13
|
+
T.any(
|
14
|
+
Orb::Customers::Credits::LedgerListParams,
|
15
|
+
Orb::Internal::AnyHash
|
16
|
+
)
|
17
|
+
end
|
12
18
|
|
13
19
|
sig { returns(T.nilable(Time)) }
|
14
20
|
attr_accessor :created_at_gt
|
@@ -23,7 +23,13 @@ module Orb
|
|
23
23
|
end
|
24
24
|
|
25
25
|
class Increment < Orb::Internal::Type::BaseModel
|
26
|
-
OrHash =
|
26
|
+
OrHash =
|
27
|
+
T.type_alias do
|
28
|
+
T.any(
|
29
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Increment,
|
30
|
+
Orb::Internal::AnyHash
|
31
|
+
)
|
32
|
+
end
|
27
33
|
|
28
34
|
sig { returns(String) }
|
29
35
|
attr_accessor :id
|
@@ -164,7 +170,12 @@ module Orb
|
|
164
170
|
|
165
171
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
166
172
|
OrHash =
|
167
|
-
T.type_alias
|
173
|
+
T.type_alias do
|
174
|
+
T.any(
|
175
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Increment::CreditBlock,
|
176
|
+
Orb::Internal::AnyHash
|
177
|
+
)
|
178
|
+
end
|
168
179
|
|
169
180
|
sig { returns(String) }
|
170
181
|
attr_accessor :id
|
@@ -200,7 +211,12 @@ module Orb
|
|
200
211
|
|
201
212
|
class Customer < Orb::Internal::Type::BaseModel
|
202
213
|
OrHash =
|
203
|
-
T.type_alias
|
214
|
+
T.type_alias do
|
215
|
+
T.any(
|
216
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Increment::Customer,
|
217
|
+
Orb::Internal::AnyHash
|
218
|
+
)
|
219
|
+
end
|
204
220
|
|
205
221
|
sig { returns(String) }
|
206
222
|
attr_accessor :id
|
@@ -262,7 +278,13 @@ module Orb
|
|
262
278
|
end
|
263
279
|
|
264
280
|
class Decrement < Orb::Internal::Type::BaseModel
|
265
|
-
OrHash =
|
281
|
+
OrHash =
|
282
|
+
T.type_alias do
|
283
|
+
T.any(
|
284
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Decrement,
|
285
|
+
Orb::Internal::AnyHash
|
286
|
+
)
|
287
|
+
end
|
266
288
|
|
267
289
|
sig { returns(String) }
|
268
290
|
attr_accessor :id
|
@@ -421,7 +443,12 @@ module Orb
|
|
421
443
|
|
422
444
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
423
445
|
OrHash =
|
424
|
-
T.type_alias
|
446
|
+
T.type_alias do
|
447
|
+
T.any(
|
448
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Decrement::CreditBlock,
|
449
|
+
Orb::Internal::AnyHash
|
450
|
+
)
|
451
|
+
end
|
425
452
|
|
426
453
|
sig { returns(String) }
|
427
454
|
attr_accessor :id
|
@@ -457,7 +484,12 @@ module Orb
|
|
457
484
|
|
458
485
|
class Customer < Orb::Internal::Type::BaseModel
|
459
486
|
OrHash =
|
460
|
-
T.type_alias
|
487
|
+
T.type_alias do
|
488
|
+
T.any(
|
489
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Decrement::Customer,
|
490
|
+
Orb::Internal::AnyHash
|
491
|
+
)
|
492
|
+
end
|
461
493
|
|
462
494
|
sig { returns(String) }
|
463
495
|
attr_accessor :id
|
@@ -519,7 +551,13 @@ module Orb
|
|
519
551
|
end
|
520
552
|
|
521
553
|
class ExpirationChange < Orb::Internal::Type::BaseModel
|
522
|
-
OrHash =
|
554
|
+
OrHash =
|
555
|
+
T.type_alias do
|
556
|
+
T.any(
|
557
|
+
Orb::Models::Customers::Credits::LedgerListResponse::ExpirationChange,
|
558
|
+
Orb::Internal::AnyHash
|
559
|
+
)
|
560
|
+
end
|
523
561
|
|
524
562
|
sig { returns(String) }
|
525
563
|
attr_accessor :id
|
@@ -666,7 +704,12 @@ module Orb
|
|
666
704
|
|
667
705
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
668
706
|
OrHash =
|
669
|
-
T.type_alias
|
707
|
+
T.type_alias do
|
708
|
+
T.any(
|
709
|
+
Orb::Models::Customers::Credits::LedgerListResponse::ExpirationChange::CreditBlock,
|
710
|
+
Orb::Internal::AnyHash
|
711
|
+
)
|
712
|
+
end
|
670
713
|
|
671
714
|
sig { returns(String) }
|
672
715
|
attr_accessor :id
|
@@ -702,7 +745,12 @@ module Orb
|
|
702
745
|
|
703
746
|
class Customer < Orb::Internal::Type::BaseModel
|
704
747
|
OrHash =
|
705
|
-
T.type_alias
|
748
|
+
T.type_alias do
|
749
|
+
T.any(
|
750
|
+
Orb::Models::Customers::Credits::LedgerListResponse::ExpirationChange::Customer,
|
751
|
+
Orb::Internal::AnyHash
|
752
|
+
)
|
753
|
+
end
|
706
754
|
|
707
755
|
sig { returns(String) }
|
708
756
|
attr_accessor :id
|
@@ -764,7 +812,13 @@ module Orb
|
|
764
812
|
end
|
765
813
|
|
766
814
|
class CreditBlockExpiry < Orb::Internal::Type::BaseModel
|
767
|
-
OrHash =
|
815
|
+
OrHash =
|
816
|
+
T.type_alias do
|
817
|
+
T.any(
|
818
|
+
Orb::Models::Customers::Credits::LedgerListResponse::CreditBlockExpiry,
|
819
|
+
Orb::Internal::AnyHash
|
820
|
+
)
|
821
|
+
end
|
768
822
|
|
769
823
|
sig { returns(String) }
|
770
824
|
attr_accessor :id
|
@@ -905,7 +959,12 @@ module Orb
|
|
905
959
|
|
906
960
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
907
961
|
OrHash =
|
908
|
-
T.type_alias
|
962
|
+
T.type_alias do
|
963
|
+
T.any(
|
964
|
+
Orb::Models::Customers::Credits::LedgerListResponse::CreditBlockExpiry::CreditBlock,
|
965
|
+
Orb::Internal::AnyHash
|
966
|
+
)
|
967
|
+
end
|
909
968
|
|
910
969
|
sig { returns(String) }
|
911
970
|
attr_accessor :id
|
@@ -941,7 +1000,12 @@ module Orb
|
|
941
1000
|
|
942
1001
|
class Customer < Orb::Internal::Type::BaseModel
|
943
1002
|
OrHash =
|
944
|
-
T.type_alias
|
1003
|
+
T.type_alias do
|
1004
|
+
T.any(
|
1005
|
+
Orb::Models::Customers::Credits::LedgerListResponse::CreditBlockExpiry::Customer,
|
1006
|
+
Orb::Internal::AnyHash
|
1007
|
+
)
|
1008
|
+
end
|
945
1009
|
|
946
1010
|
sig { returns(String) }
|
947
1011
|
attr_accessor :id
|
@@ -1003,7 +1067,13 @@ module Orb
|
|
1003
1067
|
end
|
1004
1068
|
|
1005
1069
|
class Void < Orb::Internal::Type::BaseModel
|
1006
|
-
OrHash =
|
1070
|
+
OrHash =
|
1071
|
+
T.type_alias do
|
1072
|
+
T.any(
|
1073
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Void,
|
1074
|
+
Orb::Internal::AnyHash
|
1075
|
+
)
|
1076
|
+
end
|
1007
1077
|
|
1008
1078
|
sig { returns(String) }
|
1009
1079
|
attr_accessor :id
|
@@ -1156,7 +1226,12 @@ module Orb
|
|
1156
1226
|
|
1157
1227
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
1158
1228
|
OrHash =
|
1159
|
-
T.type_alias
|
1229
|
+
T.type_alias do
|
1230
|
+
T.any(
|
1231
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Void::CreditBlock,
|
1232
|
+
Orb::Internal::AnyHash
|
1233
|
+
)
|
1234
|
+
end
|
1160
1235
|
|
1161
1236
|
sig { returns(String) }
|
1162
1237
|
attr_accessor :id
|
@@ -1192,7 +1267,12 @@ module Orb
|
|
1192
1267
|
|
1193
1268
|
class Customer < Orb::Internal::Type::BaseModel
|
1194
1269
|
OrHash =
|
1195
|
-
T.type_alias
|
1270
|
+
T.type_alias do
|
1271
|
+
T.any(
|
1272
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Void::Customer,
|
1273
|
+
Orb::Internal::AnyHash
|
1274
|
+
)
|
1275
|
+
end
|
1196
1276
|
|
1197
1277
|
sig { returns(String) }
|
1198
1278
|
attr_accessor :id
|
@@ -1254,7 +1334,13 @@ module Orb
|
|
1254
1334
|
end
|
1255
1335
|
|
1256
1336
|
class VoidInitiated < Orb::Internal::Type::BaseModel
|
1257
|
-
OrHash =
|
1337
|
+
OrHash =
|
1338
|
+
T.type_alias do
|
1339
|
+
T.any(
|
1340
|
+
Orb::Models::Customers::Credits::LedgerListResponse::VoidInitiated,
|
1341
|
+
Orb::Internal::AnyHash
|
1342
|
+
)
|
1343
|
+
end
|
1258
1344
|
|
1259
1345
|
sig { returns(String) }
|
1260
1346
|
attr_accessor :id
|
@@ -1413,7 +1499,12 @@ module Orb
|
|
1413
1499
|
|
1414
1500
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
1415
1501
|
OrHash =
|
1416
|
-
T.type_alias
|
1502
|
+
T.type_alias do
|
1503
|
+
T.any(
|
1504
|
+
Orb::Models::Customers::Credits::LedgerListResponse::VoidInitiated::CreditBlock,
|
1505
|
+
Orb::Internal::AnyHash
|
1506
|
+
)
|
1507
|
+
end
|
1417
1508
|
|
1418
1509
|
sig { returns(String) }
|
1419
1510
|
attr_accessor :id
|
@@ -1449,7 +1540,12 @@ module Orb
|
|
1449
1540
|
|
1450
1541
|
class Customer < Orb::Internal::Type::BaseModel
|
1451
1542
|
OrHash =
|
1452
|
-
T.type_alias
|
1543
|
+
T.type_alias do
|
1544
|
+
T.any(
|
1545
|
+
Orb::Models::Customers::Credits::LedgerListResponse::VoidInitiated::Customer,
|
1546
|
+
Orb::Internal::AnyHash
|
1547
|
+
)
|
1548
|
+
end
|
1453
1549
|
|
1454
1550
|
sig { returns(String) }
|
1455
1551
|
attr_accessor :id
|
@@ -1511,7 +1607,13 @@ module Orb
|
|
1511
1607
|
end
|
1512
1608
|
|
1513
1609
|
class Amendment < Orb::Internal::Type::BaseModel
|
1514
|
-
OrHash =
|
1610
|
+
OrHash =
|
1611
|
+
T.type_alias do
|
1612
|
+
T.any(
|
1613
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Amendment,
|
1614
|
+
Orb::Internal::AnyHash
|
1615
|
+
)
|
1616
|
+
end
|
1515
1617
|
|
1516
1618
|
sig { returns(String) }
|
1517
1619
|
attr_accessor :id
|
@@ -1652,7 +1754,12 @@ module Orb
|
|
1652
1754
|
|
1653
1755
|
class CreditBlock < Orb::Internal::Type::BaseModel
|
1654
1756
|
OrHash =
|
1655
|
-
T.type_alias
|
1757
|
+
T.type_alias do
|
1758
|
+
T.any(
|
1759
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Amendment::CreditBlock,
|
1760
|
+
Orb::Internal::AnyHash
|
1761
|
+
)
|
1762
|
+
end
|
1656
1763
|
|
1657
1764
|
sig { returns(String) }
|
1658
1765
|
attr_accessor :id
|
@@ -1688,7 +1795,12 @@ module Orb
|
|
1688
1795
|
|
1689
1796
|
class Customer < Orb::Internal::Type::BaseModel
|
1690
1797
|
OrHash =
|
1691
|
-
T.type_alias
|
1798
|
+
T.type_alias do
|
1799
|
+
T.any(
|
1800
|
+
Orb::Models::Customers::Credits::LedgerListResponse::Amendment::Customer,
|
1801
|
+
Orb::Internal::AnyHash
|
1802
|
+
)
|
1803
|
+
end
|
1692
1804
|
|
1693
1805
|
sig { returns(String) }
|
1694
1806
|
attr_accessor :id
|
@@ -8,7 +8,13 @@ module Orb
|
|
8
8
|
extend Orb::Internal::Type::RequestParameters::Converter
|
9
9
|
include Orb::Internal::Type::RequestParameters
|
10
10
|
|
11
|
-
OrHash =
|
11
|
+
OrHash =
|
12
|
+
T.type_alias do
|
13
|
+
T.any(
|
14
|
+
Orb::Customers::Credits::TopUpCreateByExternalIDParams,
|
15
|
+
Orb::Internal::AnyHash
|
16
|
+
)
|
17
|
+
end
|
12
18
|
|
13
19
|
# The amount to increment when the threshold is reached.
|
14
20
|
sig { returns(String) }
|
@@ -129,7 +135,13 @@ module Orb
|
|
129
135
|
end
|
130
136
|
|
131
137
|
class InvoiceSettings < Orb::Internal::Type::BaseModel
|
132
|
-
OrHash =
|
138
|
+
OrHash =
|
139
|
+
T.type_alias do
|
140
|
+
T.any(
|
141
|
+
Orb::Customers::Credits::TopUpCreateByExternalIDParams::InvoiceSettings,
|
142
|
+
Orb::Internal::AnyHash
|
143
|
+
)
|
144
|
+
end
|
133
145
|
|
134
146
|
# Whether the credits purchase invoice should auto collect with the customer's
|
135
147
|
# saved payment method.
|
@@ -5,7 +5,13 @@ module Orb
|
|
5
5
|
module Customers
|
6
6
|
module Credits
|
7
7
|
class TopUpCreateByExternalIDResponse < Orb::Internal::Type::BaseModel
|
8
|
-
OrHash =
|
8
|
+
OrHash =
|
9
|
+
T.type_alias do
|
10
|
+
T.any(
|
11
|
+
Orb::Models::Customers::Credits::TopUpCreateByExternalIDResponse,
|
12
|
+
Orb::Internal::AnyHash
|
13
|
+
)
|
14
|
+
end
|
9
15
|
|
10
16
|
sig { returns(String) }
|
11
17
|
attr_accessor :id
|
@@ -119,7 +125,13 @@ module Orb
|
|
119
125
|
end
|
120
126
|
|
121
127
|
class InvoiceSettings < Orb::Internal::Type::BaseModel
|
122
|
-
OrHash =
|
128
|
+
OrHash =
|
129
|
+
T.type_alias do
|
130
|
+
T.any(
|
131
|
+
Orb::Models::Customers::Credits::TopUpCreateByExternalIDResponse::InvoiceSettings,
|
132
|
+
Orb::Internal::AnyHash
|
133
|
+
)
|
134
|
+
end
|
123
135
|
|
124
136
|
# Whether the credits purchase invoice should auto collect with the customer's
|
125
137
|
# saved payment method.
|
@@ -8,7 +8,13 @@ module Orb
|
|
8
8
|
extend Orb::Internal::Type::RequestParameters::Converter
|
9
9
|
include Orb::Internal::Type::RequestParameters
|
10
10
|
|
11
|
-
OrHash =
|
11
|
+
OrHash =
|
12
|
+
T.type_alias do
|
13
|
+
T.any(
|
14
|
+
Orb::Customers::Credits::TopUpCreateParams,
|
15
|
+
Orb::Internal::AnyHash
|
16
|
+
)
|
17
|
+
end
|
12
18
|
|
13
19
|
# The amount to increment when the threshold is reached.
|
14
20
|
sig { returns(String) }
|
@@ -127,7 +133,13 @@ module Orb
|
|
127
133
|
end
|
128
134
|
|
129
135
|
class InvoiceSettings < Orb::Internal::Type::BaseModel
|
130
|
-
OrHash =
|
136
|
+
OrHash =
|
137
|
+
T.type_alias do
|
138
|
+
T.any(
|
139
|
+
Orb::Customers::Credits::TopUpCreateParams::InvoiceSettings,
|
140
|
+
Orb::Internal::AnyHash
|
141
|
+
)
|
142
|
+
end
|
131
143
|
|
132
144
|
# Whether the credits purchase invoice should auto collect with the customer's
|
133
145
|
# saved payment method.
|