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.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -5
  3. data/lib/orb/internal/page.rb +6 -2
  4. data/lib/orb/internal/transport/base_client.rb +2 -2
  5. data/lib/orb/internal/transport/pooled_net_requester.rb +1 -1
  6. data/lib/orb/internal/type/array_of.rb +5 -3
  7. data/lib/orb/internal/type/base_model.rb +12 -6
  8. data/lib/orb/internal/type/base_page.rb +4 -1
  9. data/lib/orb/internal/type/{boolean_model.rb → boolean.rb} +2 -2
  10. data/lib/orb/internal/type/converter.rb +6 -1
  11. data/lib/orb/internal/type/enum.rb +2 -0
  12. data/lib/orb/internal/type/hash_of.rb +3 -1
  13. data/lib/orb/internal/util.rb +28 -45
  14. data/lib/orb/models/alert.rb +1 -1
  15. data/lib/orb/models/coupon_list_params.rb +1 -1
  16. data/lib/orb/models/customer.rb +5 -5
  17. data/lib/orb/models/customer_create_params.rb +6 -6
  18. data/lib/orb/models/customer_update_by_external_id_params.rb +6 -6
  19. data/lib/orb/models/customer_update_params.rb +6 -6
  20. data/lib/orb/models/customers/credit_list_by_external_id_params.rb +1 -1
  21. data/lib/orb/models/customers/credit_list_params.rb +1 -1
  22. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +2 -2
  23. data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +2 -2
  24. data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +2 -2
  25. data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +2 -2
  26. data/lib/orb/models/customers/credits/top_up_create_params.rb +2 -2
  27. data/lib/orb/models/customers/credits/top_up_create_response.rb +2 -2
  28. data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +2 -2
  29. data/lib/orb/models/customers/credits/top_up_list_response.rb +2 -2
  30. data/lib/orb/models/evaluate_price_group.rb +1 -1
  31. data/lib/orb/models/event_ingest_params.rb +1 -1
  32. data/lib/orb/models/event_search_response.rb +1 -1
  33. data/lib/orb/models/events/backfill_close_response.rb +1 -1
  34. data/lib/orb/models/events/backfill_create_params.rb +1 -1
  35. data/lib/orb/models/events/backfill_create_response.rb +1 -1
  36. data/lib/orb/models/events/backfill_fetch_response.rb +1 -1
  37. data/lib/orb/models/events/backfill_list_response.rb +1 -1
  38. data/lib/orb/models/events/backfill_revert_response.rb +1 -1
  39. data/lib/orb/models/invoice.rb +8 -8
  40. data/lib/orb/models/invoice_create_params.rb +1 -1
  41. data/lib/orb/models/invoice_fetch_upcoming_response.rb +8 -8
  42. data/lib/orb/models/invoice_issue_params.rb +1 -1
  43. data/lib/orb/models/invoice_line_item_create_response.rb +5 -5
  44. data/lib/orb/models/invoice_list_params.rb +1 -1
  45. data/lib/orb/models/pagination_metadata.rb +1 -1
  46. data/lib/orb/models/plan.rb +5 -5
  47. data/lib/orb/models/plan_create_params.rb +25 -25
  48. data/lib/orb/models/price.rb +28 -28
  49. data/lib/orb/models/price_create_params.rb +1 -1
  50. data/lib/orb/models/subscription.rb +6 -6
  51. data/lib/orb/models/subscription_cancel_params.rb +1 -1
  52. data/lib/orb/models/subscription_cancel_response.rb +6 -6
  53. data/lib/orb/models/subscription_create_params.rb +64 -64
  54. data/lib/orb/models/subscription_create_response.rb +6 -6
  55. data/lib/orb/models/subscription_price_intervals_params.rb +35 -35
  56. data/lib/orb/models/subscription_price_intervals_response.rb +6 -6
  57. data/lib/orb/models/subscription_schedule_plan_change_params.rb +64 -64
  58. data/lib/orb/models/subscription_schedule_plan_change_response.rb +6 -6
  59. data/lib/orb/models/subscription_trigger_phase_params.rb +1 -1
  60. data/lib/orb/models/subscription_trigger_phase_response.rb +6 -6
  61. data/lib/orb/models/subscription_unschedule_cancellation_response.rb +6 -6
  62. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +6 -6
  63. data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +6 -6
  64. data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +1 -1
  65. data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +6 -6
  66. data/lib/orb/models/subscription_update_params.rb +1 -1
  67. data/lib/orb/models/subscription_update_trial_params.rb +1 -1
  68. data/lib/orb/models/subscription_update_trial_response.rb +6 -6
  69. data/lib/orb/resources/alerts.rb +6 -1
  70. data/lib/orb/resources/credit_notes.rb +6 -1
  71. data/lib/orb/resources/customers/balance_transactions.rb +6 -1
  72. data/lib/orb/resources/customers/credits/ledger.rb +12 -2
  73. data/lib/orb/resources/customers.rb +6 -1
  74. data/lib/orb/resources/invoices.rb +10 -1
  75. data/lib/orb/resources/metrics.rb +6 -1
  76. data/lib/orb/resources/plans.rb +6 -1
  77. data/lib/orb/resources/subscriptions.rb +12 -2
  78. data/lib/orb/version.rb +1 -1
  79. data/lib/orb.rb +1 -1
  80. data/rbi/lib/orb/internal/type/array_of.rbi +2 -2
  81. data/rbi/lib/orb/internal/type/{boolean_model.rbi → boolean.rbi} +1 -1
  82. data/rbi/lib/orb/internal/util.rbi +7 -5
  83. data/rbi/lib/orb/version.rbi +1 -1
  84. data/sig/orb/internal/type/array_of.rbs +2 -2
  85. data/sig/orb/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
  86. data/sig/orb/internal/util.rbs +5 -5
  87. data/sig/orb/version.rbs +1 -1
  88. metadata +5 -5
