orb-billing 1.0.1 → 1.1.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 +22 -0
- data/README.md +1 -1
- data/lib/orb/errors.rb +22 -0
- data/lib/orb/internal/type/array_of.rb +6 -1
- data/lib/orb/internal/type/base_model.rb +79 -25
- data/lib/orb/internal/type/boolean.rb +7 -1
- data/lib/orb/internal/type/converter.rb +42 -34
- data/lib/orb/internal/type/enum.rb +10 -2
- data/lib/orb/internal/type/file_input.rb +6 -1
- data/lib/orb/internal/type/hash_of.rb +6 -1
- data/lib/orb/internal/type/union.rb +12 -7
- data/lib/orb/internal/type/unknown.rb +7 -1
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +4 -4
- data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +4 -4
- data/lib/orb/models/invoice.rb +4 -1
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +4 -1
- data/lib/orb/models/invoice_line_item_create_response.rb +4 -1
- data/lib/orb/models/new_plan_bps_price.rb +10 -1
- data/lib/orb/models/new_plan_bulk_bps_price.rb +10 -1
- data/lib/orb/models/new_plan_bulk_price.rb +10 -1
- data/lib/orb/models/new_plan_bulk_with_proration_price.rb +10 -1
- data/lib/orb/models/new_plan_cumulative_grouped_bulk_price.rb +10 -1
- data/lib/orb/models/new_plan_grouped_allocation_price.rb +10 -1
- data/lib/orb/models/new_plan_grouped_tiered_package_price.rb +10 -1
- data/lib/orb/models/new_plan_grouped_tiered_price.rb +10 -1
- data/lib/orb/models/new_plan_grouped_with_metered_minimum_price.rb +10 -1
- data/lib/orb/models/new_plan_grouped_with_prorated_minimum_price.rb +10 -1
- data/lib/orb/models/new_plan_matrix_price.rb +10 -1
- data/lib/orb/models/new_plan_matrix_with_allocation_price.rb +10 -1
- data/lib/orb/models/new_plan_matrix_with_display_name_price.rb +10 -1
- data/lib/orb/models/new_plan_max_group_tiered_package_price.rb +10 -1
- data/lib/orb/models/new_plan_package_price.rb +10 -1
- data/lib/orb/models/new_plan_package_with_allocation_price.rb +10 -1
- data/lib/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rb +10 -1
- data/lib/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rb +10 -1
- data/lib/orb/models/new_plan_threshold_total_amount_price.rb +10 -1
- data/lib/orb/models/new_plan_tier_with_proration_price.rb +10 -1
- data/lib/orb/models/new_plan_tiered_bps_price.rb +10 -1
- data/lib/orb/models/new_plan_tiered_package_price.rb +10 -1
- data/lib/orb/models/new_plan_tiered_package_with_minimum_price.rb +10 -1
- data/lib/orb/models/new_plan_tiered_price.rb +10 -1
- data/lib/orb/models/new_plan_tiered_with_minimum_price.rb +10 -1
- data/lib/orb/models/new_plan_unit_price.rb +10 -1
- data/lib/orb/models/new_plan_unit_with_percent_price.rb +10 -1
- data/lib/orb/models/new_plan_unit_with_proration_price.rb +10 -1
- data/lib/orb/models/plan_create_params.rb +185 -37
- data/lib/orb/resources/customers/credits/ledger.rb +6 -6
- data/lib/orb/resources/plans.rb +6 -2
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/errors.rbi +16 -0
- data/rbi/orb/internal/type/boolean.rbi +2 -0
- data/rbi/orb/internal/type/converter.rbi +15 -15
- data/rbi/orb/internal/type/union.rbi +5 -0
- data/rbi/orb/internal/type/unknown.rbi +2 -0
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +3 -3
- data/rbi/orb/models/customers/credits/ledger_create_entry_params.rbi +3 -3
- data/rbi/orb/models/invoice.rbi +2 -0
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +2 -0
- data/rbi/orb/models/invoice_line_item_create_response.rbi +2 -0
- data/rbi/orb/models/new_plan_bps_price.rbi +13 -3
- data/rbi/orb/models/new_plan_bulk_bps_price.rbi +13 -3
- data/rbi/orb/models/new_plan_bulk_price.rbi +13 -3
- data/rbi/orb/models/new_plan_bulk_with_proration_price.rbi +13 -3
- data/rbi/orb/models/new_plan_cumulative_grouped_bulk_price.rbi +13 -3
- data/rbi/orb/models/new_plan_grouped_allocation_price.rbi +13 -3
- data/rbi/orb/models/new_plan_grouped_tiered_package_price.rbi +13 -3
- data/rbi/orb/models/new_plan_grouped_tiered_price.rbi +13 -3
- data/rbi/orb/models/new_plan_grouped_with_metered_minimum_price.rbi +13 -3
- data/rbi/orb/models/new_plan_grouped_with_prorated_minimum_price.rbi +13 -3
- data/rbi/orb/models/new_plan_matrix_price.rbi +13 -3
- data/rbi/orb/models/new_plan_matrix_with_allocation_price.rbi +13 -3
- data/rbi/orb/models/new_plan_matrix_with_display_name_price.rbi +13 -3
- data/rbi/orb/models/new_plan_max_group_tiered_package_price.rbi +13 -3
- data/rbi/orb/models/new_plan_package_price.rbi +13 -3
- data/rbi/orb/models/new_plan_package_with_allocation_price.rbi +13 -3
- data/rbi/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbi +13 -3
- data/rbi/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbi +13 -3
- data/rbi/orb/models/new_plan_threshold_total_amount_price.rbi +13 -3
- data/rbi/orb/models/new_plan_tier_with_proration_price.rbi +13 -3
- data/rbi/orb/models/new_plan_tiered_bps_price.rbi +13 -3
- data/rbi/orb/models/new_plan_tiered_package_price.rbi +13 -3
- data/rbi/orb/models/new_plan_tiered_package_with_minimum_price.rbi +13 -3
- data/rbi/orb/models/new_plan_tiered_price.rbi +13 -3
- data/rbi/orb/models/new_plan_tiered_with_minimum_price.rbi +13 -3
- data/rbi/orb/models/new_plan_unit_price.rbi +13 -3
- data/rbi/orb/models/new_plan_unit_with_percent_price.rbi +13 -3
- data/rbi/orb/models/new_plan_unit_with_proration_price.rbi +13 -3
- data/rbi/orb/models/plan_create_params.rbi +415 -135
- data/rbi/orb/resources/customers/credits/ledger.rbi +6 -6
- data/rbi/orb/resources/plans.rbi +11 -33
- data/sig/orb/errors.rbs +9 -0
- data/sig/orb/internal/type/converter.rbs +7 -1
- data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbs +1 -1
- data/sig/orb/models/customers/credits/ledger_create_entry_params.rbs +1 -1
- data/sig/orb/models/new_plan_bps_price.rbs +8 -3
- data/sig/orb/models/new_plan_bulk_bps_price.rbs +8 -3
- data/sig/orb/models/new_plan_bulk_price.rbs +8 -3
- data/sig/orb/models/new_plan_bulk_with_proration_price.rbs +8 -3
- data/sig/orb/models/new_plan_cumulative_grouped_bulk_price.rbs +8 -3
- data/sig/orb/models/new_plan_grouped_allocation_price.rbs +8 -3
- data/sig/orb/models/new_plan_grouped_tiered_package_price.rbs +8 -3
- data/sig/orb/models/new_plan_grouped_tiered_price.rbs +8 -3
- data/sig/orb/models/new_plan_grouped_with_metered_minimum_price.rbs +8 -3
- data/sig/orb/models/new_plan_grouped_with_prorated_minimum_price.rbs +8 -3
- data/sig/orb/models/new_plan_matrix_price.rbs +8 -3
- data/sig/orb/models/new_plan_matrix_with_allocation_price.rbs +8 -3
- data/sig/orb/models/new_plan_matrix_with_display_name_price.rbs +8 -3
- data/sig/orb/models/new_plan_max_group_tiered_package_price.rbs +8 -3
- data/sig/orb/models/new_plan_package_price.rbs +8 -3
- data/sig/orb/models/new_plan_package_with_allocation_price.rbs +8 -3
- data/sig/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbs +8 -3
- data/sig/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbs +8 -3
- data/sig/orb/models/new_plan_threshold_total_amount_price.rbs +8 -3
- data/sig/orb/models/new_plan_tier_with_proration_price.rbs +8 -3
- data/sig/orb/models/new_plan_tiered_bps_price.rbs +8 -3
- data/sig/orb/models/new_plan_tiered_package_price.rbs +8 -3
- data/sig/orb/models/new_plan_tiered_package_with_minimum_price.rbs +8 -3
- data/sig/orb/models/new_plan_tiered_price.rbs +8 -3
- data/sig/orb/models/new_plan_tiered_with_minimum_price.rbs +8 -3
- data/sig/orb/models/new_plan_unit_price.rbs +8 -3
- data/sig/orb/models/new_plan_unit_with_percent_price.rbs +8 -3
- data/sig/orb/models/new_plan_unit_with_proration_price.rbs +8 -3
- data/sig/orb/models/plan_create_params.rbs +156 -37
- data/sig/orb/resources/customers/credits/ledger.rbs +2 -2
- data/sig/orb/resources/plans.rbs +3 -1
- metadata +2 -2
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanPackagePrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanPackagePrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanPackageWithAllocationPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanPackageWithAllocationPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanScalableMatrixWithTieredPricingPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanScalableMatrixWithTieredPricingPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanScalableMatrixWithUnitPricingPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanScalableMatrixWithUnitPricingPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanThresholdTotalAmountPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanThresholdTotalAmountPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanTierWithProrationPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanTierWithProrationPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanTieredBPSPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanTieredBPSPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanTieredPackagePrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanTieredPackagePrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanTieredPackageWithMinimumPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanTieredPackageWithMinimumPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanTieredPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanTieredPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanTieredWithMinimumPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanTieredWithMinimumPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanUnitPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanUnitPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanUnitWithPercentPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanUnitWithPercentPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|
@@ -18,7 +18,8 @@ module Orb
|
|
18
18
|
fixed_price_quantity: Float?,
|
19
19
|
invoice_grouping_key: String?,
|
20
20
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
21
|
-
metadata: ::Hash[Symbol, String?]
|
21
|
+
metadata: ::Hash[Symbol, String?]?,
|
22
|
+
reference_id: String?
|
22
23
|
}
|
23
24
|
|
24
25
|
class NewPlanUnitWithProrationPrice < Orb::Internal::Type::BaseModel
|
@@ -56,6 +57,8 @@ module Orb
|
|
56
57
|
|
57
58
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
58
59
|
|
60
|
+
attr_accessor reference_id: String?
|
61
|
+
|
59
62
|
def initialize: (
|
60
63
|
cadence: Orb::Models::NewPlanUnitWithProrationPrice::cadence,
|
61
64
|
item_id: String,
|
@@ -73,7 +76,8 @@ module Orb
|
|
73
76
|
?fixed_price_quantity: Float?,
|
74
77
|
?invoice_grouping_key: String?,
|
75
78
|
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
76
|
-
?metadata: ::Hash[Symbol, String?]
|
79
|
+
?metadata: ::Hash[Symbol, String?]?,
|
80
|
+
?reference_id: String?
|
77
81
|
) -> void
|
78
82
|
|
79
83
|
def to_hash: -> {
|
@@ -93,7 +97,8 @@ module Orb
|
|
93
97
|
fixed_price_quantity: Float?,
|
94
98
|
invoice_grouping_key: String?,
|
95
99
|
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
96
|
-
metadata: ::Hash[Symbol, String?]
|
100
|
+
metadata: ::Hash[Symbol, String?]?,
|
101
|
+
reference_id: String?
|
97
102
|
}
|
98
103
|
|
99
104
|
type cadence =
|