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
data/rbi/orb/resources/plans.rbi
CHANGED
@@ -11,43 +11,15 @@ module Orb
|
|
11
11
|
params(
|
12
12
|
currency: String,
|
13
13
|
name: String,
|
14
|
-
prices:
|
15
|
-
|
16
|
-
|
17
|
-
Orb::NewPlanUnitPrice::OrHash,
|
18
|
-
Orb::NewPlanPackagePrice::OrHash,
|
19
|
-
Orb::NewPlanMatrixPrice::OrHash,
|
20
|
-
Orb::NewPlanTieredPrice::OrHash,
|
21
|
-
Orb::NewPlanTieredBPSPrice::OrHash,
|
22
|
-
Orb::NewPlanBPSPrice::OrHash,
|
23
|
-
Orb::NewPlanBulkBPSPrice::OrHash,
|
24
|
-
Orb::NewPlanBulkPrice::OrHash,
|
25
|
-
Orb::NewPlanThresholdTotalAmountPrice::OrHash,
|
26
|
-
Orb::NewPlanTieredPackagePrice::OrHash,
|
27
|
-
Orb::NewPlanTieredWithMinimumPrice::OrHash,
|
28
|
-
Orb::NewPlanUnitWithPercentPrice::OrHash,
|
29
|
-
Orb::NewPlanPackageWithAllocationPrice::OrHash,
|
30
|
-
Orb::NewPlanTierWithProrationPrice::OrHash,
|
31
|
-
Orb::NewPlanUnitWithProrationPrice::OrHash,
|
32
|
-
Orb::NewPlanGroupedAllocationPrice::OrHash,
|
33
|
-
Orb::NewPlanGroupedWithProratedMinimumPrice::OrHash,
|
34
|
-
Orb::NewPlanGroupedWithMeteredMinimumPrice::OrHash,
|
35
|
-
Orb::NewPlanMatrixWithDisplayNamePrice::OrHash,
|
36
|
-
Orb::NewPlanBulkWithProrationPrice::OrHash,
|
37
|
-
Orb::NewPlanGroupedTieredPackagePrice::OrHash,
|
38
|
-
Orb::NewPlanMaxGroupTieredPackagePrice::OrHash,
|
39
|
-
Orb::NewPlanScalableMatrixWithUnitPricingPrice::OrHash,
|
40
|
-
Orb::NewPlanScalableMatrixWithTieredPricingPrice::OrHash,
|
41
|
-
Orb::NewPlanCumulativeGroupedBulkPrice::OrHash,
|
42
|
-
Orb::NewPlanTieredPackageWithMinimumPrice::OrHash,
|
43
|
-
Orb::NewPlanMatrixWithAllocationPrice::OrHash,
|
44
|
-
Orb::NewPlanGroupedTieredPrice::OrHash
|
45
|
-
)
|
46
|
-
],
|
14
|
+
prices: T::Array[Orb::PlanCreateParams::Price::OrHash],
|
15
|
+
adjustments:
|
16
|
+
T.nilable(T::Array[Orb::PlanCreateParams::Adjustment::OrHash]),
|
47
17
|
default_invoice_memo: T.nilable(String),
|
48
18
|
external_plan_id: T.nilable(String),
|
49
19
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
50
20
|
net_terms: T.nilable(Integer),
|
21
|
+
plan_phases:
|
22
|
+
T.nilable(T::Array[Orb::PlanCreateParams::PlanPhase::OrHash]),
|
51
23
|
status: Orb::PlanCreateParams::Status::OrSymbol,
|
52
24
|
request_options: Orb::RequestOptions::OrHash
|
53
25
|
).returns(Orb::Plan)
|
@@ -60,6 +32,9 @@ module Orb
|
|
60
32
|
# Prices for this plan. If the plan has phases, this includes prices across all
|
61
33
|
# phases of the plan.
|
62
34
|
prices:,
|
35
|
+
# Adjustments for this plan. If the plan has phases, this includes adjustments
|
36
|
+
# across all phases of the plan.
|
37
|
+
adjustments: nil,
|
63
38
|
# Free-form text which is available on the invoice PDF and the Orb invoice portal.
|
64
39
|
default_invoice_memo: nil,
|
65
40
|
external_plan_id: nil,
|
@@ -71,6 +46,9 @@ module Orb
|
|
71
46
|
# date for the invoice. If you intend the invoice to be due on issue, set this
|
72
47
|
# to 0.
|
73
48
|
net_terms: nil,
|
49
|
+
# Configuration of pre-defined phases, each with their own prices and adjustments.
|
50
|
+
# Leave unspecified for plans with a single phase.
|
51
|
+
plan_phases: nil,
|
74
52
|
# The status of the plan to create (either active or draft). If not specified,
|
75
53
|
# this defaults to active.
|
76
54
|
status: nil,
|
data/sig/orb/errors.rbs
CHANGED
@@ -5,6 +5,15 @@ module Orb
|
|
5
5
|
end
|
6
6
|
|
7
7
|
class ConversionError < Orb::Errors::Error
|
8
|
+
def cause: -> StandardError?
|
9
|
+
|
10
|
+
def initialize: (
|
11
|
+
on: Class,
|
12
|
+
method: Symbol,
|
13
|
+
target: top,
|
14
|
+
value: top,
|
15
|
+
?cause: StandardError?
|
16
|
+
) -> void
|
8
17
|
end
|
9
18
|
|
10
19
|
class APIError < Orb::Errors::Error
|
@@ -8,8 +8,10 @@ module Orb
|
|
8
8
|
|
9
9
|
type coerce_state =
|
10
10
|
{
|
11
|
-
|
11
|
+
translate_names: bool,
|
12
|
+
strictness: bool,
|
12
13
|
exactness: { yes: Integer, no: Integer, maybe: Integer },
|
14
|
+
error: Class,
|
13
15
|
branched: Integer
|
14
16
|
}
|
15
17
|
|
@@ -37,6 +39,10 @@ module Orb
|
|
37
39
|
| Orb::Internal::Type::Converter::input spec
|
38
40
|
) -> (^-> top)
|
39
41
|
|
42
|
+
def self.new_coerce_state: (
|
43
|
+
?translate_names: bool
|
44
|
+
) -> Orb::Internal::Type::Converter::coerce_state
|
45
|
+
|
40
46
|
def self.coerce: (
|
41
47
|
Orb::Internal::Type::Converter::input target,
|
42
48
|
top value,
|
@@ -50,12 +50,12 @@ module Orb
|
|
50
50
|
def initialize: (
|
51
51
|
amount: Float,
|
52
52
|
entry_type: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDParams::entry_type,
|
53
|
-
expiry_date: Time?,
|
54
53
|
target_expiry_date: Date,
|
55
54
|
block_id: String,
|
56
55
|
?currency: String?,
|
57
56
|
?description: String?,
|
58
57
|
?effective_date: Time?,
|
58
|
+
?expiry_date: Time?,
|
59
59
|
?invoice_settings: Orb::Customers::Credits::LedgerCreateEntryByExternalIDParams::InvoiceSettings?,
|
60
60
|
?metadata: ::Hash[Symbol, String?]?,
|
61
61
|
?per_unit_cost_basis: String?,
|
@@ -50,12 +50,12 @@ module Orb
|
|
50
50
|
def initialize: (
|
51
51
|
amount: Float,
|
52
52
|
entry_type: Orb::Models::Customers::Credits::LedgerCreateEntryParams::entry_type,
|
53
|
-
expiry_date: Time?,
|
54
53
|
target_expiry_date: Date,
|
55
54
|
block_id: String,
|
56
55
|
?currency: String?,
|
57
56
|
?description: String?,
|
58
57
|
?effective_date: Time?,
|
58
|
+
?expiry_date: Time?,
|
59
59
|
?invoice_settings: Orb::Customers::Credits::LedgerCreateEntryParams::InvoiceSettings?,
|
60
60
|
?metadata: ::Hash[Symbol, String?]?,
|
61
61
|
?per_unit_cost_basis: String?,
|
@@ -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 NewPlanBPSPrice < 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
|
bps_config: Orb::BPSConfig,
|
61
64
|
cadence: Orb::Models::NewPlanBPSPrice::cadence,
|
@@ -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 NewPlanBulkBPSPrice < 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
|
bulk_bps_config: Orb::BulkBPSConfig,
|
61
64
|
cadence: Orb::Models::NewPlanBulkBPSPrice::cadence,
|
@@ -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 NewPlanBulkPrice < 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
|
bulk_config: Orb::BulkConfig,
|
61
64
|
cadence: Orb::Models::NewPlanBulkPrice::cadence,
|
@@ -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 NewPlanBulkWithProrationPrice < 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
|
bulk_with_proration_config: ::Hash[Symbol, top],
|
61
64
|
cadence: Orb::Models::NewPlanBulkWithProrationPrice::cadence,
|
@@ -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 NewPlanCumulativeGroupedBulkPrice < 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::NewPlanCumulativeGroupedBulkPrice::cadence,
|
61
64
|
cumulative_grouped_bulk_config: ::Hash[Symbol, top],
|
@@ -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 NewPlanGroupedAllocationPrice < 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::NewPlanGroupedAllocationPrice::cadence,
|
61
64
|
grouped_allocation_config: ::Hash[Symbol, top],
|
@@ -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 NewPlanGroupedTieredPackagePrice < 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::NewPlanGroupedTieredPackagePrice::cadence,
|
61
64
|
grouped_tiered_package_config: ::Hash[Symbol, top],
|
@@ -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 NewPlanGroupedTieredPrice < 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::NewPlanGroupedTieredPrice::cadence,
|
61
64
|
grouped_tiered_config: ::Hash[Symbol, top],
|
@@ -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 NewPlanGroupedWithMeteredMinimumPrice < 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::NewPlanGroupedWithMeteredMinimumPrice::cadence,
|
61
64
|
grouped_with_metered_minimum_config: ::Hash[Symbol, top],
|
@@ -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 NewPlanGroupedWithProratedMinimumPrice < 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::NewPlanGroupedWithProratedMinimumPrice::cadence,
|
61
64
|
grouped_with_prorated_minimum_config: ::Hash[Symbol, top],
|
@@ -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 NewPlanMatrixPrice < 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::NewPlanMatrixPrice::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 NewPlanMatrixWithAllocationPrice < 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::NewPlanMatrixWithAllocationPrice::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 NewPlanMatrixWithDisplayNamePrice < 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::NewPlanMatrixWithDisplayNamePrice::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 NewPlanMaxGroupTieredPackagePrice < 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::NewPlanMaxGroupTieredPackagePrice::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 =
|