@@ -35,7 +35,7 @@ module Orb
35
35
  # existing invoices to be changed.
36
36
  #
37
37
  # @return [Boolean, nil]
38
- optional :allow_invoice_credit_or_void, Orb::Internal::Type::BooleanModel, nil?: true
38
+ optional :allow_invoice_credit_or_void, Orb::Internal::Type::Boolean, nil?: true
39
39
 
40
40
  # @!attribute [r] edit
41
41
  # A list of price intervals to edit on the subscription.
@@ -248,7 +248,7 @@ module Orb
248
248
  # over to the next period.
249
249
  #
250
250
  # @return [Boolean]
251
- required :expires_at_end_of_cadence, Orb::Internal::Type::BooleanModel
251
+ required :expires_at_end_of_cadence, Orb::Internal::Type::Boolean
252
252
 
253
253
  # @!parse
254
254
  # # The definition of a new allocation price to create and add to the subscription.
@@ -541,7 +541,7 @@ module Orb
541
541
  # this is true, and in-arrears if this is false.
542
542
  #
543
543
  # @return [Boolean, nil]
544
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
544
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
545
545
 
546
546
  # @!attribute billing_cycle_configuration
547
547
  # For custom cadence: specifies the duration of the billing period in days or
@@ -806,7 +806,7 @@ module Orb
806
806
  # this is true, and in-arrears if this is false.
807
807
  #
808
808
  # @return [Boolean, nil]
809
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
809
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
810
810
 
811
811
  # @!attribute billing_cycle_configuration
812
812
  # For custom cadence: specifies the duration of the billing period in days or
@@ -1079,7 +1079,7 @@ module Orb
1079
1079
  # this is true, and in-arrears if this is false.
1080
1080
  #
1081
1081
  # @return [Boolean, nil]
1082
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
1082
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
1083
1083
 
1084
1084
  # @!attribute billing_cycle_configuration
1085
1085
  # For custom cadence: specifies the duration of the billing period in days or
@@ -1387,7 +1387,7 @@ module Orb
1387
1387
  # this is true, and in-arrears if this is false.
1388
1388
  #
1389
1389
  # @return [Boolean, nil]
1390
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
1390
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
1391
1391
 
1392
1392
  # @!attribute billing_cycle_configuration
1393
1393
  # For custom cadence: specifies the duration of the billing period in days or
@@ -1702,7 +1702,7 @@ module Orb
1702
1702
  # this is true, and in-arrears if this is false.
1703
1703
  #
1704
1704
  # @return [Boolean, nil]
1705
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
1705
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
1706
1706
 
1707
1707
  # @!attribute billing_cycle_configuration
1708
1708
  # For custom cadence: specifies the duration of the billing period in days or
@@ -1997,7 +1997,7 @@ module Orb
1997
1997
  # this is true, and in-arrears if this is false.
1998
1998
  #
