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
@@ -29,7 +29,7 @@ module Orb
|
|
29
29
|
# @!attribute [r] align_billing_with_subscription_start_date
|
30
30
|
#
|
31
31
|
# @return [Boolean, nil]
|
32
|
-
optional :align_billing_with_subscription_start_date, Orb::Internal::Type::
|
32
|
+
optional :align_billing_with_subscription_start_date, Orb::Internal::Type::Boolean
|
33
33
|
|
34
34
|
# @!parse
|
35
35
|
# # @return [Boolean]
|
@@ -41,7 +41,7 @@ module Orb
|
|
41
41
|
# defaults to the behavior configured for this customer.
|
42
42
|
#
|
43
43
|
# @return [Boolean, nil]
|
44
|
-
optional :auto_collection, Orb::Internal::Type::
|
44
|
+
optional :auto_collection, Orb::Internal::Type::Boolean, nil?: true
|
45
45
|
|
46
46
|
# @!attribute aws_region
|
47
47
|
#
|
@@ -389,7 +389,7 @@ module Orb
|
|
389
389
|
# will be applied at the invoice level, possibly to multiple prices.
|
390
390
|
#
|
391
391
|
# @return [Boolean, nil]
|
392
|
-
optional :is_invoice_level, Orb::Internal::Type::
|
392
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
393
393
|
|
394
394
|
# @!parse
|
395
395
|
# # @return [Boolean]
|
@@ -436,7 +436,7 @@ module Orb
|
|
436
436
|
# will be applied at the invoice level, possibly to multiple prices.
|
437
437
|
#
|
438
438
|
# @return [Boolean, nil]
|
439
|
-
optional :is_invoice_level, Orb::Internal::Type::
|
439
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
440
440
|
|
441
441
|
# @!parse
|
442
442
|
# # @return [Boolean]
|
@@ -475,7 +475,7 @@ module Orb
|
|
475
475
|
# will be applied at the invoice level, possibly to multiple prices.
|
476
476
|
#
|
477
477
|
# @return [Boolean, nil]
|
478
|
-
optional :is_invoice_level, Orb::Internal::Type::
|
478
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
479
479
|
|
480
480
|
# @!parse
|
481
481
|
# # @return [Boolean]
|
@@ -520,7 +520,7 @@ module Orb
|
|
520
520
|
# will be applied at the invoice level, possibly to multiple prices.
|
521
521
|
#
|
522
522
|
# @return [Boolean, nil]
|
523
|
-
optional :is_invoice_level, Orb::Internal::Type::
|
523
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
524
524
|
|
525
525
|
# @!parse
|
526
526
|
# # @return [Boolean]
|
@@ -560,7 +560,7 @@ module Orb
|
|
560
560
|
# will be applied at the invoice level, possibly to multiple prices.
|
561
561
|
#
|
562
562
|
# @return [Boolean, nil]
|
563
|
-
optional :is_invoice_level, Orb::Internal::Type::
|
563
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
564
564
|
|
565
565
|
# @!parse
|
566
566
|
# # @return [Boolean]
|
@@ -711,7 +711,7 @@ module Orb
|
|
711
711
|
# over to the next period.
|
712
712
|
#
|
713
713
|
# @return [Boolean]
|
714
|
-
required :expires_at_end_of_cadence, Orb::Internal::Type::
|
714
|
+
required :expires_at_end_of_cadence, Orb::Internal::Type::Boolean
|
715
715
|
|
716
716
|
# @!parse
|
717
717
|
# # The definition of a new allocation price to create and add to the subscription.
|
@@ -920,7 +920,7 @@ module Orb
|
|
920
920
|
# this is true, and in-arrears if this is false.
|
921
921
|
#
|
922
922
|
# @return [Boolean, nil]
|
923
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
923
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
924
924
|
|
925
925
|
# @!attribute billing_cycle_configuration
|
926
926
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1195,7 +1195,7 @@ module Orb
|
|
1195
1195
|
# this is true, and in-arrears if this is false.
|
1196
1196
|
#
|
1197
1197
|
# @return [Boolean, nil]
|
1198
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
1198
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
1199
1199
|
|
1200
1200
|
# @!attribute billing_cycle_configuration
|
1201
1201
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1478,7 +1478,7 @@ module Orb
|
|
1478
1478
|
# this is true, and in-arrears if this is false.
|
1479
1479
|
#
|
1480
1480
|
# @return [Boolean, nil]
|
1481
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
1481
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
1482
1482
|
|
1483
1483
|
# @!attribute billing_cycle_configuration
|
1484
1484
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1796,7 +1796,7 @@ module Orb
|
|
1796
1796
|
# this is true, and in-arrears if this is false.
|
1797
1797
|
#
|
1798
1798
|
# @return [Boolean, nil]
|
1799
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
1799
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
1800
1800
|
|
1801
1801
|
# @!attribute billing_cycle_configuration
|
1802
1802
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2101,7 +2101,7 @@ module Orb
|
|
2101
2101
|
# this is true, and in-arrears if this is false.
|
2102
2102
|
#
|
2103
2103
|
# @return [Boolean, nil]
|
2104
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
2104
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2105
2105
|
|
2106
2106
|
# @!attribute billing_cycle_configuration
|
2107
2107
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2418,7 +2418,7 @@ module Orb
|
|
2418
2418
|
# this is true, and in-arrears if this is false.
|
2419
2419
|
#
|
2420
2420
|
# @return [Boolean, nil]
|
2421
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
2421
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2422
2422
|
|
2423
2423
|
# @!attribute billing_cycle_configuration
|
2424
2424
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2700,7 +2700,7 @@ module Orb
|
|
2700
2700
|
# this is true, and in-arrears if this is false.
|
2701
2701
|
#
|
2702
2702
|
# @return [Boolean, nil]
|
2703
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
2703
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2704
2704
|
|
2705
2705
|
# @!attribute billing_cycle_configuration
|
2706
2706
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3006,7 +3006,7 @@ module Orb
|
|
3006
3006
|
# this is true, and in-arrears if this is false.
|
3007
3007
|
#
|
3008
3008
|
# @return [Boolean, nil]
|
3009
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
3009
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3010
3010
|
|
3011
3011
|
# @!attribute billing_cycle_configuration
|
3012
3012
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3303,7 +3303,7 @@ module Orb
|
|
3303
3303
|
# this is true, and in-arrears if this is false.
|
3304
3304
|
#
|
3305
3305
|
# @return [Boolean, nil]
|
3306
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
3306
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3307
3307
|
|
3308
3308
|
# @!attribute billing_cycle_configuration
|
3309
3309
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3561,7 +3561,7 @@ module Orb
|
|
3561
3561
|
# this is true, and in-arrears if this is false.
|
3562
3562
|
#
|
3563
3563
|
# @return [Boolean, nil]
|
3564
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
3564
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3565
3565
|
|
3566
3566
|
# @!attribute billing_cycle_configuration
|
3567
3567
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3819,7 +3819,7 @@ module Orb
|
|
3819
3819
|
# this is true, and in-arrears if this is false.
|
3820
3820
|
#
|
3821
3821
|
# @return [Boolean, nil]
|
3822
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
3822
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3823
3823
|
|
3824
3824
|
# @!attribute billing_cycle_configuration
|
3825
3825
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4077,7 +4077,7 @@ module Orb
|
|
4077
4077
|
# this is true, and in-arrears if this is false.
|
4078
4078
|
#
|
4079
4079
|
# @return [Boolean, nil]
|
4080
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
4080
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4081
4081
|
|
4082
4082
|
# @!attribute billing_cycle_configuration
|
4083
4083
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4336,7 +4336,7 @@ module Orb
|
|
4336
4336
|
# this is true, and in-arrears if this is false.
|
4337
4337
|
#
|
4338
4338
|
# @return [Boolean, nil]
|
4339
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
4339
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4340
4340
|
|
4341
4341
|
# @!attribute billing_cycle_configuration
|
4342
4342
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4594,7 +4594,7 @@ module Orb
|
|
4594
4594
|
# this is true, and in-arrears if this is false.
|
4595
4595
|
#
|
4596
4596
|
# @return [Boolean, nil]
|
4597
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
4597
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4598
4598
|
|
4599
4599
|
# @!attribute billing_cycle_configuration
|
4600
4600
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4852,7 +4852,7 @@ module Orb
|
|
4852
4852
|
# this is true, and in-arrears if this is false.
|
4853
4853
|
#
|
4854
4854
|
# @return [Boolean, nil]
|
4855
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
4855
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4856
4856
|
|
4857
4857
|
# @!attribute billing_cycle_configuration
|
4858
4858
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5110,7 +5110,7 @@ module Orb
|
|
5110
5110
|
# this is true, and in-arrears if this is false.
|
5111
5111
|
#
|
5112
5112
|
# @return [Boolean, nil]
|
5113
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
5113
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5114
5114
|
|
5115
5115
|
# @!attribute billing_cycle_configuration
|
5116
5116
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5369,7 +5369,7 @@ module Orb
|
|
5369
5369
|
# this is true, and in-arrears if this is false.
|
5370
5370
|
#
|
5371
5371
|
# @return [Boolean, nil]
|
5372
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
5372
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5373
5373
|
|
5374
5374
|
# @!attribute billing_cycle_configuration
|
5375
5375
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5627,7 +5627,7 @@ module Orb
|
|
5627
5627
|
# this is true, and in-arrears if this is false.
|
5628
5628
|
#
|
5629
5629
|
# @return [Boolean, nil]
|
5630
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
5630
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5631
5631
|
|
5632
5632
|
# @!attribute billing_cycle_configuration
|
5633
5633
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5886,7 +5886,7 @@ module Orb
|
|
5886
5886
|
# this is true, and in-arrears if this is false.
|
5887
5887
|
#
|
5888
5888
|
# @return [Boolean, nil]
|
5889
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
5889
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5890
5890
|
|
5891
5891
|
# @!attribute billing_cycle_configuration
|
5892
5892
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6145,7 +6145,7 @@ module Orb
|
|
6145
6145
|
# this is true, and in-arrears if this is false.
|
6146
6146
|
#
|
6147
6147
|
# @return [Boolean, nil]
|
6148
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
6148
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
6149
6149
|
|
6150
6150
|
# @!attribute billing_cycle_configuration
|
6151
6151
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6404,7 +6404,7 @@ module Orb
|
|
6404
6404
|
# this is true, and in-arrears if this is false.
|
6405
6405
|
#
|
6406
6406
|
# @return [Boolean, nil]
|
6407
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
6407
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
6408
6408
|
|
6409
6409
|
# @!attribute billing_cycle_configuration
|
6410
6410
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6663,7 +6663,7 @@ module Orb
|
|
6663
6663
|
# this is true, and in-arrears if this is false.
|
6664
6664
|
#
|
6665
6665
|
# @return [Boolean, nil]
|
6666
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
6666
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
6667
6667
|
|
6668
6668
|
# @!attribute billing_cycle_configuration
|
6669
6669
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6922,7 +6922,7 @@ module Orb
|
|
6922
6922
|
# this is true, and in-arrears if this is false.
|
6923
6923
|
#
|
6924
6924
|
# @return [Boolean, nil]
|
6925
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
6925
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
6926
6926
|
|
6927
6927
|
# @!attribute billing_cycle_configuration
|
6928
6928
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -7181,7 +7181,7 @@ module Orb
|
|
7181
7181
|
# this is true, and in-arrears if this is false.
|
7182
7182
|
#
|
7183
7183
|
# @return [Boolean, nil]
|
7184
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
7184
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
7185
7185
|
|
7186
7186
|
# @!attribute billing_cycle_configuration
|
7187
7187
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -7439,7 +7439,7 @@ module Orb
|
|
7439
7439
|
# this is true, and in-arrears if this is false.
|
7440
7440
|
#
|
7441
7441
|
# @return [Boolean, nil]
|
7442
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
7442
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
7443
7443
|
|
7444
7444
|
# @!attribute billing_cycle_configuration
|
7445
7445
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -7812,7 +7812,7 @@ module Orb
|
|
7812
7812
|
# will be applied at the invoice level, possibly to multiple prices.
|
7813
7813
|
#
|
7814
7814
|
# @return [Boolean, nil]
|
7815
|
-
optional :is_invoice_level, Orb::Internal::Type::
|
7815
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
7816
7816
|
|
7817
7817
|
# @!parse
|
7818
7818
|
# # @return [Boolean]
|
@@ -7859,7 +7859,7 @@ module Orb
|
|
7859
7859
|
# will be applied at the invoice level, possibly to multiple prices.
|
7860
7860
|
#
|
7861
7861
|
# @return [Boolean, nil]
|
7862
|
-
optional :is_invoice_level, Orb::Internal::Type::
|
7862
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
7863
7863
|
|
7864
7864
|
# @!parse
|
7865
7865
|
# # @return [Boolean]
|
@@ -7898,7 +7898,7 @@ module Orb
|
|
7898
7898
|
# will be applied at the invoice level, possibly to multiple prices.
|
7899
7899
|
#
|
7900
7900
|
# @return [Boolean, nil]
|
7901
|
-
optional :is_invoice_level, Orb::Internal::Type::
|
7901
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
7902
7902
|
|
7903
7903
|
# @!parse
|
7904
7904
|
# # @return [Boolean]
|
@@ -7943,7 +7943,7 @@ module Orb
|
|
7943
7943
|
# will be applied at the invoice level, possibly to multiple prices.
|
7944
7944
|
#
|
7945
7945
|
# @return [Boolean, nil]
|
7946
|
-
optional :is_invoice_level, Orb::Internal::Type::
|
7946
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
7947
7947
|
|
7948
7948
|
# @!parse
|
7949
7949
|
# # @return [Boolean]
|
@@ -7983,7 +7983,7 @@ module Orb
|
|
7983
7983
|
# will be applied at the invoice level, possibly to multiple prices.
|
7984
7984
|
#
|
7985
7985
|
# @return [Boolean, nil]
|
7986
|
-
optional :is_invoice_level, Orb::Internal::Type::
|
7986
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
7987
7987
|
|
7988
7988
|
# @!parse
|
7989
7989
|
# # @return [Boolean]
|
@@ -8123,7 +8123,7 @@ module Orb
|
|
8123
8123
|
# over to the next period.
|
8124
8124
|
#
|
8125
8125
|
# @return [Boolean]
|
8126
|
-
required :expires_at_end_of_cadence, Orb::Internal::Type::
|
8126
|
+
required :expires_at_end_of_cadence, Orb::Internal::Type::Boolean
|
8127
8127
|
|
8128
8128
|
# @!parse
|
8129
8129
|
# # The definition of a new allocation price to create and add to the subscription.
|
@@ -8334,7 +8334,7 @@ module Orb
|
|
8334
8334
|
# this is true, and in-arrears if this is false.
|
8335
8335
|
#
|
8336
8336
|
# @return [Boolean, nil]
|
8337
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
8337
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
8338
8338
|
|
8339
8339
|
# @!attribute billing_cycle_configuration
|
8340
8340
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -8609,7 +8609,7 @@ module Orb
|
|
8609
8609
|
# this is true, and in-arrears if this is false.
|
8610
8610
|
#
|
8611
8611
|
# @return [Boolean, nil]
|
8612
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
8612
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
8613
8613
|
|
8614
8614
|
# @!attribute billing_cycle_configuration
|
8615
8615
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -8892,7 +8892,7 @@ module Orb
|
|
8892
8892
|
# this is true, and in-arrears if this is false.
|
8893
8893
|
#
|
8894
8894
|
# @return [Boolean, nil]
|
8895
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
8895
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
8896
8896
|
|
8897
8897
|
# @!attribute billing_cycle_configuration
|
8898
8898
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -9210,7 +9210,7 @@ module Orb
|
|
9210
9210
|
# this is true, and in-arrears if this is false.
|
9211
9211
|
#
|
9212
9212
|
# @return [Boolean, nil]
|
9213
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
9213
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
9214
9214
|
|
9215
9215
|
# @!attribute billing_cycle_configuration
|
9216
9216
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -9515,7 +9515,7 @@ module Orb
|
|
9515
9515
|
# this is true, and in-arrears if this is false.
|
9516
9516
|
#
|
9517
9517
|
# @return [Boolean, nil]
|
9518
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
9518
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
9519
9519
|
|
9520
9520
|
# @!attribute billing_cycle_configuration
|
9521
9521
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -9832,7 +9832,7 @@ module Orb
|
|
9832
9832
|
# this is true, and in-arrears if this is false.
|
9833
9833
|
#
|
9834
9834
|
# @return [Boolean, nil]
|
9835
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
9835
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
9836
9836
|
|
9837
9837
|
# @!attribute billing_cycle_configuration
|
9838
9838
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -10114,7 +10114,7 @@ module Orb
|
|
10114
10114
|
# this is true, and in-arrears if this is false.
|
10115
10115
|
#
|
10116
10116
|
# @return [Boolean, nil]
|
10117
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
10117
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
10118
10118
|
|
10119
10119
|
# @!attribute billing_cycle_configuration
|
10120
10120
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -10424,7 +10424,7 @@ module Orb
|
|
10424
10424
|
# this is true, and in-arrears if this is false.
|
10425
10425
|
#
|
10426
10426
|
# @return [Boolean, nil]
|
10427
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
10427
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
10428
10428
|
|
10429
10429
|
# @!attribute billing_cycle_configuration
|
10430
10430
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -10721,7 +10721,7 @@ module Orb
|
|
10721
10721
|
# this is true, and in-arrears if this is false.
|
10722
10722
|
#
|
10723
10723
|
# @return [Boolean, nil]
|
10724
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
10724
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
10725
10725
|
|
10726
10726
|
# @!attribute billing_cycle_configuration
|
10727
10727
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -10979,7 +10979,7 @@ module Orb
|
|
10979
10979
|
# this is true, and in-arrears if this is false.
|
10980
10980
|
#
|
10981
10981
|
# @return [Boolean, nil]
|
10982
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
10982
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
10983
10983
|
|
10984
10984
|
# @!attribute billing_cycle_configuration
|
10985
10985
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -11237,7 +11237,7 @@ module Orb
|
|
11237
11237
|
# this is true, and in-arrears if this is false.
|
11238
11238
|
#
|
11239
11239
|
# @return [Boolean, nil]
|
11240
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
11240
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
11241
11241
|
|
11242
11242
|
# @!attribute billing_cycle_configuration
|
11243
11243
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -11495,7 +11495,7 @@ module Orb
|
|
11495
11495
|
# this is true, and in-arrears if this is false.
|
11496
11496
|
#
|
11497
11497
|
# @return [Boolean, nil]
|
11498
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
11498
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
11499
11499
|
|
11500
11500
|
# @!attribute billing_cycle_configuration
|
11501
11501
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -11754,7 +11754,7 @@ module Orb
|
|
11754
11754
|
# this is true, and in-arrears if this is false.
|
11755
11755
|
#
|
11756
11756
|
# @return [Boolean, nil]
|
11757
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
11757
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
11758
11758
|
|
11759
11759
|
# @!attribute billing_cycle_configuration
|
11760
11760
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -12012,7 +12012,7 @@ module Orb
|
|
12012
12012
|
# this is true, and in-arrears if this is false.
|
12013
12013
|
#
|
12014
12014
|
# @return [Boolean, nil]
|
12015
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
12015
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
12016
12016
|
|
12017
12017
|
# @!attribute billing_cycle_configuration
|
12018
12018
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -12270,7 +12270,7 @@ module Orb
|
|
12270
12270
|
# this is true, and in-arrears if this is false.
|
12271
12271
|
#
|
12272
12272
|
# @return [Boolean, nil]
|
12273
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
12273
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
12274
12274
|
|
12275
12275
|
# @!attribute billing_cycle_configuration
|
12276
12276
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -12528,7 +12528,7 @@ module Orb
|
|
12528
12528
|
# this is true, and in-arrears if this is false.
|
12529
12529
|
#
|
12530
12530
|
# @return [Boolean, nil]
|
12531
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
12531
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
12532
12532
|
|
12533
12533
|
# @!attribute billing_cycle_configuration
|
12534
12534
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -12787,7 +12787,7 @@ module Orb
|
|
12787
12787
|
# this is true, and in-arrears if this is false.
|
12788
12788
|
#
|
12789
12789
|
# @return [Boolean, nil]
|
12790
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
12790
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
12791
12791
|
|
12792
12792
|
# @!attribute billing_cycle_configuration
|
12793
12793
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -13045,7 +13045,7 @@ module Orb
|
|
13045
13045
|
# this is true, and in-arrears if this is false.
|
13046
13046
|
#
|
13047
13047
|
# @return [Boolean, nil]
|
13048
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
13048
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
13049
13049
|
|
13050
13050
|
# @!attribute billing_cycle_configuration
|
13051
13051
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -13304,7 +13304,7 @@ module Orb
|
|
13304
13304
|
# this is true, and in-arrears if this is false.
|
13305
13305
|
#
|
13306
13306
|
# @return [Boolean, nil]
|
13307
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
13307
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
13308
13308
|
|
13309
13309
|
# @!attribute billing_cycle_configuration
|
13310
13310
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -13563,7 +13563,7 @@ module Orb
|
|
13563
13563
|
# this is true, and in-arrears if this is false.
|
13564
13564
|
#
|
13565
13565
|
# @return [Boolean, nil]
|
13566
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
13566
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
13567
13567
|
|
13568
13568
|
# @!attribute billing_cycle_configuration
|
13569
13569
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -13822,7 +13822,7 @@ module Orb
|
|
13822
13822
|
# this is true, and in-arrears if this is false.
|
13823
13823
|
#
|
13824
13824
|
# @return [Boolean, nil]
|
13825
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
13825
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
13826
13826
|
|
13827
13827
|
# @!attribute billing_cycle_configuration
|
13828
13828
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -14081,7 +14081,7 @@ module Orb
|
|
14081
14081
|
# this is true, and in-arrears if this is false.
|
14082
14082
|
#
|
14083
14083
|
# @return [Boolean, nil]
|
14084
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
14084
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
14085
14085
|
|
14086
14086
|
# @!attribute billing_cycle_configuration
|
14087
14087
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -14340,7 +14340,7 @@ module Orb
|
|
14340
14340
|
# this is true, and in-arrears if this is false.
|
14341
14341
|
#
|
14342
14342
|
# @return [Boolean, nil]
|
14343
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
14343
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
14344
14344
|
|
14345
14345
|
# @!attribute billing_cycle_configuration
|
14346
14346
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -14599,7 +14599,7 @@ module Orb
|
|
14599
14599
|
# this is true, and in-arrears if this is false.
|
14600
14600
|
#
|
14601
14601
|
# @return [Boolean, nil]
|
14602
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
14602
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
14603
14603
|
|
14604
14604
|
# @!attribute billing_cycle_configuration
|
14605
14605
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -14857,7 +14857,7 @@ module Orb
|
|
14857
14857
|
# this is true, and in-arrears if this is false.
|
14858
14858
|
#
|
14859
14859
|
# @return [Boolean, nil]
|
14860
|
-
optional :billed_in_advance, Orb::Internal::Type::
|
14860
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
14861
14861
|
|
14862
14862
|
# @!attribute billing_cycle_configuration
|
14863
14863
|
# 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
|
#
|
@@ -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
|