orb-billing 0.1.0.pre.alpha.37 → 0.1.0.pre.alpha.38
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/README.md +29 -5
- data/lib/orb/internal/page.rb +6 -2
- data/lib/orb/internal/transport/base_client.rb +2 -2
- data/lib/orb/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/orb/internal/type/array_of.rb +5 -3
- data/lib/orb/internal/type/base_model.rb +12 -6
- data/lib/orb/internal/type/base_page.rb +4 -1
- data/lib/orb/internal/type/{boolean_model.rb → boolean.rb} +2 -2
- data/lib/orb/internal/type/converter.rb +6 -1
- data/lib/orb/internal/type/enum.rb +2 -0
- data/lib/orb/internal/type/hash_of.rb +3 -1
- data/lib/orb/internal/util.rb +28 -45
- data/lib/orb/models/alert.rb +1 -1
- data/lib/orb/models/coupon_list_params.rb +1 -1
- data/lib/orb/models/customer.rb +5 -5
- data/lib/orb/models/customer_create_params.rb +6 -6
- data/lib/orb/models/customer_update_by_external_id_params.rb +6 -6
- data/lib/orb/models/customer_update_params.rb +6 -6
- data/lib/orb/models/customers/credit_list_by_external_id_params.rb +1 -1
- data/lib/orb/models/customers/credit_list_params.rb +1 -1
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +2 -2
- data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +2 -2
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +2 -2
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +2 -2
- data/lib/orb/models/customers/credits/top_up_create_params.rb +2 -2
- data/lib/orb/models/customers/credits/top_up_create_response.rb +2 -2
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +2 -2
- data/lib/orb/models/customers/credits/top_up_list_response.rb +2 -2
- data/lib/orb/models/evaluate_price_group.rb +1 -1
- data/lib/orb/models/event_ingest_params.rb +1 -1
- data/lib/orb/models/event_search_response.rb +1 -1
- data/lib/orb/models/events/backfill_close_response.rb +1 -1
- data/lib/orb/models/events/backfill_create_params.rb +1 -1
- data/lib/orb/models/events/backfill_create_response.rb +1 -1
- data/lib/orb/models/events/backfill_fetch_response.rb +1 -1
- data/lib/orb/models/events/backfill_list_response.rb +1 -1
- data/lib/orb/models/events/backfill_revert_response.rb +1 -1
- data/lib/orb/models/invoice.rb +8 -8
- data/lib/orb/models/invoice_create_params.rb +1 -1
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +8 -8
- data/lib/orb/models/invoice_issue_params.rb +1 -1
- data/lib/orb/models/invoice_line_item_create_response.rb +5 -5
- data/lib/orb/models/invoice_list_params.rb +1 -1
- data/lib/orb/models/pagination_metadata.rb +1 -1
- data/lib/orb/models/plan.rb +5 -5
- data/lib/orb/models/plan_create_params.rb +25 -25
- data/lib/orb/models/price.rb +28 -28
- data/lib/orb/models/price_create_params.rb +1 -1
- data/lib/orb/models/subscription.rb +6 -6
- data/lib/orb/models/subscription_cancel_params.rb +1 -1
- data/lib/orb/models/subscription_cancel_response.rb +6 -6
- data/lib/orb/models/subscription_create_params.rb +64 -64
- data/lib/orb/models/subscription_create_response.rb +6 -6
- data/lib/orb/models/subscription_price_intervals_params.rb +35 -35
- data/lib/orb/models/subscription_price_intervals_response.rb +6 -6
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +64 -64
- data/lib/orb/models/subscription_schedule_plan_change_response.rb +6 -6
- data/lib/orb/models/subscription_trigger_phase_params.rb +1 -1
- data/lib/orb/models/subscription_trigger_phase_response.rb +6 -6
- data/lib/orb/models/subscription_unschedule_cancellation_response.rb +6 -6
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +6 -6
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +6 -6
- data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +1 -1
- data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +6 -6
- data/lib/orb/models/subscription_update_params.rb +1 -1
- data/lib/orb/models/subscription_update_trial_params.rb +1 -1
- data/lib/orb/models/subscription_update_trial_response.rb +6 -6
- data/lib/orb/resources/alerts.rb +6 -1
- data/lib/orb/resources/credit_notes.rb +6 -1
- data/lib/orb/resources/customers/balance_transactions.rb +6 -1
- data/lib/orb/resources/customers/credits/ledger.rb +12 -2
- data/lib/orb/resources/customers.rb +6 -1
- data/lib/orb/resources/invoices.rb +10 -1
- data/lib/orb/resources/metrics.rb +6 -1
- data/lib/orb/resources/plans.rb +6 -1
- data/lib/orb/resources/subscriptions.rb +12 -2
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +1 -1
- data/rbi/lib/orb/internal/type/array_of.rbi +2 -2
- data/rbi/lib/orb/internal/type/{boolean_model.rbi → boolean.rbi} +1 -1
- data/rbi/lib/orb/internal/util.rbi +7 -5
- data/rbi/lib/orb/version.rbi +1 -1
- data/sig/orb/internal/type/array_of.rbs +2 -2
- data/sig/orb/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
- data/sig/orb/internal/util.rbs +5 -5
- data/sig/orb/version.rbs +1 -1
- metadata +5 -5
@@ -199,7 +199,7 @@ module Orb
|
|
199
199
|
# this is true, and in-arrears if this is false.
|
200
200
|
#
|
201
201
|
# @return [Boolean, nil]
|
202
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
202
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
203
203
|
|
204
204
|
# @!attribute billing_cycle_configuration
|
205
205
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -463,7 +463,7 @@ module Orb
|
|
463
463
|
# this is true, and in-arrears if this is false.
|
464
464
|
#
|
465
465
|
# @return [Boolean, nil]
|
466
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
466
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
467
467
|
|
468
468
|
# @!attribute billing_cycle_configuration
|
469
469
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -735,7 +735,7 @@ module Orb
|
|
735
735
|
# this is true, and in-arrears if this is false.
|
736
736
|
#
|
737
737
|
# @return [Boolean, nil]
|
738
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
738
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
739
739
|
|
740
740
|
# @!attribute billing_cycle_configuration
|
741
741
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1038,7 +1038,7 @@ module Orb
|
|
1038
1038
|
# this is true, and in-arrears if this is false.
|
1039
1039
|
#
|
1040
1040
|
# @return [Boolean, nil]
|
1041
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
1041
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
1042
1042
|
|
1043
1043
|
# @!attribute billing_cycle_configuration
|
1044
1044
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1333,7 +1333,7 @@ module Orb
|
|
1333
1333
|
# this is true, and in-arrears if this is false.
|
1334
1334
|
#
|
1335
1335
|
# @return [Boolean, nil]
|
1336
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
1336
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
1337
1337
|
|
1338
1338
|
# @!attribute billing_cycle_configuration
|
1339
1339
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1635,7 +1635,7 @@ module Orb
|
|
1635
1635
|
# this is true, and in-arrears if this is false.
|
1636
1636
|
#
|
1637
1637
|
# @return [Boolean, nil]
|
1638
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
1638
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
1639
1639
|
|
1640
1640
|
# @!attribute billing_cycle_configuration
|
1641
1641
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1906,7 +1906,7 @@ module Orb
|
|
1906
1906
|
# this is true, and in-arrears if this is false.
|
1907
1907
|
#
|
1908
1908
|
# @return [Boolean, nil]
|
1909
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
1909
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
1910
1910
|
|
1911
1911
|
# @!attribute billing_cycle_configuration
|
1912
1912
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2201,7 +2201,7 @@ module Orb
|
|
2201
2201
|
# this is true, and in-arrears if this is false.
|
2202
2202
|
#
|
2203
2203
|
# @return [Boolean, nil]
|
2204
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
2204
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2205
2205
|
|
2206
2206
|
# @!attribute billing_cycle_configuration
|
2207
2207
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2489,7 +2489,7 @@ module Orb
|
|
2489
2489
|
# this is true, and in-arrears if this is false.
|
2490
2490
|
#
|
2491
2491
|
# @return [Boolean, nil]
|
2492
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
2492
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2493
2493
|
|
2494
2494
|
# @!attribute billing_cycle_configuration
|
2495
2495
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2737,7 +2737,7 @@ module Orb
|
|
2737
2737
|
# this is true, and in-arrears if this is false.
|
2738
2738
|
#
|
2739
2739
|
# @return [Boolean, nil]
|
2740
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
2740
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2741
2741
|
|
2742
2742
|
# @!attribute billing_cycle_configuration
|
2743
2743
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2986,7 +2986,7 @@ module Orb
|
|
2986
2986
|
# this is true, and in-arrears if this is false.
|
2987
2987
|
#
|
2988
2988
|
# @return [Boolean, nil]
|
2989
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
2989
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2990
2990
|
|
2991
2991
|
# @!attribute billing_cycle_configuration
|
2992
2992
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3234,7 +3234,7 @@ module Orb
|
|
3234
3234
|
# this is true, and in-arrears if this is false.
|
3235
3235
|
#
|
3236
3236
|
# @return [Boolean, nil]
|
3237
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
3237
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3238
3238
|
|
3239
3239
|
# @!attribute billing_cycle_configuration
|
3240
3240
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3483,7 +3483,7 @@ module Orb
|
|
3483
3483
|
# this is true, and in-arrears if this is false.
|
3484
3484
|
#
|
3485
3485
|
# @return [Boolean, nil]
|
3486
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
3486
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3487
3487
|
|
3488
3488
|
# @!attribute billing_cycle_configuration
|
3489
3489
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3732,7 +3732,7 @@ module Orb
|
|
3732
3732
|
# this is true, and in-arrears if this is false.
|
3733
3733
|
#
|
3734
3734
|
# @return [Boolean, nil]
|
3735
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
3735
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3736
3736
|
|
3737
3737
|
# @!attribute billing_cycle_configuration
|
3738
3738
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3981,7 +3981,7 @@ module Orb
|
|
3981
3981
|
# this is true, and in-arrears if this is false.
|
3982
3982
|
#
|
3983
3983
|
# @return [Boolean, nil]
|
3984
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
3984
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3985
3985
|
|
3986
3986
|
# @!attribute billing_cycle_configuration
|
3987
3987
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4230,7 +4230,7 @@ module Orb
|
|
4230
4230
|
# this is true, and in-arrears if this is false.
|
4231
4231
|
#
|
4232
4232
|
# @return [Boolean, nil]
|
4233
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
4233
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4234
4234
|
|
4235
4235
|
# @!attribute billing_cycle_configuration
|
4236
4236
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4480,7 +4480,7 @@ module Orb
|
|
4480
4480
|
# this is true, and in-arrears if this is false.
|
4481
4481
|
#
|
4482
4482
|
# @return [Boolean, nil]
|
4483
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
4483
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4484
4484
|
|
4485
4485
|
# @!attribute billing_cycle_configuration
|
4486
4486
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4730,7 +4730,7 @@ module Orb
|
|
4730
4730
|
# this is true, and in-arrears if this is false.
|
4731
4731
|
#
|
4732
4732
|
# @return [Boolean, nil]
|
4733
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
4733
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4734
4734
|
|
4735
4735
|
# @!attribute billing_cycle_configuration
|
4736
4736
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4979,7 +4979,7 @@ module Orb
|
|
4979
4979
|
# this is true, and in-arrears if this is false.
|
4980
4980
|
#
|
4981
4981
|
# @return [Boolean, nil]
|
4982
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
4982
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4983
4983
|
|
4984
4984
|
# @!attribute billing_cycle_configuration
|
4985
4985
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5228,7 +5228,7 @@ module Orb
|
|
5228
5228
|
# this is true, and in-arrears if this is false.
|
5229
5229
|
#
|
5230
5230
|
# @return [Boolean, nil]
|
5231
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
5231
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5232
5232
|
|
5233
5233
|
# @!attribute billing_cycle_configuration
|
5234
5234
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5477,7 +5477,7 @@ module Orb
|
|
5477
5477
|
# this is true, and in-arrears if this is false.
|
5478
5478
|
#
|
5479
5479
|
# @return [Boolean, nil]
|
5480
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
5480
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5481
5481
|
|
5482
5482
|
# @!attribute billing_cycle_configuration
|
5483
5483
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5726,7 +5726,7 @@ module Orb
|
|
5726
5726
|
# this is true, and in-arrears if this is false.
|
5727
5727
|
#
|
5728
5728
|
# @return [Boolean, nil]
|
5729
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
5729
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5730
5730
|
|
5731
5731
|
# @!attribute billing_cycle_configuration
|
5732
5732
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5976,7 +5976,7 @@ module Orb
|
|
5976
5976
|
# this is true, and in-arrears if this is false.
|
5977
5977
|
#
|
5978
5978
|
# @return [Boolean, nil]
|
5979
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
5979
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5980
5980
|
|
5981
5981
|
# @!attribute billing_cycle_configuration
|
5982
5982
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6226,7 +6226,7 @@ module Orb
|
|
6226
6226
|
# this is true, and in-arrears if this is false.
|
6227
6227
|
#
|
6228
6228
|
# @return [Boolean, nil]
|
6229
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
6229
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
6230
6230
|
|
6231
6231
|
# @!attribute billing_cycle_configuration
|
6232
6232
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6475,7 +6475,7 @@ module Orb
|
|
6475
6475
|
# this is true, and in-arrears if this is false.
|
6476
6476
|
#
|
6477
6477
|
# @return [Boolean, nil]
|
6478
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
6478
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
6479
6479
|
|
6480
6480
|
# @!attribute billing_cycle_configuration
|
6481
6481
|
# For custom cadence: specifies the duration of the billing period in days or
|
data/lib/orb/models/price.rb
CHANGED
@@ -337,7 +337,7 @@ module Orb
|
|
337
337
|
# @!attribute allows_rollover
|
338
338
|
#
|
339
339
|
# @return [Boolean]
|
340
|
-
required :allows_rollover, Orb::Internal::Type::
|
340
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
341
341
|
|
342
342
|
# @!attribute currency
|
343
343
|
#
|
@@ -771,7 +771,7 @@ module Orb
|
|
771
771
|
# @!attribute allows_rollover
|
772
772
|
#
|
773
773
|
# @return [Boolean]
|
774
|
-
required :allows_rollover, Orb::Internal::Type::
|
774
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
775
775
|
|
776
776
|
# @!attribute currency
|
777
777
|
#
|
@@ -1213,7 +1213,7 @@ module Orb
|
|
1213
1213
|
# @!attribute allows_rollover
|
1214
1214
|
#
|
1215
1215
|
# @return [Boolean]
|
1216
|
-
required :allows_rollover, Orb::Internal::Type::
|
1216
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
1217
1217
|
|
1218
1218
|
# @!attribute currency
|
1219
1219
|
#
|
@@ -1686,7 +1686,7 @@ module Orb
|
|
1686
1686
|
# @!attribute allows_rollover
|
1687
1687
|
#
|
1688
1688
|
# @return [Boolean]
|
1689
|
-
required :allows_rollover, Orb::Internal::Type::
|
1689
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
1690
1690
|
|
1691
1691
|
# @!attribute currency
|
1692
1692
|
#
|
@@ -2150,7 +2150,7 @@ module Orb
|
|
2150
2150
|
# @!attribute allows_rollover
|
2151
2151
|
#
|
2152
2152
|
# @return [Boolean]
|
2153
|
-
required :allows_rollover, Orb::Internal::Type::
|
2153
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
2154
2154
|
|
2155
2155
|
# @!attribute currency
|
2156
2156
|
#
|
@@ -2645,7 +2645,7 @@ module Orb
|
|
2645
2645
|
# @!attribute allows_rollover
|
2646
2646
|
#
|
2647
2647
|
# @return [Boolean]
|
2648
|
-
required :allows_rollover, Orb::Internal::Type::
|
2648
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
2649
2649
|
|
2650
2650
|
# @!attribute currency
|
2651
2651
|
#
|
@@ -3110,7 +3110,7 @@ module Orb
|
|
3110
3110
|
# @!attribute allows_rollover
|
3111
3111
|
#
|
3112
3112
|
# @return [Boolean]
|
3113
|
-
required :allows_rollover, Orb::Internal::Type::
|
3113
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
3114
3114
|
|
3115
3115
|
# @!attribute currency
|
3116
3116
|
#
|
@@ -3566,7 +3566,7 @@ module Orb
|
|
3566
3566
|
# @!attribute allows_rollover
|
3567
3567
|
#
|
3568
3568
|
# @return [Boolean]
|
3569
|
-
required :allows_rollover, Orb::Internal::Type::
|
3569
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
3570
3570
|
|
3571
3571
|
# @!attribute currency
|
3572
3572
|
#
|
@@ -3989,7 +3989,7 @@ module Orb
|
|
3989
3989
|
# @!attribute allows_rollover
|
3990
3990
|
#
|
3991
3991
|
# @return [Boolean]
|
3992
|
-
required :allows_rollover, Orb::Internal::Type::
|
3992
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
3993
3993
|
|
3994
3994
|
# @!attribute currency
|
3995
3995
|
#
|
@@ -4408,7 +4408,7 @@ module Orb
|
|
4408
4408
|
# @!attribute allows_rollover
|
4409
4409
|
#
|
4410
4410
|
# @return [Boolean]
|
4411
|
-
required :allows_rollover, Orb::Internal::Type::
|
4411
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
4412
4412
|
|
4413
4413
|
# @!attribute currency
|
4414
4414
|
#
|
@@ -4827,7 +4827,7 @@ module Orb
|
|
4827
4827
|
# @!attribute allows_rollover
|
4828
4828
|
#
|
4829
4829
|
# @return [Boolean]
|
4830
|
-
required :allows_rollover, Orb::Internal::Type::
|
4830
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
4831
4831
|
|
4832
4832
|
# @!attribute currency
|
4833
4833
|
#
|
@@ -5248,7 +5248,7 @@ module Orb
|
|
5248
5248
|
# @!attribute allows_rollover
|
5249
5249
|
#
|
5250
5250
|
# @return [Boolean]
|
5251
|
-
required :allows_rollover, Orb::Internal::Type::
|
5251
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
5252
5252
|
|
5253
5253
|
# @!attribute currency
|
5254
5254
|
#
|
@@ -5672,7 +5672,7 @@ module Orb
|
|
5672
5672
|
# @!attribute allows_rollover
|
5673
5673
|
#
|
5674
5674
|
# @return [Boolean]
|
5675
|
-
required :allows_rollover, Orb::Internal::Type::
|
5675
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
5676
5676
|
|
5677
5677
|
# @!attribute currency
|
5678
5678
|
#
|
@@ -6095,7 +6095,7 @@ module Orb
|
|
6095
6095
|
# @!attribute allows_rollover
|
6096
6096
|
#
|
6097
6097
|
# @return [Boolean]
|
6098
|
-
required :allows_rollover, Orb::Internal::Type::
|
6098
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
6099
6099
|
|
6100
6100
|
# @!attribute currency
|
6101
6101
|
#
|
@@ -6514,7 +6514,7 @@ module Orb
|
|
6514
6514
|
# @!attribute allows_rollover
|
6515
6515
|
#
|
6516
6516
|
# @return [Boolean]
|
6517
|
-
required :allows_rollover, Orb::Internal::Type::
|
6517
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
6518
6518
|
|
6519
6519
|
# @!attribute currency
|
6520
6520
|
#
|
@@ -6938,7 +6938,7 @@ module Orb
|
|
6938
6938
|
# @!attribute allows_rollover
|
6939
6939
|
#
|
6940
6940
|
# @return [Boolean]
|
6941
|
-
required :allows_rollover, Orb::Internal::Type::
|
6941
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
6942
6942
|
|
6943
6943
|
# @!attribute currency
|
6944
6944
|
#
|
@@ -7421,7 +7421,7 @@ module Orb
|
|
7421
7421
|
# @!attribute allows_rollover
|
7422
7422
|
#
|
7423
7423
|
# @return [Boolean]
|
7424
|
-
required :allows_rollover, Orb::Internal::Type::
|
7424
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
7425
7425
|
|
7426
7426
|
# @!attribute currency
|
7427
7427
|
#
|
@@ -7842,7 +7842,7 @@ module Orb
|
|
7842
7842
|
# @!attribute allows_rollover
|
7843
7843
|
#
|
7844
7844
|
# @return [Boolean]
|
7845
|
-
required :allows_rollover, Orb::Internal::Type::
|
7845
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
7846
7846
|
|
7847
7847
|
# @!attribute currency
|
7848
7848
|
#
|
@@ -8263,7 +8263,7 @@ module Orb
|
|
8263
8263
|
# @!attribute allows_rollover
|
8264
8264
|
#
|
8265
8265
|
# @return [Boolean]
|
8266
|
-
required :allows_rollover, Orb::Internal::Type::
|
8266
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
8267
8267
|
|
8268
8268
|
# @!attribute currency
|
8269
8269
|
#
|
@@ -8687,7 +8687,7 @@ module Orb
|
|
8687
8687
|
# @!attribute allows_rollover
|
8688
8688
|
#
|
8689
8689
|
# @return [Boolean]
|
8690
|
-
required :allows_rollover, Orb::Internal::Type::
|
8690
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
8691
8691
|
|
8692
8692
|
# @!attribute currency
|
8693
8693
|
#
|
@@ -9111,7 +9111,7 @@ module Orb
|
|
9111
9111
|
# @!attribute allows_rollover
|
9112
9112
|
#
|
9113
9113
|
# @return [Boolean]
|
9114
|
-
required :allows_rollover, Orb::Internal::Type::
|
9114
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
9115
9115
|
|
9116
9116
|
# @!attribute currency
|
9117
9117
|
#
|
@@ -9534,7 +9534,7 @@ module Orb
|
|
9534
9534
|
# @!attribute allows_rollover
|
9535
9535
|
#
|
9536
9536
|
# @return [Boolean]
|
9537
|
-
required :allows_rollover, Orb::Internal::Type::
|
9537
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
9538
9538
|
|
9539
9539
|
# @!attribute currency
|
9540
9540
|
#
|
@@ -9955,7 +9955,7 @@ module Orb
|
|
9955
9955
|
# @!attribute allows_rollover
|
9956
9956
|
#
|
9957
9957
|
# @return [Boolean]
|
9958
|
-
required :allows_rollover, Orb::Internal::Type::
|
9958
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
9959
9959
|
|
9960
9960
|
# @!attribute currency
|
9961
9961
|
#
|
@@ -10378,7 +10378,7 @@ module Orb
|
|
10378
10378
|
# @!attribute allows_rollover
|
10379
10379
|
#
|
10380
10380
|
# @return [Boolean]
|
10381
|
-
required :allows_rollover, Orb::Internal::Type::
|
10381
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
10382
10382
|
|
10383
10383
|
# @!attribute currency
|
10384
10384
|
#
|
@@ -10801,7 +10801,7 @@ module Orb
|
|
10801
10801
|
# @!attribute allows_rollover
|
10802
10802
|
#
|
10803
10803
|
# @return [Boolean]
|
10804
|
-
required :allows_rollover, Orb::Internal::Type::
|
10804
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
10805
10805
|
|
10806
10806
|
# @!attribute currency
|
10807
10807
|
#
|
@@ -11225,7 +11225,7 @@ module Orb
|
|
11225
11225
|
# @!attribute allows_rollover
|
11226
11226
|
#
|
11227
11227
|
# @return [Boolean]
|
11228
|
-
required :allows_rollover, Orb::Internal::Type::
|
11228
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
11229
11229
|
|
11230
11230
|
# @!attribute currency
|
11231
11231
|
#
|
@@ -11649,7 +11649,7 @@ module Orb
|
|
11649
11649
|
# @!attribute allows_rollover
|
11650
11650
|
#
|
11651
11651
|
# @return [Boolean]
|
11652
|
-
required :allows_rollover, Orb::Internal::Type::
|
11652
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
11653
11653
|
|
11654
11654
|
# @!attribute currency
|
11655
11655
|
#
|
@@ -12072,7 +12072,7 @@ module Orb
|
|
12072
12072
|
# @!attribute allows_rollover
|
12073
12073
|
#
|
12074
12074
|
# @return [Boolean]
|
12075
|
-
required :allows_rollover, Orb::Internal::Type::
|
12075
|
+
required :allows_rollover, Orb::Internal::Type::Boolean
|
12076
12076
|
|
12077
12077
|
# @!attribute currency
|
12078
12078
|
#
|
@@ -54,7 +54,7 @@ module Orb
|
|
54
54
|
# this is true, and in-arrears if this is false.
|
55
55
|
#
|
56
56
|
# @return [Boolean, nil]
|
57
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
57
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
58
58
|
|
59
59
|
# @!attribute billing_cycle_configuration
|
60
60
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -30,7 +30,7 @@ module Orb
|
|
30
30
|
# the plan's behavior. If null, defaults to the customer's setting.
|
31
31
|
#
|
32
32
|
# @return [Boolean, nil]
|
33
|
-
required :auto_collection, Orb::Internal::Type::
|
33
|
+
required :auto_collection, Orb::Internal::Type::Boolean, nil?: true
|
34
34
|
|
35
35
|
# @!attribute billing_cycle_anchor_configuration
|
36
36
|
#
|
@@ -353,7 +353,7 @@ module Orb
|
|
353
353
|
# that apply to only one price.
|
354
354
|
#
|
355
355
|
# @return [Boolean]
|
356
|
-
required :is_invoice_level, Orb::Internal::Type::
|
356
|
+
required :is_invoice_level, Orb::Internal::Type::Boolean
|
357
357
|
|
358
358
|
# @!attribute plan_phase_order
|
359
359
|
# The plan phase in which this adjustment is active.
|
@@ -428,7 +428,7 @@ module Orb
|
|
428
428
|
# that apply to only one price.
|
429
429
|
#
|
430
430
|
# @return [Boolean]
|
431
|
-
required :is_invoice_level, Orb::Internal::Type::
|
431
|
+
required :is_invoice_level, Orb::Internal::Type::Boolean
|
432
432
|
|
433
433
|
# @!attribute plan_phase_order
|
434
434
|
# The plan phase in which this adjustment is active.
|
@@ -489,7 +489,7 @@ module Orb
|
|
489
489
|
# that apply to only one price.
|
490
490
|
#
|
491
491
|
# @return [Boolean]
|
492
|
-
required :is_invoice_level, Orb::Internal::Type::
|
492
|
+
required :is_invoice_level, Orb::Internal::Type::Boolean
|
493
493
|
|
494
494
|
# @!attribute percentage_discount
|
495
495
|
# The percentage (as a value between 0 and 1) by which to discount the price
|
@@ -557,7 +557,7 @@ module Orb
|
|
557
557
|
# that apply to only one price.
|
558
558
|
#
|
559
559
|
# @return [Boolean]
|
560
|
-
required :is_invoice_level, Orb::Internal::Type::
|
560
|
+
required :is_invoice_level, Orb::Internal::Type::Boolean
|
561
561
|
|
562
562
|
# @!attribute item_id
|
563
563
|
# The item ID that revenue from this minimum will be attributed to.
|
@@ -633,7 +633,7 @@ module Orb
|
|
633
633
|
# that apply to only one price.
|
634
634
|
#
|
635
635
|
# @return [Boolean]
|
636
|
-
required :is_invoice_level, Orb::Internal::Type::
|
636
|
+
required :is_invoice_level, Orb::Internal::Type::Boolean
|
637
637
|
|
638
638
|
# @!attribute maximum_amount
|
639
639
|
# The maximum amount to charge in a given billing period for the prices this
|
@@ -20,7 +20,7 @@ module Orb
|
|
20
20
|
# existing invoices to be changed.
|
21
21
|
#
|
22
22
|
# @return [Boolean, nil]
|
23
|
-
optional :allow_invoice_credit_or_void, Orb::Internal::Type::
|
23
|
+
optional :allow_invoice_credit_or_void, Orb::Internal::Type::Boolean, nil?: true
|
24
24
|
|
25
25
|
# @!attribute cancellation_date
|
26
26
|
# The date that the cancellation should take effect. This parameter can only be
|
@@ -30,7 +30,7 @@ module Orb
|
|
30
30
|
# the plan's behavior. If null, defaults to the customer's setting.
|
31
31
|
#
|
32
32
|
# @return [Boolean, nil]
|
33
|
-
required :auto_collection, Orb::Internal::Type::
|
33
|
+
required :auto_collection, Orb::Internal::Type::Boolean, nil?: true
|
34
34
|
|
35
35
|
# @!attribute billing_cycle_anchor_configuration
|
36
36
|
#
|
@@ -335,7 +335,7 @@ module Orb
|
|
335
335
|
# that apply to only one price.
|
336
336
|
#
|
337
337
|
# @return [Boolean]
|
338
|
-
required :is_invoice_level, Orb::Internal::Type::
|
338
|
+
required :is_invoice_level, Orb::Internal::Type::Boolean
|
339
339
|
|
340
340
|
# @!attribute plan_phase_order
|
341
341
|
# The plan phase in which this adjustment is active.
|
@@ -410,7 +410,7 @@ module Orb
|
|
410
410
|
# that apply to only one price.
|
411
411
|
#
|
412
412
|
# @return [Boolean]
|
413
|
-
required :is_invoice_level, Orb::Internal::Type::
|
413
|
+
required :is_invoice_level, Orb::Internal::Type::Boolean
|
414
414
|
|
415
415
|
# @!attribute plan_phase_order
|
416
416
|
# The plan phase in which this adjustment is active.
|
@@ -471,7 +471,7 @@ module Orb
|
|
471
471
|
# that apply to only one price.
|
472
472
|
#
|
473
473
|
# @return [Boolean]
|
474
|
-
required :is_invoice_level, Orb::Internal::Type::
|
474
|
+
required :is_invoice_level, Orb::Internal::Type::Boolean
|
475
475
|
|
476
476
|
# @!attribute percentage_discount
|
477
477
|
# The percentage (as a value between 0 and 1) by which to discount the price
|
@@ -539,7 +539,7 @@ module Orb
|
|
539
539
|
# that apply to only one price.
|
540
540
|
#
|
541
541
|
# @return [Boolean]
|
542
|
-
required :is_invoice_level, Orb::Internal::Type::
|
542
|
+
required :is_invoice_level, Orb::Internal::Type::Boolean
|
543
543
|
|
544
544
|
# @!attribute item_id
|
545
545
|
# The item ID that revenue from this minimum will be attributed to.
|
@@ -615,7 +615,7 @@ module Orb
|
|
615
615
|
# that apply to only one price.
|
616
616
|
#
|
617
617
|
# @return [Boolean]
|
618
|
-
required :is_invoice_level, Orb::Internal::Type::
|
618
|
+
required :is_invoice_level, Orb::Internal::Type::Boolean
|
619
619
|
|
620
620
|
# @!attribute maximum_amount
|
621
621
|
# The maximum amount to charge in a given billing period for the prices this
|