1999
1999
  # @return [Boolean, nil]
2000
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
2000
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
2001
2001
 
2002
2002
  # @!attribute billing_cycle_configuration
2003
2003
  # For custom cadence: specifies the duration of the billing period in days or
@@ -2304,7 +2304,7 @@ module Orb
2304
2304
  # this is true, and in-arrears if this is false.
2305
2305
  #
2306
2306
  # @return [Boolean, nil]
2307
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
2307
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
2308
2308
 
2309
2309
  # @!attribute billing_cycle_configuration
2310
2310
  # For custom cadence: specifies the duration of the billing period in days or
@@ -2576,7 +2576,7 @@ module Orb
2576
2576
  # this is true, and in-arrears if this is false.
2577
2577
  #
2578
2578
  # @return [Boolean, nil]
2579
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
2579
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
2580
2580
 
2581
2581
  # @!attribute billing_cycle_configuration
2582
2582
  # For custom cadence: specifies the duration of the billing period in days or
@@ -2872,7 +2872,7 @@ module Orb
2872
2872
  # this is true, and in-arrears if this is false.
2873
2873
  #
2874
2874
  # @return [Boolean, nil]
2875
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
2875
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
2876
2876
 
2877
2877
  # @!attribute billing_cycle_configuration
2878
2878
  # For custom cadence: specifies the duration of the billing period in days or
@@ -3159,7 +3159,7 @@ module Orb
3159
3159
  # this is true, and in-arrears if this is false.
3160
3160
  #
3161
3161
  # @return [Boolean, nil]
3162
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
3162
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
3163
3163
 
3164
3164
  # @!attribute billing_cycle_configuration
3165
3165
  # For custom cadence: specifies the duration of the billing period in days or
@@ -3407,7 +3407,7 @@ module Orb
3407
3407
  # this is true, and in-arrears if this is false.
3408
3408
  #
3409
3409
  # @return [Boolean, nil]
3410
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
3410
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
3411
3411
 
3412
3412
  # @!attribute billing_cycle_configuration
3413
3413
  # For custom cadence: specifies the duration of the billing period in days or
@@ -3655,7 +3655,7 @@ module Orb
3655
3655
  # this is true, and in-arrears if this is false.
3656
3656
  #
3657
3657
  # @return [Boolean, nil]
3658
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
3658
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
3659
3659
 
3660
3660
  # @!attribute billing_cycle_configuration
3661
3661
  # For custom cadence: specifies the duration of the billing period in days or
@@ -3904,7 +3904,7 @@ module Orb
3904
3904
  # this is true, and in-arrears if this is false.
3905
3905
  #
3906
3906
  # @return [Boolean, nil]
3907
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
3907
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
3908
3908
 
3909
3909
  # @!attribute billing_cycle_configuration
3910
3910
  # For custom cadence: specifies the duration of the billing period in days or
@@ -4152,7 +4152,7 @@ module Orb
4152
4152
  # this is true, and in-arrears if this is false.
4153
4153
  #
4154
4154
  # @return [Boolean, nil]
4155
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
4155
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
4156
4156
 
4157
4157
  # @!attribute billing_cycle_configuration
4158
4158
  # For custom cadence: specifies the duration of the billing period in days or
@@ -4401,7 +4401,7 @@ module Orb
4401
4401
  # this is true, and in-arrears if this is false.
4402
4402
  #
4403
4403
  # @return [Boolean, nil]
4404
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
4404
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
4405
4405
 
4406
4406
  # @!attribute billing_cycle_configuration
4407
4407
  # For custom cadence: specifies the duration of the billing period in days or
@@ -4650,7 +4650,7 @@ module Orb
4650
4650
  # this is true, and in-arrears if this is false.
4651
4651
  #
4652
4652
  # @return [Boolean, nil]
4653
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
4653
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
4654
4654
 
4655
4655
  # @!attribute billing_cycle_configuration
4656
4656
  # For custom cadence: specifies the duration of the billing period in days or
@@ -4898,7 +4898,7 @@ module Orb
4898
4898
  # this is true, and in-arrears if this is false.
4899
4899
  #
4900
4900
  # @return [Boolean, nil]
4901
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
4901
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
4902
4902
 
4903
4903
  # @!attribute billing_cycle_configuration
4904
4904
  # For custom cadence: specifies the duration of the billing period in days or
@@ -5146,7 +5146,7 @@ module Orb
5146
5146
  # this is true, and in-arrears if this is false.
5147
5147
  #
5148
5148
  # @return [Boolean, nil]
5149
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
5149
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
5150
5150
 
5151
5151
  # @!attribute billing_cycle_configuration
5152
5152
  # For custom cadence: specifies the duration of the billing period in days or
@@ -5394,7 +5394,7 @@ module Orb
5394
5394
  # this is true, and in-arrears if this is false.
5395
5395
  #
5396
5396
  # @return [Boolean, nil]
5397
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
5397
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
5398
5398
 
5399
5399
  # @!attribute billing_cycle_configuration
5400
5400
  # For custom cadence: specifies the duration of the billing period in days or
@@ -5642,7 +5642,7 @@ module Orb
5642
5642
  # this is true, and in-arrears if this is false.
5643
5643
  #
5644
5644
  # @return [Boolean, nil]
5645
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
5645
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
5646
5646
 
5647
5647
  # @!attribute billing_cycle_configuration
5648
5648
  # For custom cadence: specifies the duration of the billing period in days or
@@ -5891,7 +5891,7 @@ module Orb
5891
5891
  # this is true, and in-arrears if this is false.
5892
5892
  #
5893
5893
  # @return [Boolean, nil]
5894
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
5894
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
5895
5895
 
5896
5896
  # @!attribute billing_cycle_configuration
5897
5897
  # For custom cadence: specifies the duration of the billing period in days or
@@ -6140,7 +6140,7 @@ module Orb
6140
6140
  # this is true, and in-arrears if this is false.
6141
6141
  #
6142
6142
  # @return [Boolean, nil]
6143
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
6143
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
6144
6144
 
6145
6145
  # @!attribute billing_cycle_configuration
6146
6146
  # For custom cadence: specifies the duration of the billing period in days or
@@ -6389,7 +6389,7 @@ module Orb
6389
6389
  # this is true, and in-arrears if this is false.
6390
6390
  #
6391
6391
  # @return [Boolean, nil]
6392
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
6392
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
6393
6393
 
6394
6394
  # @!attribute billing_cycle_configuration
6395
6395
  # For custom cadence: specifies the duration of the billing period in days or
@@ -6637,7 +6637,7 @@ module Orb
6637
6637
  # this is true, and in-arrears if this is false.
6638
6638
  #
6639
6639
  # @return [Boolean, nil]
6640
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
6640
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
6641
6641
 
6642
6642
  # @!attribute billing_cycle_configuration
6643
6643
  # For custom cadence: specifies the duration of the billing period in days or
@@ -6885,7 +6885,7 @@ module Orb
6885
6885
  # this is true, and in-arrears if this is false.
6886
6886
  #
6887
6887
  # @return [Boolean, nil]
6888
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
6888
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
6889
6889
 
6890
6890
  # @!attribute billing_cycle_configuration
6891
6891
  # For custom cadence: specifies the duration of the billing period in days or
@@ -7134,7 +7134,7 @@ module Orb
7134
7134
  # this is true, and in-arrears if this is false.
7135
7135
  #
7136
7136
  # @return [Boolean, nil]
7137
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
7137
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
7138
7138
 
7139
7139
  # @!attribute billing_cycle_configuration
7140
7140
  # For custom cadence: specifies the duration of the billing period in days or
@@ -7383,7 +7383,7 @@ module Orb
7383
7383
  # this is true, and in-arrears if this is false.
7384
7384
  #
7385
7385
  # @return [Boolean, nil]
7386
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
7386
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
7387
7387
 
7388
7388
  # @!attribute billing_cycle_configuration
7389
7389
  # For custom cadence: specifies the duration of the billing period in days or
@@ -7632,7 +7632,7 @@ module Orb
7632
7632
  # this is true, and in-arrears if this is false.
7633
7633
  #
7634
7634
  # @return [Boolean, nil]
7635
- optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
7635
+ optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
7636
7636
 
7637
7637
  # @!attribute billing_cycle_configuration
7638
7638
  # For custom cadence: specifies the duration of the billing period in days or
@@ -7921,7 +7921,7 @@ module Orb
7921
7921
  # will be applied at the invoice level, possibly to multiple prices.
7922
7922
  #
7923
7923
  # @return [Boolean, nil]
7924
- optional :is_invoice_level, Orb::Internal::Type::BooleanModel
7924
+ optional :is_invoice_level, Orb::Internal::Type::Boolean
7925
7925
 
7926
7926
  # @!parse
7927
7927
  # # @return [Boolean]
@@ -7968,7 +7968,7 @@ module Orb
7968
7968
  # will be applied at the invoice level, possibly to multiple prices.
7969
7969
  #
7970
7970
  # @return [Boolean, nil]
7971
- optional :is_invoice_level, Orb::Internal::Type::BooleanModel
7971
+ optional :is_invoice_level, Orb::Internal::Type::Boolean
7972
7972
 
7973
7973
  # @!parse
7974
7974
  # # @return [Boolean]
@@ -8007,7 +8007,7 @@ module Orb
8007
8007
  # will be applied at the invoice level, possibly to multiple prices.
8008
8008
  #
8009
8009
  # @return [Boolean, nil]
8010
- optional :is_invoice_level, Orb::Internal::Type::BooleanModel
8010
+ optional :is_invoice_level, Orb::Internal::Type::Boolean
8011
8011
 
8012
8012
  # @!parse
8013
8013
  # # @return [Boolean]
@@ -8052,7 +8052,7 @@ module Orb
8052
8052
  # will be applied at the invoice level, possibly to multiple prices.
8053
8053
  #
8054
8054
  # @return [Boolean, nil]
8055
- optional :is_invoice_level, Orb::Internal::Type::BooleanModel
8055
+ optional :is_invoice_level, Orb::Internal::Type::Boolean
8056
8056
 
8057
8057
  # @!parse
8058
8058
  # # @return [Boolean]
@@ -8092,7 +8092,7 @@ module Orb
8092
8092
  # will be applied at the invoice level, possibly to multiple prices.
8093
8093
  #
8094
8094
  # @return [Boolean, nil]
8095
- optional :is_invoice_level, Orb::Internal::Type::BooleanModel
8095
+ optional :is_invoice_level, Orb::Internal::Type::Boolean
8096
8096
 
8097
8097
  # @!parse
8098
8098
  # # @return [Boolean]
@@ -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::BooleanModel, nil?: true
33
+ required :auto_collection, Orb::Internal::Type::Boolean, nil?: true
34
34
 
35
35
  # @!attribute billing_cycle_anchor_configuration
36
36
  #
@@ -337,7 +337,7 @@ module Orb
337
337
  # that apply to only one price.
338
338
  #
339
339
  # @return [Boolean]
340
- required :is_invoice_level, Orb::Internal::Type::BooleanModel
340
+ required :is_invoice_level, Orb::Internal::Type::Boolean
341
341
 
342
342
  # @!attribute plan_phase_order
343
343
  # The plan phase in which this adjustment is active.
@@ -412,7 +412,7 @@ module Orb
412
412
  # that apply to only one price.
413
413
  #
414
414
  # @return [Boolean]
415
- required :is_invoice_level, Orb::Internal::Type::BooleanModel
415
+ required :is_invoice_level, Orb::Internal::Type::Boolean
416
416
 
417
417
  # @!attribute plan_phase_order
418
418
  # The plan phase in which this adjustment is active.
@@ -473,7 +473,7 @@ module Orb
473
473
  # that apply to only one price.
474
474
  #
475
475
  # @return [Boolean]
476
- required :is_invoice_level, Orb::Internal::Type::BooleanModel
476
+ required :is_invoice_level, Orb::Internal::Type::Boolean
477
477
 
478
478
  # @!attribute percentage_discount
479
479
  # The percentage (as a value between 0 and 1) by which to discount the price
@@ -541,7 +541,7 @@ module Orb
541
541
  # that apply to only one price.
542
542
  #
543
543
  # @return [Boolean]
544
- required :is_invoice_level, Orb::Internal::Type::BooleanModel
544
+ required :is_invoice_level, Orb::Internal::Type::Boolean
545
545
 
546
546
  # @!attribute item_id
547
547
  # The item ID that revenue from this minimum will be attributed to.
@@ -617,7 +617,7 @@ module Orb
617
617
  # that apply to only one price.
618
618
  #
619
619
  # @return [Boolean]
620
- required :is_invoice_level, Orb::Internal::Type::BooleanModel
620
+ required :is_invoice_level, Orb::Internal::Type::Boolean
621
621
 
622
622
  # @!attribute maximum_amount
623
623
  # The maximum amount to charge in a given billing period for the prices this