diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7c31fce2..aa848759 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.21" + ".": "0.1.0-alpha.22" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index b21f5baa..58bce287 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 103 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-a2c1aa029d1e72a5fc7d3c6cd431479888ebd9a379683a2c8630da48437baa4f.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-6797b438a8e6a6856e28f4304a5a3c81bb67e74fa2d6fcc20e734880c725295a.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 36f01f13..cf318bd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 0.1.0-alpha.22 (2025-03-07) + +Full Changelog: [v0.1.0-alpha.21...v0.1.0-alpha.22](https://github.com/orbcorp/orb-ruby/compare/v0.1.0-alpha.21...v0.1.0-alpha.22) + +### Features + +* add jsonl support ([#109](https://github.com/orbcorp/orb-ruby/issues/109)) ([4ea2359](https://github.com/orbcorp/orb-ruby/commit/4ea235901520cd3474067b7269ba91dbac18a847)) +* **api:** api update ([#111](https://github.com/orbcorp/orb-ruby/issues/111)) ([172e598](https://github.com/orbcorp/orb-ruby/commit/172e5983879cd507a2a31c9c903a1ab244e871dc)) + + +### Chores + +* **internal:** version bump ([#106](https://github.com/orbcorp/orb-ruby/issues/106)) ([c5992c6](https://github.com/orbcorp/orb-ruby/commit/c5992c62af1f5438f6845ce242209c69fae268b8)) +* move examples into tests ([#108](https://github.com/orbcorp/orb-ruby/issues/108)) ([e6134d2](https://github.com/orbcorp/orb-ruby/commit/e6134d271d4e2949c0c314b79d195ae213dd7aef)) +* support different EOLs in streaming ([#110](https://github.com/orbcorp/orb-ruby/issues/110)) ([f87af8c](https://github.com/orbcorp/orb-ruby/commit/f87af8cab1e87b87bb5adfe1cbfb51204f6ee23c)) + ## 0.1.0-alpha.21 (2025-03-06) Full Changelog: [v0.1.0-alpha.20...v0.1.0-alpha.21](https://github.com/orbcorp/orb-ruby/compare/v0.1.0-alpha.20...v0.1.0-alpha.21) diff --git a/Gemfile.lock b/Gemfile.lock index 8addb7bf..5250c664 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - orb (0.1.0.pre.alpha.21) + orb (0.1.0.pre.alpha.22) connection_pool GEM diff --git a/lib/orb/base_model.rb b/lib/orb/base_model.rb index bae3312b..b77102f9 100644 --- a/lib/orb/base_model.rb +++ b/lib/orb/base_model.rb @@ -294,6 +294,31 @@ def self.try_strict_coerce(value) # # We can therefore convert string values to Symbols, but can't convert other # values safely. + # + # @example + # ```ruby + # # `billing_cycle_relative_date` is a `Orb::Models::BillingCycleRelativeDate` + # case billing_cycle_relative_date + # when Orb::Models::BillingCycleRelativeDate::START_OF_TERM + # # ... + # when Orb::Models::BillingCycleRelativeDate::END_OF_TERM + # # ... + # else + # # ... + # end + # ``` + # + # @example + # ```ruby + # case billing_cycle_relative_date + # in :start_of_term + # # ... + # in :end_of_term + # # ... + # else + # # ... + # end + # ``` class Enum extend Orb::Converter @@ -369,6 +394,56 @@ def self.try_strict_coerce(value) # # @abstract # + # @example + # ```ruby + # # `discount` is a `Orb::Models::Discount` + # case discount + # when Orb::Models::PercentageDiscount + # # ... + # when Orb::Models::TrialDiscount + # # ... + # when Orb::Models::UsageDiscount + # # ... + # else + # # ... + # end + # ``` + # + # @example + # ```ruby + # case discount + # in { + # discount_type: :percentage, + # applies_to_price_ids: applies_to_price_ids, + # percentage_discount: percentage_discount, + # reason: reason + # } + # # ... + # in { + # discount_type: :trial, + # applies_to_price_ids: applies_to_price_ids, + # reason: reason, + # trial_amount_discount: trial_amount_discount + # } + # # ... + # in { + # discount_type: :usage, + # applies_to_price_ids: applies_to_price_ids, + # usage_discount: usage_discount, + # reason: reason + # } + # # ... + # in { + # discount_type: :amount, + # amount_discount: amount_discount, + # applies_to_price_ids: applies_to_price_ids, + # reason: reason + # } + # # ... + # else + # # ... + # end + # ``` class Union extend Orb::Converter @@ -839,6 +914,15 @@ def initialize(type_info, spec = {}) # # @abstract # + # @example + # ```ruby + # # `amount_discount` is a `Orb::Models::AmountDiscount` + # amount_discount => { + # amount_discount: amount_discount, + # applies_to_price_ids: applies_to_price_ids, + # discount_type: discount_type + # } + # ``` class BaseModel extend Orb::Converter diff --git a/lib/orb/models/alert.rb b/lib/orb/models/alert.rb index 75f8451c..7ecabe35 100644 --- a/lib/orb/models/alert.rb +++ b/lib/orb/models/alert.rb @@ -200,28 +200,12 @@ class Threshold < Orb::BaseModel # @abstract # # The type of alert. This must be a valid alert type. - # - # @example - # ```ruby - # case type - # in :usage_exceeded - # # ... - # in :cost_exceeded - # # ... - # in :credit_balance_depleted - # # ... - # in :credit_balance_dropped - # # ... - # in :credit_balance_recovered - # # ... - # end - # ``` class Type < Orb::Enum - USAGE_EXCEEDED = :usage_exceeded - COST_EXCEEDED = :cost_exceeded CREDIT_BALANCE_DEPLETED = :credit_balance_depleted CREDIT_BALANCE_DROPPED = :credit_balance_dropped CREDIT_BALANCE_RECOVERED = :credit_balance_recovered + USAGE_EXCEEDED = :usage_exceeded + COST_EXCEEDED = :cost_exceeded finalize! diff --git a/lib/orb/models/alert_create_for_customer_params.rb b/lib/orb/models/alert_create_for_customer_params.rb index 7f582e52..bf49b3ca 100644 --- a/lib/orb/models/alert_create_for_customer_params.rb +++ b/lib/orb/models/alert_create_for_customer_params.rb @@ -40,25 +40,7 @@ class AlertCreateForCustomerParams < Orb::BaseModel # @abstract # # The type of alert to create. This must be a valid alert type. - # - # @example - # ```ruby - # case type - # in :usage_exceeded - # # ... - # in :cost_exceeded - # # ... - # in :credit_balance_depleted - # # ... - # in :credit_balance_dropped - # # ... - # in :credit_balance_recovered - # # ... - # end - # ``` class Type < Orb::Enum - USAGE_EXCEEDED = :usage_exceeded - COST_EXCEEDED = :cost_exceeded CREDIT_BALANCE_DEPLETED = :credit_balance_depleted CREDIT_BALANCE_DROPPED = :credit_balance_dropped CREDIT_BALANCE_RECOVERED = :credit_balance_recovered diff --git a/lib/orb/models/alert_create_for_external_customer_params.rb b/lib/orb/models/alert_create_for_external_customer_params.rb index 54d88a2d..a629a0cf 100644 --- a/lib/orb/models/alert_create_for_external_customer_params.rb +++ b/lib/orb/models/alert_create_for_external_customer_params.rb @@ -40,25 +40,7 @@ class AlertCreateForExternalCustomerParams < Orb::BaseModel # @abstract # # The type of alert to create. This must be a valid alert type. - # - # @example - # ```ruby - # case type - # in :usage_exceeded - # # ... - # in :cost_exceeded - # # ... - # in :credit_balance_depleted - # # ... - # in :credit_balance_dropped - # # ... - # in :credit_balance_recovered - # # ... - # end - # ``` class Type < Orb::Enum - USAGE_EXCEEDED = :usage_exceeded - COST_EXCEEDED = :cost_exceeded CREDIT_BALANCE_DEPLETED = :credit_balance_depleted CREDIT_BALANCE_DROPPED = :credit_balance_dropped CREDIT_BALANCE_RECOVERED = :credit_balance_recovered diff --git a/lib/orb/models/alert_create_for_subscription_params.rb b/lib/orb/models/alert_create_for_subscription_params.rb index b03899a1..1896844b 100644 --- a/lib/orb/models/alert_create_for_subscription_params.rb +++ b/lib/orb/models/alert_create_for_subscription_params.rb @@ -58,28 +58,9 @@ class Threshold < Orb::BaseModel # @abstract # # The type of alert to create. This must be a valid alert type. - # - # @example - # ```ruby - # case type - # in :usage_exceeded - # # ... - # in :cost_exceeded - # # ... - # in :credit_balance_depleted - # # ... - # in :credit_balance_dropped - # # ... - # in :credit_balance_recovered - # # ... - # end - # ``` class Type < Orb::Enum USAGE_EXCEEDED = :usage_exceeded COST_EXCEEDED = :cost_exceeded - CREDIT_BALANCE_DEPLETED = :credit_balance_depleted - CREDIT_BALANCE_DROPPED = :credit_balance_dropped - CREDIT_BALANCE_RECOVERED = :credit_balance_recovered finalize! diff --git a/lib/orb/models/amount_discount.rb b/lib/orb/models/amount_discount.rb index c560daa0..e546bcc9 100644 --- a/lib/orb/models/amount_discount.rb +++ b/lib/orb/models/amount_discount.rb @@ -38,13 +38,6 @@ class AmountDiscount < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :amount - # # ... - # end - # ``` class DiscountType < Orb::Enum AMOUNT = :amount diff --git a/lib/orb/models/billable_metric.rb b/lib/orb/models/billable_metric.rb index 2cf61284..298e4f3d 100644 --- a/lib/orb/models/billable_metric.rb +++ b/lib/orb/models/billable_metric.rb @@ -58,17 +58,6 @@ class BillableMetric < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :draft - # # ... - # in :archived - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active DRAFT = :draft diff --git a/lib/orb/models/billing_cycle_relative_date.rb b/lib/orb/models/billing_cycle_relative_date.rb index 918b3132..2018baf2 100644 --- a/lib/orb/models/billing_cycle_relative_date.rb +++ b/lib/orb/models/billing_cycle_relative_date.rb @@ -4,15 +4,6 @@ module Orb module Models # @abstract # - # @example - # ```ruby - # case billing_cycle_relative_date - # in :start_of_term - # # ... - # in :end_of_term - # # ... - # end - # ``` class BillingCycleRelativeDate < Orb::Enum START_OF_TERM = :start_of_term END_OF_TERM = :end_of_term diff --git a/lib/orb/models/coupon.rb b/lib/orb/models/coupon.rb index ae8c13c6..4c9266f2 100644 --- a/lib/orb/models/coupon.rb +++ b/lib/orb/models/coupon.rb @@ -68,30 +68,6 @@ class Coupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # percentage_discount: Float, - # reason: String - # } - # # Orb::Models::PercentageDiscount ... - # in {discount_type: "amount", amount_discount: String, applies_to_price_ids: ^(Orb::ArrayOf[String]), reason: String} - # # Orb::Models::AmountDiscount ... - # end - # ``` - # - # @example - # ```ruby - # case discount - # in Orb::Models::PercentageDiscount - # # ... - # in Orb::Models::AmountDiscount - # # ... - # end - # ``` class Discount < Orb::Union discriminator :discount_type diff --git a/lib/orb/models/coupon_create_params.rb b/lib/orb/models/coupon_create_params.rb index d58359b8..e31c60e7 100644 --- a/lib/orb/models/coupon_create_params.rb +++ b/lib/orb/models/coupon_create_params.rb @@ -45,25 +45,6 @@ class CouponCreateParams < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount - # in {discount_type: "percentage", percentage_discount: Float} - # # Orb::Models::CouponCreateParams::Discount::NewCouponPercentageDiscount ... - # in {discount_type: "amount", amount_discount: String} - # # Orb::Models::CouponCreateParams::Discount::NewCouponAmountDiscount ... - # end - # ``` - # - # @example - # ```ruby - # case discount - # in Orb::Models::CouponCreateParams::Discount::NewCouponPercentageDiscount - # # ... - # in Orb::Models::CouponCreateParams::Discount::NewCouponAmountDiscount - # # ... - # end - # ``` class Discount < Orb::Union discriminator :discount_type diff --git a/lib/orb/models/credit_note.rb b/lib/orb/models/credit_note.rb index ce641b99..faed1482 100644 --- a/lib/orb/models/credit_note.rb +++ b/lib/orb/models/credit_note.rb @@ -323,15 +323,6 @@ class Discount < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :percentage - # # ... - # in :amount - # # ... - # end - # ``` class DiscountType < Orb::Enum PERCENTAGE = :percentage AMOUNT = :amount @@ -389,13 +380,6 @@ class MaximumAmountAdjustment < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :percentage - # # ... - # end - # ``` class DiscountType < Orb::Enum PERCENTAGE = :percentage @@ -430,19 +414,6 @@ class AppliesToPrice < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case reason - # in :Duplicate - # # ... - # in :Fraudulent - # # ... - # in :"Order change" - # # ... - # in :"Product unsatisfactory" - # # ... - # end - # ``` class Reason < Orb::Enum DUPLICATE = :Duplicate FRAUDULENT = :Fraudulent @@ -459,15 +430,6 @@ class Reason < Orb::Enum # @abstract # - # @example - # ```ruby - # case type - # in :refund - # # ... - # in :adjustment - # # ... - # end - # ``` class Type < Orb::Enum REFUND = :refund ADJUSTMENT = :adjustment @@ -521,13 +483,6 @@ class Discount < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :percentage - # # ... - # end - # ``` class DiscountType < Orb::Enum PERCENTAGE = :percentage diff --git a/lib/orb/models/credit_note_create_params.rb b/lib/orb/models/credit_note_create_params.rb index 8f33d61b..ebdf114f 100644 --- a/lib/orb/models/credit_note_create_params.rb +++ b/lib/orb/models/credit_note_create_params.rb @@ -59,20 +59,6 @@ class LineItem < Orb::BaseModel # @abstract # # An optional reason for the credit note. - # - # @example - # ```ruby - # case reason - # in :duplicate - # # ... - # in :fraudulent - # # ... - # in :order_change - # # ... - # in :product_unsatisfactory - # # ... - # end - # ``` class Reason < Orb::Enum DUPLICATE = :duplicate FRAUDULENT = :fraudulent diff --git a/lib/orb/models/customer.rb b/lib/orb/models/customer.rb index 29057077..296b42e3 100644 --- a/lib/orb/models/customer.rb +++ b/lib/orb/models/customer.rb @@ -425,22 +425,6 @@ class Parent < Orb::BaseModel # This is used for creating charges or invoices in an external system via Orb. # When not in test mode, the connection must first be configured in the Orb # webapp. - # - # @example - # ```ruby - # case payment_provider - # in :quickbooks - # # ... - # in :"bill.com" - # # ... - # in :stripe_charge - # # ... - # in :stripe_invoice - # # ... - # in :netsuite - # # ... - # end - # ``` class PaymentProvider < Orb::Enum QUICKBOOKS = :quickbooks BILL_COM = :"bill.com" @@ -633,23 +617,6 @@ class TaxID < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case country - # in :AD - # # ... - # in :AE - # # ... - # in :AR - # # ... - # in :AT - # # ... - # in :AU - # # ... - # in ... - # #... - # end - # ``` class Country < Orb::Enum AD = :AD AE = :AE @@ -740,23 +707,6 @@ class Country < Orb::Enum # @abstract # - # @example - # ```ruby - # case type - # in :ad_nrt - # # ... - # in :ae_trn - # # ... - # in :ar_cuit - # # ... - # in :eu_vat - # # ... - # in :au_abn - # # ... - # in ... - # #... - # end - # ``` class Type < Orb::Enum AD_NRT = :ad_nrt AE_TRN = :ae_trn @@ -881,15 +831,6 @@ class AccountingProvider < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case provider_type - # in :quickbooks - # # ... - # in :netsuite - # # ... - # end - # ``` class ProviderType < Orb::Enum QUICKBOOKS = :quickbooks NETSUITE = :netsuite diff --git a/lib/orb/models/customer_create_params.rb b/lib/orb/models/customer_create_params.rb index 5e08d3ee..38ef2496 100644 --- a/lib/orb/models/customer_create_params.rb +++ b/lib/orb/models/customer_create_params.rb @@ -401,22 +401,6 @@ class Hierarchy < Orb::BaseModel # This is used for creating charges or invoices in an external system via Orb. # When not in test mode, the connection must first be configured in the Orb # webapp. - # - # @example - # ```ruby - # case payment_provider - # in :quickbooks - # # ... - # in :"bill.com" - # # ... - # in :stripe_charge - # # ... - # in :stripe_invoice - # # ... - # in :netsuite - # # ... - # end - # ``` class PaymentProvider < Orb::Enum QUICKBOOKS = :quickbooks BILL_COM = :"bill.com" @@ -492,25 +476,6 @@ class ShippingAddress < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case tax_configuration - # in {tax_provider: "avalara", tax_exempt: Orb::BooleanModel, tax_exemption_code: String} - # # Orb::Models::CustomerCreateParams::TaxConfiguration::NewAvalaraTaxConfiguration ... - # in {tax_provider: "taxjar", tax_exempt: Orb::BooleanModel} - # # Orb::Models::CustomerCreateParams::TaxConfiguration::NewTaxJarConfiguration ... - # end - # ``` - # - # @example - # ```ruby - # case tax_configuration - # in Orb::Models::CustomerCreateParams::TaxConfiguration::NewAvalaraTaxConfiguration - # # ... - # in Orb::Models::CustomerCreateParams::TaxConfiguration::NewTaxJarConfiguration - # # ... - # end - # ``` class TaxConfiguration < Orb::Union discriminator :tax_provider @@ -698,23 +663,6 @@ class TaxID < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case country - # in :AD - # # ... - # in :AE - # # ... - # in :AR - # # ... - # in :AT - # # ... - # in :AU - # # ... - # in ... - # #... - # end - # ``` class Country < Orb::Enum AD = :AD AE = :AE @@ -805,23 +753,6 @@ class Country < Orb::Enum # @abstract # - # @example - # ```ruby - # case type - # in :ad_nrt - # # ... - # in :ae_trn - # # ... - # in :ar_cuit - # # ... - # in :eu_vat - # # ... - # in :au_abn - # # ... - # in ... - # #... - # end - # ``` class Type < Orb::Enum AD_NRT = :ad_nrt AE_TRN = :ae_trn diff --git a/lib/orb/models/customer_update_by_external_id_params.rb b/lib/orb/models/customer_update_by_external_id_params.rb index ae34b576..067b2432 100644 --- a/lib/orb/models/customer_update_by_external_id_params.rb +++ b/lib/orb/models/customer_update_by_external_id_params.rb @@ -404,22 +404,6 @@ class Hierarchy < Orb::BaseModel # - if the provider is an invoicing provider (`stripe_invoice`, `quickbooks`, # `bill.com`, `netsuite`), any product mappings must first be configured with # the Orb team. - # - # @example - # ```ruby - # case payment_provider - # in :quickbooks - # # ... - # in :"bill.com" - # # ... - # in :stripe_charge - # # ... - # in :stripe_invoice - # # ... - # in :netsuite - # # ... - # end - # ``` class PaymentProvider < Orb::Enum QUICKBOOKS = :quickbooks BILL_COM = :"bill.com" @@ -495,25 +479,6 @@ class ShippingAddress < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case tax_configuration - # in {tax_provider: "avalara", tax_exempt: Orb::BooleanModel, tax_exemption_code: String} - # # Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::NewAvalaraTaxConfiguration ... - # in {tax_provider: "taxjar", tax_exempt: Orb::BooleanModel} - # # Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::NewTaxJarConfiguration ... - # end - # ``` - # - # @example - # ```ruby - # case tax_configuration - # in Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::NewAvalaraTaxConfiguration - # # ... - # in Orb::Models::CustomerUpdateByExternalIDParams::TaxConfiguration::NewTaxJarConfiguration - # # ... - # end - # ``` class TaxConfiguration < Orb::Union discriminator :tax_provider @@ -703,23 +668,6 @@ class TaxID < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case country - # in :AD - # # ... - # in :AE - # # ... - # in :AR - # # ... - # in :AT - # # ... - # in :AU - # # ... - # in ... - # #... - # end - # ``` class Country < Orb::Enum AD = :AD AE = :AE @@ -810,23 +758,6 @@ class Country < Orb::Enum # @abstract # - # @example - # ```ruby - # case type - # in :ad_nrt - # # ... - # in :ae_trn - # # ... - # in :ar_cuit - # # ... - # in :eu_vat - # # ... - # in :au_abn - # # ... - # in ... - # #... - # end - # ``` class Type < Orb::Enum AD_NRT = :ad_nrt AE_TRN = :ae_trn diff --git a/lib/orb/models/customer_update_params.rb b/lib/orb/models/customer_update_params.rb index c929f0ae..571aa629 100644 --- a/lib/orb/models/customer_update_params.rb +++ b/lib/orb/models/customer_update_params.rb @@ -396,22 +396,6 @@ class Hierarchy < Orb::BaseModel # - if the provider is an invoicing provider (`stripe_invoice`, `quickbooks`, # `bill.com`, `netsuite`), any product mappings must first be configured with # the Orb team. - # - # @example - # ```ruby - # case payment_provider - # in :quickbooks - # # ... - # in :"bill.com" - # # ... - # in :stripe_charge - # # ... - # in :stripe_invoice - # # ... - # in :netsuite - # # ... - # end - # ``` class PaymentProvider < Orb::Enum QUICKBOOKS = :quickbooks BILL_COM = :"bill.com" @@ -487,25 +471,6 @@ class ShippingAddress < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case tax_configuration - # in {tax_provider: "avalara", tax_exempt: Orb::BooleanModel, tax_exemption_code: String} - # # Orb::Models::CustomerUpdateParams::TaxConfiguration::NewAvalaraTaxConfiguration ... - # in {tax_provider: "taxjar", tax_exempt: Orb::BooleanModel} - # # Orb::Models::CustomerUpdateParams::TaxConfiguration::NewTaxJarConfiguration ... - # end - # ``` - # - # @example - # ```ruby - # case tax_configuration - # in Orb::Models::CustomerUpdateParams::TaxConfiguration::NewAvalaraTaxConfiguration - # # ... - # in Orb::Models::CustomerUpdateParams::TaxConfiguration::NewTaxJarConfiguration - # # ... - # end - # ``` class TaxConfiguration < Orb::Union discriminator :tax_provider @@ -693,23 +658,6 @@ class TaxID < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case country - # in :AD - # # ... - # in :AE - # # ... - # in :AR - # # ... - # in :AT - # # ... - # in :AU - # # ... - # in ... - # #... - # end - # ``` class Country < Orb::Enum AD = :AD AE = :AE @@ -800,23 +748,6 @@ class Country < Orb::Enum # @abstract # - # @example - # ```ruby - # case type - # in :ad_nrt - # # ... - # in :ae_trn - # # ... - # in :ar_cuit - # # ... - # in :eu_vat - # # ... - # in :au_abn - # # ... - # in ... - # #... - # end - # ``` class Type < Orb::Enum AD_NRT = :ad_nrt AE_TRN = :ae_trn diff --git a/lib/orb/models/customers/balance_transaction_create_params.rb b/lib/orb/models/customers/balance_transaction_create_params.rb index 08c0c6c5..d9cb1d44 100644 --- a/lib/orb/models/customers/balance_transaction_create_params.rb +++ b/lib/orb/models/customers/balance_transaction_create_params.rb @@ -36,15 +36,6 @@ class BalanceTransactionCreateParams < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case type - # in :increment - # # ... - # in :decrement - # # ... - # end - # ``` class Type < Orb::Enum INCREMENT = :increment DECREMENT = :decrement diff --git a/lib/orb/models/customers/balance_transaction_create_response.rb b/lib/orb/models/customers/balance_transaction_create_response.rb index feb8477d..8883b7be 100644 --- a/lib/orb/models/customers/balance_transaction_create_response.rb +++ b/lib/orb/models/customers/balance_transaction_create_response.rb @@ -96,23 +96,6 @@ class BalanceTransactionCreateResponse < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case action - # in :applied_to_invoice - # # ... - # in :manual_adjustment - # # ... - # in :prorated_refund - # # ... - # in :revert_prorated_refund - # # ... - # in :return_from_voiding - # # ... - # in ... - # #... - # end - # ``` class Action < Orb::Enum APPLIED_TO_INVOICE = :applied_to_invoice MANUAL_ADJUSTMENT = :manual_adjustment @@ -164,15 +147,6 @@ class Invoice < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case type - # in :increment - # # ... - # in :decrement - # # ... - # end - # ``` class Type < Orb::Enum INCREMENT = :increment DECREMENT = :decrement diff --git a/lib/orb/models/customers/balance_transaction_list_response.rb b/lib/orb/models/customers/balance_transaction_list_response.rb index 60af1576..08713ce2 100644 --- a/lib/orb/models/customers/balance_transaction_list_response.rb +++ b/lib/orb/models/customers/balance_transaction_list_response.rb @@ -96,23 +96,6 @@ class BalanceTransactionListResponse < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case action - # in :applied_to_invoice - # # ... - # in :manual_adjustment - # # ... - # in :prorated_refund - # # ... - # in :revert_prorated_refund - # # ... - # in :return_from_voiding - # # ... - # in ... - # #... - # end - # ``` class Action < Orb::Enum APPLIED_TO_INVOICE = :applied_to_invoice MANUAL_ADJUSTMENT = :manual_adjustment @@ -164,15 +147,6 @@ class Invoice < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case type - # in :increment - # # ... - # in :decrement - # # ... - # end - # ``` class Type < Orb::Enum INCREMENT = :increment DECREMENT = :decrement diff --git a/lib/orb/models/customers/cost_list_by_external_id_params.rb b/lib/orb/models/customers/cost_list_by_external_id_params.rb index 2bf3e127..7efc58fe 100644 --- a/lib/orb/models/customers/cost_list_by_external_id_params.rb +++ b/lib/orb/models/customers/cost_list_by_external_id_params.rb @@ -52,16 +52,6 @@ class CostListByExternalIDParams < Orb::BaseModel # period, or incremental day-by-day costs. If your customer has minimums or # discounts, it's strongly recommended that you use the default cumulative # behavior. - # - # @example - # ```ruby - # case view_mode - # in :periodic - # # ... - # in :cumulative - # # ... - # end - # ``` class ViewMode < Orb::Enum PERIODIC = :periodic CUMULATIVE = :cumulative diff --git a/lib/orb/models/customers/cost_list_params.rb b/lib/orb/models/customers/cost_list_params.rb index 27c6c9ad..4f6dec82 100644 --- a/lib/orb/models/customers/cost_list_params.rb +++ b/lib/orb/models/customers/cost_list_params.rb @@ -52,16 +52,6 @@ class CostListParams < Orb::BaseModel # period, or incremental day-by-day costs. If your customer has minimums or # discounts, it's strongly recommended that you use the default cumulative # behavior. - # - # @example - # ```ruby - # case view_mode - # in :periodic - # # ... - # in :cumulative - # # ... - # end - # ``` class ViewMode < Orb::Enum PERIODIC = :periodic CUMULATIVE = :cumulative diff --git a/lib/orb/models/customers/credit_list_by_external_id_response.rb b/lib/orb/models/customers/credit_list_by_external_id_response.rb index 5a181d22..faba02ad 100644 --- a/lib/orb/models/customers/credit_list_by_external_id_response.rb +++ b/lib/orb/models/customers/credit_list_by_external_id_response.rb @@ -54,15 +54,6 @@ class CreditListByExternalIDResponse < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :pending_payment - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active PENDING_PAYMENT = :pending_payment diff --git a/lib/orb/models/customers/credit_list_response.rb b/lib/orb/models/customers/credit_list_response.rb index 3ad8dc03..09972515 100644 --- a/lib/orb/models/customers/credit_list_response.rb +++ b/lib/orb/models/customers/credit_list_response.rb @@ -54,15 +54,6 @@ class CreditListResponse < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :pending_payment - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active PENDING_PAYMENT = :pending_payment diff --git a/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb b/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb index 93b1ee3b..3d8c0510 100644 --- a/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +++ b/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb @@ -136,13 +136,6 @@ class LedgerCreateEntryByExternalIDParams < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_type - # in :amendment - # # ... - # end - # ``` class EntryType < Orb::Enum AMENDMENT = :amendment @@ -206,14 +199,6 @@ class InvoiceSettings < Orb::BaseModel # @abstract # # Can only be specified when `entry_type=void`. The reason for the void. - # - # @example - # ```ruby - # case void_reason - # in :refund - # # ... - # end - # ``` class VoidReason < Orb::Enum REFUND = :refund diff --git a/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb b/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb index 66400693..91a90642 100644 --- a/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +++ b/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb @@ -8,46 +8,6 @@ module Credits # # The [Credit Ledger Entry resource](/product-catalog/prepurchase) models prepaid # credits within Orb. - # - # @example - # ```ruby - # case ledger_create_entry_by_external_id_response - # in {entry_type: "increment", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::IncrementLedgerEntry ... - # in {entry_type: "decrement", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::DecrementLedgerEntry ... - # in {entry_type: "expiration_change", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::ExpirationChangeLedgerEntry ... - # in {entry_type: "credit_block_expiry", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::CreditBlockExpiryLedgerEntry ... - # in {entry_type: "void", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidLedgerEntry ... - # in {entry_type: "void_initiated", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidInitiatedLedgerEntry ... - # in {entry_type: "amendment", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::AmendmentLedgerEntry ... - # end - # ``` - # - # @example - # ```ruby - # case ledger_create_entry_by_external_id_response - # in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::IncrementLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::DecrementLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::ExpirationChangeLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::CreditBlockExpiryLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidInitiatedLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::AmendmentLedgerEntry - # # ... - # end - # ``` class LedgerCreateEntryByExternalIDResponse < Orb::Union discriminator :entry_type @@ -229,15 +189,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -429,15 +380,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -615,15 +557,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -794,15 +727,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -987,15 +911,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -1187,15 +1102,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -1366,15 +1272,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending diff --git a/lib/orb/models/customers/credits/ledger_create_entry_params.rb b/lib/orb/models/customers/credits/ledger_create_entry_params.rb index 3093090e..ff276274 100644 --- a/lib/orb/models/customers/credits/ledger_create_entry_params.rb +++ b/lib/orb/models/customers/credits/ledger_create_entry_params.rb @@ -135,13 +135,6 @@ class LedgerCreateEntryParams < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_type - # in :amendment - # # ... - # end - # ``` class EntryType < Orb::Enum AMENDMENT = :amendment @@ -205,14 +198,6 @@ class InvoiceSettings < Orb::BaseModel # @abstract # # Can only be specified when `entry_type=void`. The reason for the void. - # - # @example - # ```ruby - # case void_reason - # in :refund - # # ... - # end - # ``` class VoidReason < Orb::Enum REFUND = :refund diff --git a/lib/orb/models/customers/credits/ledger_create_entry_response.rb b/lib/orb/models/customers/credits/ledger_create_entry_response.rb index a2746956..551f777b 100644 --- a/lib/orb/models/customers/credits/ledger_create_entry_response.rb +++ b/lib/orb/models/customers/credits/ledger_create_entry_response.rb @@ -8,46 +8,6 @@ module Credits # # The [Credit Ledger Entry resource](/product-catalog/prepurchase) models prepaid # credits within Orb. - # - # @example - # ```ruby - # case ledger_create_entry_response - # in {entry_type: "increment", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryResponse::IncrementLedgerEntry ... - # in {entry_type: "decrement", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryResponse::DecrementLedgerEntry ... - # in {entry_type: "expiration_change", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryResponse::ExpirationChangeLedgerEntry ... - # in {entry_type: "credit_block_expiry", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryResponse::CreditBlockExpiryLedgerEntry ... - # in {entry_type: "void", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidLedgerEntry ... - # in {entry_type: "void_initiated", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidInitiatedLedgerEntry ... - # in {entry_type: "amendment", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerCreateEntryResponse::AmendmentLedgerEntry ... - # end - # ``` - # - # @example - # ```ruby - # case ledger_create_entry_response - # in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::IncrementLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::DecrementLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::ExpirationChangeLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::CreditBlockExpiryLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidInitiatedLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::AmendmentLedgerEntry - # # ... - # end - # ``` class LedgerCreateEntryResponse < Orb::Union discriminator :entry_type @@ -228,15 +188,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -428,15 +379,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -614,15 +556,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -793,15 +726,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -986,15 +910,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -1186,15 +1101,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -1365,15 +1271,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending diff --git a/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb b/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb index ab9456c3..8a233f02 100644 --- a/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb +++ b/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb @@ -105,15 +105,6 @@ class LedgerListByExternalIDParams < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -128,23 +119,6 @@ class EntryStatus < Orb::Enum # @abstract # - # @example - # ```ruby - # case entry_type - # in :increment - # # ... - # in :decrement - # # ... - # in :expiration_change - # # ... - # in :credit_block_expiry - # # ... - # in :void - # # ... - # in ... - # #... - # end - # ``` class EntryType < Orb::Enum INCREMENT = :increment DECREMENT = :decrement diff --git a/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb b/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb index 34123314..3c4623a2 100644 --- a/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +++ b/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb @@ -8,46 +8,6 @@ module Credits # # The [Credit Ledger Entry resource](/product-catalog/prepurchase) models prepaid # credits within Orb. - # - # @example - # ```ruby - # case ledger_list_by_external_id_response - # in {entry_type: "increment", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::IncrementLedgerEntry ... - # in {entry_type: "decrement", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::DecrementLedgerEntry ... - # in {entry_type: "expiration_change", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::ExpirationChangeLedgerEntry ... - # in {entry_type: "credit_block_expiry", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::CreditBlockExpiryLedgerEntry ... - # in {entry_type: "void", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidLedgerEntry ... - # in {entry_type: "void_initiated", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidInitiatedLedgerEntry ... - # in {entry_type: "amendment", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::AmendmentLedgerEntry ... - # end - # ``` - # - # @example - # ```ruby - # case ledger_list_by_external_id_response - # in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::IncrementLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::DecrementLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::ExpirationChangeLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::CreditBlockExpiryLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidInitiatedLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::AmendmentLedgerEntry - # # ... - # end - # ``` class LedgerListByExternalIDResponse < Orb::Union discriminator :entry_type @@ -228,15 +188,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -428,15 +379,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -614,15 +556,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -793,15 +726,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -986,15 +910,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -1186,15 +1101,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -1365,15 +1271,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending diff --git a/lib/orb/models/customers/credits/ledger_list_params.rb b/lib/orb/models/customers/credits/ledger_list_params.rb index d0115486..662d11f9 100644 --- a/lib/orb/models/customers/credits/ledger_list_params.rb +++ b/lib/orb/models/customers/credits/ledger_list_params.rb @@ -105,15 +105,6 @@ class LedgerListParams < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -128,23 +119,6 @@ class EntryStatus < Orb::Enum # @abstract # - # @example - # ```ruby - # case entry_type - # in :increment - # # ... - # in :decrement - # # ... - # in :expiration_change - # # ... - # in :credit_block_expiry - # # ... - # in :void - # # ... - # in ... - # #... - # end - # ``` class EntryType < Orb::Enum INCREMENT = :increment DECREMENT = :decrement diff --git a/lib/orb/models/customers/credits/ledger_list_response.rb b/lib/orb/models/customers/credits/ledger_list_response.rb index 345e2f1f..59a1f0b9 100644 --- a/lib/orb/models/customers/credits/ledger_list_response.rb +++ b/lib/orb/models/customers/credits/ledger_list_response.rb @@ -8,46 +8,6 @@ module Credits # # The [Credit Ledger Entry resource](/product-catalog/prepurchase) models prepaid # credits within Orb. - # - # @example - # ```ruby - # case ledger_list_response - # in {entry_type: "increment", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListResponse::IncrementLedgerEntry ... - # in {entry_type: "decrement", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListResponse::DecrementLedgerEntry ... - # in {entry_type: "expiration_change", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListResponse::ExpirationChangeLedgerEntry ... - # in {entry_type: "credit_block_expiry", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListResponse::CreditBlockExpiryLedgerEntry ... - # in {entry_type: "void", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListResponse::VoidLedgerEntry ... - # in {entry_type: "void_initiated", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListResponse::VoidInitiatedLedgerEntry ... - # in {entry_type: "amendment", id: String, amount: Float, created_at: Time} - # # Orb::Models::Customers::Credits::LedgerListResponse::AmendmentLedgerEntry ... - # end - # ``` - # - # @example - # ```ruby - # case ledger_list_response - # in Orb::Models::Customers::Credits::LedgerListResponse::IncrementLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListResponse::DecrementLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListResponse::ExpirationChangeLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListResponse::CreditBlockExpiryLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListResponse::VoidLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListResponse::VoidInitiatedLedgerEntry - # # ... - # in Orb::Models::Customers::Credits::LedgerListResponse::AmendmentLedgerEntry - # # ... - # end - # ``` class LedgerListResponse < Orb::Union discriminator :entry_type @@ -225,15 +185,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -425,15 +376,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -611,15 +553,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -790,15 +723,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -982,15 +906,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -1182,15 +1097,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending @@ -1361,15 +1267,6 @@ class Customer < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case entry_status - # in :committed - # # ... - # in :pending - # # ... - # end - # ``` class EntryStatus < Orb::Enum COMMITTED = :committed PENDING = :pending diff --git a/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb b/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb index 788df8c5..9a0b6d7f 100644 --- a/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +++ b/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb @@ -141,16 +141,6 @@ class InvoiceSettings < Orb::BaseModel # @abstract # # The unit of expires_after. - # - # @example - # ```ruby - # case expires_after_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class ExpiresAfterUnit < Orb::Enum DAY = :day MONTH = :month diff --git a/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb b/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb index 4b7bd4c9..f6376931 100644 --- a/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +++ b/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb @@ -133,16 +133,6 @@ class InvoiceSettings < Orb::BaseModel # @abstract # # The unit of expires_after. - # - # @example - # ```ruby - # case expires_after_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class ExpiresAfterUnit < Orb::Enum DAY = :day MONTH = :month diff --git a/lib/orb/models/customers/credits/top_up_create_params.rb b/lib/orb/models/customers/credits/top_up_create_params.rb index fbb133b6..1cf05de5 100644 --- a/lib/orb/models/customers/credits/top_up_create_params.rb +++ b/lib/orb/models/customers/credits/top_up_create_params.rb @@ -140,16 +140,6 @@ class InvoiceSettings < Orb::BaseModel # @abstract # # The unit of expires_after. - # - # @example - # ```ruby - # case expires_after_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class ExpiresAfterUnit < Orb::Enum DAY = :day MONTH = :month diff --git a/lib/orb/models/customers/credits/top_up_create_response.rb b/lib/orb/models/customers/credits/top_up_create_response.rb index 7c9a61af..0f7c549a 100644 --- a/lib/orb/models/customers/credits/top_up_create_response.rb +++ b/lib/orb/models/customers/credits/top_up_create_response.rb @@ -132,16 +132,6 @@ class InvoiceSettings < Orb::BaseModel # @abstract # # The unit of expires_after. - # - # @example - # ```ruby - # case expires_after_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class ExpiresAfterUnit < Orb::Enum DAY = :day MONTH = :month diff --git a/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb b/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb index abb7207f..82dc0497 100644 --- a/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +++ b/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb @@ -133,16 +133,6 @@ class InvoiceSettings < Orb::BaseModel # @abstract # # The unit of expires_after. - # - # @example - # ```ruby - # case expires_after_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class ExpiresAfterUnit < Orb::Enum DAY = :day MONTH = :month diff --git a/lib/orb/models/customers/credits/top_up_list_response.rb b/lib/orb/models/customers/credits/top_up_list_response.rb index 8043075b..ba81e417 100644 --- a/lib/orb/models/customers/credits/top_up_list_response.rb +++ b/lib/orb/models/customers/credits/top_up_list_response.rb @@ -132,16 +132,6 @@ class InvoiceSettings < Orb::BaseModel # @abstract # # The unit of expires_after. - # - # @example - # ```ruby - # case expires_after_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class ExpiresAfterUnit < Orb::Enum DAY = :day MONTH = :month diff --git a/lib/orb/models/discount.rb b/lib/orb/models/discount.rb index 64f1d95b..4fa31b8a 100644 --- a/lib/orb/models/discount.rb +++ b/lib/orb/models/discount.rb @@ -4,43 +4,6 @@ module Orb module Models # @abstract # - # @example - # ```ruby - # case discount - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # percentage_discount: Float, - # reason: String - # } - # # Orb::Models::PercentageDiscount ... - # in { - # discount_type: "trial", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # reason: String, - # trial_amount_discount: String - # } - # # Orb::Models::TrialDiscount ... - # in {discount_type: "usage", applies_to_price_ids: ^(Orb::ArrayOf[String]), usage_discount: Float, reason: String} - # # Orb::Models::UsageDiscount ... - # in {discount_type: "amount", amount_discount: String, applies_to_price_ids: ^(Orb::ArrayOf[String]), reason: String} - # # Orb::Models::AmountDiscount ... - # end - # ``` - # - # @example - # ```ruby - # case discount - # in Orb::Models::PercentageDiscount - # # ... - # in Orb::Models::TrialDiscount - # # ... - # in Orb::Models::UsageDiscount - # # ... - # in Orb::Models::AmountDiscount - # # ... - # end - # ``` class Discount < Orb::Union discriminator :discount_type diff --git a/lib/orb/models/evaluate_price_group.rb b/lib/orb/models/evaluate_price_group.rb index e14da621..07e9b857 100644 --- a/lib/orb/models/evaluate_price_group.rb +++ b/lib/orb/models/evaluate_price_group.rb @@ -32,17 +32,6 @@ class EvaluatePriceGroup < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case grouping_value - # in String - # # ... - # in Float - # # ... - # in Orb::BooleanModel - # # ... - # end - # ``` class GroupingValue < Orb::Union variant String diff --git a/lib/orb/models/events/backfill_close_response.rb b/lib/orb/models/events/backfill_close_response.rb index 06106b9f..f256c563 100644 --- a/lib/orb/models/events/backfill_close_response.rb +++ b/lib/orb/models/events/backfill_close_response.rb @@ -110,20 +110,6 @@ class BackfillCloseResponse < Orb::BaseModel # @abstract # # The status of the backfill. - # - # @example - # ```ruby - # case status - # in :pending - # # ... - # in :reflected - # # ... - # in :pending_revert - # # ... - # in :reverted - # # ... - # end - # ``` class Status < Orb::Enum PENDING = :pending REFLECTED = :reflected diff --git a/lib/orb/models/events/backfill_create_response.rb b/lib/orb/models/events/backfill_create_response.rb index 2a1525bf..e4758540 100644 --- a/lib/orb/models/events/backfill_create_response.rb +++ b/lib/orb/models/events/backfill_create_response.rb @@ -110,20 +110,6 @@ class BackfillCreateResponse < Orb::BaseModel # @abstract # # The status of the backfill. - # - # @example - # ```ruby - # case status - # in :pending - # # ... - # in :reflected - # # ... - # in :pending_revert - # # ... - # in :reverted - # # ... - # end - # ``` class Status < Orb::Enum PENDING = :pending REFLECTED = :reflected diff --git a/lib/orb/models/events/backfill_fetch_response.rb b/lib/orb/models/events/backfill_fetch_response.rb index c8ba856b..d663d54b 100644 --- a/lib/orb/models/events/backfill_fetch_response.rb +++ b/lib/orb/models/events/backfill_fetch_response.rb @@ -110,20 +110,6 @@ class BackfillFetchResponse < Orb::BaseModel # @abstract # # The status of the backfill. - # - # @example - # ```ruby - # case status - # in :pending - # # ... - # in :reflected - # # ... - # in :pending_revert - # # ... - # in :reverted - # # ... - # end - # ``` class Status < Orb::Enum PENDING = :pending REFLECTED = :reflected diff --git a/lib/orb/models/events/backfill_list_response.rb b/lib/orb/models/events/backfill_list_response.rb index 56eb74e2..97ef1536 100644 --- a/lib/orb/models/events/backfill_list_response.rb +++ b/lib/orb/models/events/backfill_list_response.rb @@ -110,20 +110,6 @@ class BackfillListResponse < Orb::BaseModel # @abstract # # The status of the backfill. - # - # @example - # ```ruby - # case status - # in :pending - # # ... - # in :reflected - # # ... - # in :pending_revert - # # ... - # in :reverted - # # ... - # end - # ``` class Status < Orb::Enum PENDING = :pending REFLECTED = :reflected diff --git a/lib/orb/models/events/backfill_revert_response.rb b/lib/orb/models/events/backfill_revert_response.rb index dd2c7cb5..d82e854e 100644 --- a/lib/orb/models/events/backfill_revert_response.rb +++ b/lib/orb/models/events/backfill_revert_response.rb @@ -110,20 +110,6 @@ class BackfillRevertResponse < Orb::BaseModel # @abstract # # The status of the backfill. - # - # @example - # ```ruby - # case status - # in :pending - # # ... - # in :reflected - # # ... - # in :pending_revert - # # ... - # in :reverted - # # ... - # end - # ``` class Status < Orb::Enum PENDING = :pending REFLECTED = :reflected diff --git a/lib/orb/models/invoice.rb b/lib/orb/models/invoice.rb index f132ccf6..99782c3b 100644 --- a/lib/orb/models/invoice.rb +++ b/lib/orb/models/invoice.rb @@ -712,23 +712,6 @@ class CustomerBalanceTransaction < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case action - # in :applied_to_invoice - # # ... - # in :manual_adjustment - # # ... - # in :prorated_refund - # # ... - # in :revert_prorated_refund - # # ... - # in :return_from_voiding - # # ... - # in ... - # #... - # end - # ``` class Action < Orb::Enum APPLIED_TO_INVOICE = :applied_to_invoice MANUAL_ADJUSTMENT = :manual_adjustment @@ -780,15 +763,6 @@ class Invoice < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case type - # in :increment - # # ... - # in :decrement - # # ... - # end - # ``` class Type < Orb::Enum INCREMENT = :increment DECREMENT = :decrement @@ -935,23 +909,6 @@ class CustomerTaxID < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case country - # in :AD - # # ... - # in :AE - # # ... - # in :AR - # # ... - # in :AT - # # ... - # in :AU - # # ... - # in ... - # #... - # end - # ``` class Country < Orb::Enum AD = :AD AE = :AE @@ -1042,23 +999,6 @@ class Country < Orb::Enum # @abstract # - # @example - # ```ruby - # case type - # in :ad_nrt - # # ... - # in :ae_trn - # # ... - # in :ar_cuit - # # ... - # in :eu_vat - # # ... - # in :au_abn - # # ... - # in ... - # #... - # end - # ``` class Type < Orb::Enum AD_NRT = :ad_nrt AE_TRN = :ae_trn @@ -1143,17 +1083,6 @@ class Type < Orb::Enum # @abstract # - # @example - # ```ruby - # case invoice_source - # in :subscription - # # ... - # in :partial - # # ... - # in :one_off - # # ... - # end - # ``` class InvoiceSource < Orb::Enum SUBSCRIPTION = :subscription PARTIAL = :partial @@ -1372,42 +1301,6 @@ class LineItem < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in {adjustment_type: "usage_discount", id: String, amount: String, applies_to_price_ids: ^(Orb::ArrayOf[String])} - # # Orb::Models::Invoice::LineItem::Adjustment::MonetaryUsageDiscountAdjustment ... - # in {adjustment_type: "amount_discount", id: String, amount: String, amount_discount: String} - # # Orb::Models::Invoice::LineItem::Adjustment::MonetaryAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # amount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::Invoice::LineItem::Adjustment::MonetaryPercentageDiscountAdjustment ... - # in {adjustment_type: "minimum", id: String, amount: String, applies_to_price_ids: ^(Orb::ArrayOf[String])} - # # Orb::Models::Invoice::LineItem::Adjustment::MonetaryMinimumAdjustment ... - # in {adjustment_type: "maximum", id: String, amount: String, applies_to_price_ids: ^(Orb::ArrayOf[String])} - # # Orb::Models::Invoice::LineItem::Adjustment::MonetaryMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::Invoice::LineItem::Adjustment::MonetaryUsageDiscountAdjustment - # # ... - # in Orb::Models::Invoice::LineItem::Adjustment::MonetaryAmountDiscountAdjustment - # # ... - # in Orb::Models::Invoice::LineItem::Adjustment::MonetaryPercentageDiscountAdjustment - # # ... - # in Orb::Models::Invoice::LineItem::Adjustment::MonetaryMinimumAdjustment - # # ... - # in Orb::Models::Invoice::LineItem::Adjustment::MonetaryMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -1829,44 +1722,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case sub_line_item - # in { - # type: "matrix", - # amount: String, - # grouping: Orb::Models::Invoice::LineItem::SubLineItem::MatrixSubLineItem::Grouping, - # matrix_config: Orb::Models::Invoice::LineItem::SubLineItem::MatrixSubLineItem::MatrixConfig - # } - # # Orb::Models::Invoice::LineItem::SubLineItem::MatrixSubLineItem ... - # in { - # type: "tier", - # amount: String, - # grouping: Orb::Models::Invoice::LineItem::SubLineItem::TierSubLineItem::Grouping, - # name: String - # } - # # Orb::Models::Invoice::LineItem::SubLineItem::TierSubLineItem ... - # in { - # type: "'null'", - # amount: String, - # grouping: Orb::Models::Invoice::LineItem::SubLineItem::OtherSubLineItem::Grouping, - # name: String - # } - # # Orb::Models::Invoice::LineItem::SubLineItem::OtherSubLineItem ... - # end - # ``` - # - # @example - # ```ruby - # case sub_line_item - # in Orb::Models::Invoice::LineItem::SubLineItem::MatrixSubLineItem - # # ... - # in Orb::Models::Invoice::LineItem::SubLineItem::TierSubLineItem - # # ... - # in Orb::Models::Invoice::LineItem::SubLineItem::OtherSubLineItem - # # ... - # end - # ``` class SubLineItem < Orb::Union discriminator :type @@ -2245,14 +2100,6 @@ class PaymentAttempt < Orb::BaseModel # @abstract # # The payment provider that attempted to collect the payment. - # - # @example - # ```ruby - # case payment_provider - # in :stripe - # # ... - # end - # ``` class PaymentProvider < Orb::Enum STRIPE = :stripe @@ -2311,21 +2158,6 @@ class ShippingAddress < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :issued - # # ... - # in :paid - # # ... - # in :synced - # # ... - # in :void - # # ... - # in :draft - # # ... - # end - # ``` class Status < Orb::Enum ISSUED = :issued PAID = :paid diff --git a/lib/orb/models/invoice_create_params.rb b/lib/orb/models/invoice_create_params.rb index 3e25d0e9..470a49b0 100644 --- a/lib/orb/models/invoice_create_params.rb +++ b/lib/orb/models/invoice_create_params.rb @@ -167,13 +167,6 @@ class LineItem < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case model_type - # in :unit - # # ... - # end - # ``` class ModelType < Orb::Enum UNIT = :unit diff --git a/lib/orb/models/invoice_fetch_upcoming_response.rb b/lib/orb/models/invoice_fetch_upcoming_response.rb index fc134a61..688af274 100644 --- a/lib/orb/models/invoice_fetch_upcoming_response.rb +++ b/lib/orb/models/invoice_fetch_upcoming_response.rb @@ -711,23 +711,6 @@ class CustomerBalanceTransaction < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case action - # in :applied_to_invoice - # # ... - # in :manual_adjustment - # # ... - # in :prorated_refund - # # ... - # in :revert_prorated_refund - # # ... - # in :return_from_voiding - # # ... - # in ... - # #... - # end - # ``` class Action < Orb::Enum APPLIED_TO_INVOICE = :applied_to_invoice MANUAL_ADJUSTMENT = :manual_adjustment @@ -779,15 +762,6 @@ class Invoice < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case type - # in :increment - # # ... - # in :decrement - # # ... - # end - # ``` class Type < Orb::Enum INCREMENT = :increment DECREMENT = :decrement @@ -934,23 +908,6 @@ class CustomerTaxID < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case country - # in :AD - # # ... - # in :AE - # # ... - # in :AR - # # ... - # in :AT - # # ... - # in :AU - # # ... - # in ... - # #... - # end - # ``` class Country < Orb::Enum AD = :AD AE = :AE @@ -1041,23 +998,6 @@ class Country < Orb::Enum # @abstract # - # @example - # ```ruby - # case type - # in :ad_nrt - # # ... - # in :ae_trn - # # ... - # in :ar_cuit - # # ... - # in :eu_vat - # # ... - # in :au_abn - # # ... - # in ... - # #... - # end - # ``` class Type < Orb::Enum AD_NRT = :ad_nrt AE_TRN = :ae_trn @@ -1142,17 +1082,6 @@ class Type < Orb::Enum # @abstract # - # @example - # ```ruby - # case invoice_source - # in :subscription - # # ... - # in :partial - # # ... - # in :one_off - # # ... - # end - # ``` class InvoiceSource < Orb::Enum SUBSCRIPTION = :subscription PARTIAL = :partial @@ -1373,42 +1302,6 @@ class LineItem < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in {adjustment_type: "usage_discount", id: String, amount: String, applies_to_price_ids: ^(Orb::ArrayOf[String])} - # # Orb::Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::MonetaryUsageDiscountAdjustment ... - # in {adjustment_type: "amount_discount", id: String, amount: String, amount_discount: String} - # # Orb::Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::MonetaryAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # amount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::MonetaryPercentageDiscountAdjustment ... - # in {adjustment_type: "minimum", id: String, amount: String, applies_to_price_ids: ^(Orb::ArrayOf[String])} - # # Orb::Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::MonetaryMinimumAdjustment ... - # in {adjustment_type: "maximum", id: String, amount: String, applies_to_price_ids: ^(Orb::ArrayOf[String])} - # # Orb::Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::MonetaryMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::MonetaryUsageDiscountAdjustment - # # ... - # in Orb::Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::MonetaryAmountDiscountAdjustment - # # ... - # in Orb::Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::MonetaryPercentageDiscountAdjustment - # # ... - # in Orb::Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::MonetaryMinimumAdjustment - # # ... - # in Orb::Models::InvoiceFetchUpcomingResponse::LineItem::Adjustment::MonetaryMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -1832,44 +1725,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case sub_line_item - # in { - # type: "matrix", - # amount: String, - # grouping: Orb::Models::InvoiceFetchUpcomingResponse::LineItem::SubLineItem::MatrixSubLineItem::Grouping, - # matrix_config: Orb::Models::InvoiceFetchUpcomingResponse::LineItem::SubLineItem::MatrixSubLineItem::MatrixConfig - # } - # # Orb::Models::InvoiceFetchUpcomingResponse::LineItem::SubLineItem::MatrixSubLineItem ... - # in { - # type: "tier", - # amount: String, - # grouping: Orb::Models::InvoiceFetchUpcomingResponse::LineItem::SubLineItem::TierSubLineItem::Grouping, - # name: String - # } - # # Orb::Models::InvoiceFetchUpcomingResponse::LineItem::SubLineItem::TierSubLineItem ... - # in { - # type: "'null'", - # amount: String, - # grouping: Orb::Models::InvoiceFetchUpcomingResponse::LineItem::SubLineItem::OtherSubLineItem::Grouping, - # name: String - # } - # # Orb::Models::InvoiceFetchUpcomingResponse::LineItem::SubLineItem::OtherSubLineItem ... - # end - # ``` - # - # @example - # ```ruby - # case sub_line_item - # in Orb::Models::InvoiceFetchUpcomingResponse::LineItem::SubLineItem::MatrixSubLineItem - # # ... - # in Orb::Models::InvoiceFetchUpcomingResponse::LineItem::SubLineItem::TierSubLineItem - # # ... - # in Orb::Models::InvoiceFetchUpcomingResponse::LineItem::SubLineItem::OtherSubLineItem - # # ... - # end - # ``` class SubLineItem < Orb::Union discriminator :type @@ -2253,14 +2108,6 @@ class PaymentAttempt < Orb::BaseModel # @abstract # # The payment provider that attempted to collect the payment. - # - # @example - # ```ruby - # case payment_provider - # in :stripe - # # ... - # end - # ``` class PaymentProvider < Orb::Enum STRIPE = :stripe @@ -2319,21 +2166,6 @@ class ShippingAddress < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :issued - # # ... - # in :paid - # # ... - # in :synced - # # ... - # in :void - # # ... - # in :draft - # # ... - # end - # ``` class Status < Orb::Enum ISSUED = :issued PAID = :paid diff --git a/lib/orb/models/invoice_level_discount.rb b/lib/orb/models/invoice_level_discount.rb index 9dea0bcc..b3e63535 100644 --- a/lib/orb/models/invoice_level_discount.rb +++ b/lib/orb/models/invoice_level_discount.rb @@ -4,39 +4,6 @@ module Orb module Models # @abstract # - # @example - # ```ruby - # case invoice_level_discount - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # percentage_discount: Float, - # reason: String - # } - # # Orb::Models::PercentageDiscount ... - # in {discount_type: "amount", amount_discount: String, applies_to_price_ids: ^(Orb::ArrayOf[String]), reason: String} - # # Orb::Models::AmountDiscount ... - # in { - # discount_type: "trial", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # reason: String, - # trial_amount_discount: String - # } - # # Orb::Models::TrialDiscount ... - # end - # ``` - # - # @example - # ```ruby - # case invoice_level_discount - # in Orb::Models::PercentageDiscount - # # ... - # in Orb::Models::AmountDiscount - # # ... - # in Orb::Models::TrialDiscount - # # ... - # end - # ``` class InvoiceLevelDiscount < Orb::Union discriminator :discount_type diff --git a/lib/orb/models/invoice_line_item_create_response.rb b/lib/orb/models/invoice_line_item_create_response.rb index a14ac252..77152c86 100644 --- a/lib/orb/models/invoice_line_item_create_response.rb +++ b/lib/orb/models/invoice_line_item_create_response.rb @@ -208,42 +208,6 @@ class InvoiceLineItemCreateResponse < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in {adjustment_type: "usage_discount", id: String, amount: String, applies_to_price_ids: ^(Orb::ArrayOf[String])} - # # Orb::Models::InvoiceLineItemCreateResponse::Adjustment::MonetaryUsageDiscountAdjustment ... - # in {adjustment_type: "amount_discount", id: String, amount: String, amount_discount: String} - # # Orb::Models::InvoiceLineItemCreateResponse::Adjustment::MonetaryAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # amount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::InvoiceLineItemCreateResponse::Adjustment::MonetaryPercentageDiscountAdjustment ... - # in {adjustment_type: "minimum", id: String, amount: String, applies_to_price_ids: ^(Orb::ArrayOf[String])} - # # Orb::Models::InvoiceLineItemCreateResponse::Adjustment::MonetaryMinimumAdjustment ... - # in {adjustment_type: "maximum", id: String, amount: String, applies_to_price_ids: ^(Orb::ArrayOf[String])} - # # Orb::Models::InvoiceLineItemCreateResponse::Adjustment::MonetaryMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::InvoiceLineItemCreateResponse::Adjustment::MonetaryUsageDiscountAdjustment - # # ... - # in Orb::Models::InvoiceLineItemCreateResponse::Adjustment::MonetaryAmountDiscountAdjustment - # # ... - # in Orb::Models::InvoiceLineItemCreateResponse::Adjustment::MonetaryPercentageDiscountAdjustment - # # ... - # in Orb::Models::InvoiceLineItemCreateResponse::Adjustment::MonetaryMinimumAdjustment - # # ... - # in Orb::Models::InvoiceLineItemCreateResponse::Adjustment::MonetaryMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -665,44 +629,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case sub_line_item - # in { - # type: "matrix", - # amount: String, - # grouping: Orb::Models::InvoiceLineItemCreateResponse::SubLineItem::MatrixSubLineItem::Grouping, - # matrix_config: Orb::Models::InvoiceLineItemCreateResponse::SubLineItem::MatrixSubLineItem::MatrixConfig - # } - # # Orb::Models::InvoiceLineItemCreateResponse::SubLineItem::MatrixSubLineItem ... - # in { - # type: "tier", - # amount: String, - # grouping: Orb::Models::InvoiceLineItemCreateResponse::SubLineItem::TierSubLineItem::Grouping, - # name: String - # } - # # Orb::Models::InvoiceLineItemCreateResponse::SubLineItem::TierSubLineItem ... - # in { - # type: "'null'", - # amount: String, - # grouping: Orb::Models::InvoiceLineItemCreateResponse::SubLineItem::OtherSubLineItem::Grouping, - # name: String - # } - # # Orb::Models::InvoiceLineItemCreateResponse::SubLineItem::OtherSubLineItem ... - # end - # ``` - # - # @example - # ```ruby - # case sub_line_item - # in Orb::Models::InvoiceLineItemCreateResponse::SubLineItem::MatrixSubLineItem - # # ... - # in Orb::Models::InvoiceLineItemCreateResponse::SubLineItem::TierSubLineItem - # # ... - # in Orb::Models::InvoiceLineItemCreateResponse::SubLineItem::OtherSubLineItem - # # ... - # end - # ``` class SubLineItem < Orb::Union discriminator :type diff --git a/lib/orb/models/invoice_list_params.rb b/lib/orb/models/invoice_list_params.rb index dcb8a83f..7bc7672d 100644 --- a/lib/orb/models/invoice_list_params.rb +++ b/lib/orb/models/invoice_list_params.rb @@ -165,15 +165,6 @@ class InvoiceListParams < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case date_type - # in :due_date - # # ... - # in :invoice_date - # # ... - # end - # ``` class DateType < Orb::Enum DUE_DATE = :due_date INVOICE_DATE = :invoice_date @@ -188,21 +179,6 @@ class DateType < Orb::Enum # @abstract # - # @example - # ```ruby - # case status - # in :draft - # # ... - # in :issued - # # ... - # in :paid - # # ... - # in :synced - # # ... - # in :void - # # ... - # end - # ``` class Status < Orb::Enum DRAFT = :draft ISSUED = :issued diff --git a/lib/orb/models/item.rb b/lib/orb/models/item.rb index 807a1c4d..0eb0f0fd 100644 --- a/lib/orb/models/item.rb +++ b/lib/orb/models/item.rb @@ -59,23 +59,6 @@ class ExternalConnection < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case external_connection_name - # in :stripe - # # ... - # in :quickbooks - # # ... - # in :"bill.com" - # # ... - # in :netsuite - # # ... - # in :taxjar - # # ... - # in ... - # #... - # end - # ``` class ExternalConnectionName < Orb::Enum STRIPE = :stripe QUICKBOOKS = :quickbooks diff --git a/lib/orb/models/item_update_params.rb b/lib/orb/models/item_update_params.rb index ab125fd5..77fc0ee1 100644 --- a/lib/orb/models/item_update_params.rb +++ b/lib/orb/models/item_update_params.rb @@ -50,23 +50,6 @@ class ExternalConnection < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case external_connection_name - # in :stripe - # # ... - # in :quickbooks - # # ... - # in :"bill.com" - # # ... - # in :netsuite - # # ... - # in :taxjar - # # ... - # in ... - # #... - # end - # ``` class ExternalConnectionName < Orb::Enum STRIPE = :stripe QUICKBOOKS = :quickbooks diff --git a/lib/orb/models/percentage_discount.rb b/lib/orb/models/percentage_discount.rb index ba2c3a33..dcc76d0e 100644 --- a/lib/orb/models/percentage_discount.rb +++ b/lib/orb/models/percentage_discount.rb @@ -39,13 +39,6 @@ class PercentageDiscount < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :percentage - # # ... - # end - # ``` class DiscountType < Orb::Enum PERCENTAGE = :percentage diff --git a/lib/orb/models/plan.rb b/lib/orb/models/plan.rb index c293f53d..0221ccc7 100644 --- a/lib/orb/models/plan.rb +++ b/lib/orb/models/plan.rb @@ -212,62 +212,6 @@ class Plan < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::Plan::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::Plan::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::Plan::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::Plan::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::Plan::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::Plan::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::Plan::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::Plan::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::Plan::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::Plan::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -798,21 +742,6 @@ class PlanPhase < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :daily - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAILY = :daily MONTHLY = :monthly @@ -903,17 +832,6 @@ class Product < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :archived - # # ... - # in :draft - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ARCHIVED = :archived @@ -948,13 +866,6 @@ class TrialConfig < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case trial_period_unit - # in :days - # # ... - # end - # ``` class TrialPeriodUnit < Orb::Enum DAYS = :days diff --git a/lib/orb/models/plan_create_params.rb b/lib/orb/models/plan_create_params.rb index acad8938..4c5224e4 100644 --- a/lib/orb/models/plan_create_params.rb +++ b/lib/orb/models/plan_create_params.rb @@ -94,242 +94,6 @@ class PlanCreateParams < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price - # in { - # model_type: "unit", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice ... - # in { - # model_type: "package", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice ... - # in { - # model_type: "matrix", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::Cadence, - # item_id: String, - # matrix_config: Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::MatrixConfig - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice ... - # in { - # model_type: "tiered", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice ... - # in { - # model_type: "tiered_bps", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice ... - # in { - # model_type: "bps", - # bps_config: Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BpsConfig, - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::Cadence, - # item_id: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice ... - # in { - # model_type: "bulk_bps", - # bulk_bps_config: Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig, - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::Cadence, - # item_id: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice ... - # in { - # model_type: "bulk", - # bulk_config: Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig, - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::Cadence, - # item_id: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice ... - # in { - # model_type: "threshold_total_amount", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice ... - # in { - # model_type: "tiered_package", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice ... - # in { - # model_type: "tiered_with_minimum", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice ... - # in { - # model_type: "unit_with_percent", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice ... - # in { - # model_type: "package_with_allocation", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice ... - # in { - # model_type: "tiered_with_proration", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice ... - # in { - # model_type: "unit_with_proration", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice ... - # in { - # model_type: "grouped_allocation", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice::Cadence, - # grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice ... - # in { - # model_type: "grouped_with_prorated_minimum", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice::Cadence, - # grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice ... - # in { - # model_type: "grouped_with_metered_minimum", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice::Cadence, - # grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice ... - # in { - # model_type: "matrix_with_display_name", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice::Cadence, - # item_id: String, - # matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice ... - # in { - # model_type: "bulk_with_proration", - # bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice::Cadence, - # item_id: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice ... - # in { - # model_type: "grouped_tiered_package", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice::Cadence, - # grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice ... - # in { - # model_type: "max_group_tiered_package", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice::Cadence, - # item_id: String, - # max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice ... - # in { - # model_type: "scalable_matrix_with_unit_pricing", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice ... - # in { - # model_type: "scalable_matrix_with_tiered_pricing", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice ... - # in { - # model_type: "cumulative_grouped_bulk", - # cadence: Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice::Cadence, - # cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice ... - # end - # ``` - # - # @example - # ```ruby - # case price - # in Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice - # # ... - # in Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice - # # ... - # end - # ``` class Price < Orb::Union discriminator :model_type @@ -537,24 +301,6 @@ class NewPlanUnitPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -614,16 +360,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -665,16 +401,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -833,24 +559,6 @@ class NewPlanPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -918,16 +626,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -969,16 +667,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1137,24 +825,6 @@ class NewPlanMatrixPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -1253,16 +923,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1304,16 +964,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1472,24 +1122,6 @@ class NewPlanTieredPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -1579,16 +1211,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1630,16 +1252,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1799,24 +1411,6 @@ class NewPlanTieredBpsPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -1914,16 +1508,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1965,16 +1549,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2155,24 +1729,6 @@ class BpsConfig < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2217,16 +1773,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2268,16 +1814,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2482,24 +2018,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2544,16 +2062,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2595,16 +2103,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2801,24 +2299,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2863,16 +2343,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2914,16 +2384,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3083,24 +2543,6 @@ class NewPlanThresholdTotalAmountPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3145,16 +2587,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3196,16 +2628,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3364,24 +2786,6 @@ class NewPlanTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3426,16 +2830,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3477,16 +2871,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3646,24 +3030,6 @@ class NewPlanTieredWithMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3708,16 +3074,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3759,16 +3115,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3927,24 +3273,6 @@ class NewPlanUnitWithPercentPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3989,16 +3317,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4040,16 +3358,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4209,24 +3517,6 @@ class NewPlanPackageWithAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4271,16 +3561,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4322,16 +3602,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4491,24 +3761,6 @@ class NewPlanTierWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4553,16 +3805,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4604,16 +3846,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4773,24 +4005,6 @@ class NewPlanUnitWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4835,16 +4049,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4886,16 +4090,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5055,24 +4249,6 @@ class NewPlanGroupedAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5117,16 +4293,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5168,16 +4334,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5337,24 +4493,6 @@ class NewPlanGroupedWithProratedMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5399,16 +4537,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5450,16 +4578,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5619,24 +4737,6 @@ class NewPlanGroupedWithMeteredMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5681,16 +4781,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5732,16 +4822,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5901,24 +4981,6 @@ class NewPlanMatrixWithDisplayNamePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5963,16 +5025,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6014,16 +5066,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6183,24 +5225,6 @@ class NewPlanBulkWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6245,16 +5269,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6296,16 +5310,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6465,24 +5469,6 @@ class NewPlanGroupedTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6527,16 +5513,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6578,16 +5554,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6747,24 +5713,6 @@ class NewPlanMaxGroupTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6809,16 +5757,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6860,16 +5798,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7029,24 +5957,6 @@ class NewPlanScalableMatrixWithUnitPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7091,16 +6001,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7142,16 +6042,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7311,24 +6201,6 @@ class NewPlanScalableMatrixWithTieredPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7373,16 +6245,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7424,16 +6286,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7593,24 +6445,6 @@ class NewPlanCumulativeGroupedBulkPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7655,16 +6489,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7706,16 +6530,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7735,16 +6549,6 @@ class DurationUnit < Orb::Enum # # The status of the plan to create (either active or draft). If not specified, # this defaults to active. - # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :draft - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active DRAFT = :draft diff --git a/lib/orb/models/plan_list_params.rb b/lib/orb/models/plan_list_params.rb index 0077743a..2fc28efe 100644 --- a/lib/orb/models/plan_list_params.rb +++ b/lib/orb/models/plan_list_params.rb @@ -83,18 +83,6 @@ class PlanListParams < Orb::BaseModel # @abstract # # The plan status to filter to ('active', 'archived', or 'draft'). - # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :archived - # # ... - # in :draft - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ARCHIVED = :archived diff --git a/lib/orb/models/price.rb b/lib/orb/models/price.rb index 61477b45..76b031ae 100644 --- a/lib/orb/models/price.rb +++ b/lib/orb/models/price.rb @@ -14,270 +14,6 @@ module Models # # For more on the types of prices, see # [the core concepts documentation](/core-concepts#plan-and-price) - # - # @example - # ```ruby - # case price - # in { - # model_type: "unit", - # id: String, - # billable_metric: Orb::Models::Price::UnitPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::UnitPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::UnitPrice ... - # in { - # model_type: "package", - # id: String, - # billable_metric: Orb::Models::Price::PackagePrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::PackagePrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::PackagePrice ... - # in { - # model_type: "matrix", - # id: String, - # billable_metric: Orb::Models::Price::MatrixPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::MatrixPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::MatrixPrice ... - # in { - # model_type: "tiered", - # id: String, - # billable_metric: Orb::Models::Price::TieredPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::TieredPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::TieredPrice ... - # in { - # model_type: "tiered_bps", - # id: String, - # billable_metric: Orb::Models::Price::TieredBpsPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::TieredBpsPrice ... - # in { - # model_type: "bps", - # id: String, - # billable_metric: Orb::Models::Price::BpsPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::BpsPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::BpsPrice ... - # in { - # model_type: "bulk_bps", - # id: String, - # billable_metric: Orb::Models::Price::BulkBpsPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::BulkBpsPrice ... - # in { - # model_type: "bulk", - # id: String, - # billable_metric: Orb::Models::Price::BulkPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::BulkPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::BulkPrice ... - # in { - # model_type: "threshold_total_amount", - # id: String, - # billable_metric: Orb::Models::Price::ThresholdTotalAmountPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::ThresholdTotalAmountPrice ... - # in { - # model_type: "tiered_package", - # id: String, - # billable_metric: Orb::Models::Price::TieredPackagePrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::TieredPackagePrice ... - # in { - # model_type: "grouped_tiered", - # id: String, - # billable_metric: Orb::Models::Price::GroupedTieredPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::GroupedTieredPrice ... - # in { - # model_type: "tiered_with_minimum", - # id: String, - # billable_metric: Orb::Models::Price::TieredWithMinimumPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::TieredWithMinimumPrice ... - # in { - # model_type: "tiered_package_with_minimum", - # id: String, - # billable_metric: Orb::Models::Price::TieredPackageWithMinimumPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::TieredPackageWithMinimumPrice ... - # in { - # model_type: "package_with_allocation", - # id: String, - # billable_metric: Orb::Models::Price::PackageWithAllocationPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::PackageWithAllocationPrice ... - # in { - # model_type: "unit_with_percent", - # id: String, - # billable_metric: Orb::Models::Price::UnitWithPercentPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::UnitWithPercentPrice ... - # in { - # model_type: "matrix_with_allocation", - # id: String, - # billable_metric: Orb::Models::Price::MatrixWithAllocationPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::MatrixWithAllocationPrice ... - # in { - # model_type: "tiered_with_proration", - # id: String, - # billable_metric: Orb::Models::Price::TieredWithProrationPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::TieredWithProrationPrice ... - # in { - # model_type: "unit_with_proration", - # id: String, - # billable_metric: Orb::Models::Price::UnitWithProrationPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::UnitWithProrationPrice ... - # in { - # model_type: "grouped_allocation", - # id: String, - # billable_metric: Orb::Models::Price::GroupedAllocationPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::GroupedAllocationPrice ... - # in { - # model_type: "grouped_with_prorated_minimum", - # id: String, - # billable_metric: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::GroupedWithProratedMinimumPrice ... - # in { - # model_type: "grouped_with_metered_minimum", - # id: String, - # billable_metric: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::GroupedWithMeteredMinimumPrice ... - # in { - # model_type: "matrix_with_display_name", - # id: String, - # billable_metric: Orb::Models::Price::MatrixWithDisplayNamePrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::MatrixWithDisplayNamePrice ... - # in { - # model_type: "bulk_with_proration", - # id: String, - # billable_metric: Orb::Models::Price::BulkWithProrationPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::BulkWithProrationPrice ... - # in { - # model_type: "grouped_tiered_package", - # id: String, - # billable_metric: Orb::Models::Price::GroupedTieredPackagePrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::GroupedTieredPackagePrice ... - # in { - # model_type: "max_group_tiered_package", - # id: String, - # billable_metric: Orb::Models::Price::MaxGroupTieredPackagePrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::MaxGroupTieredPackagePrice ... - # in { - # model_type: "scalable_matrix_with_unit_pricing", - # id: String, - # billable_metric: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::ScalableMatrixWithUnitPricingPrice ... - # in { - # model_type: "scalable_matrix_with_tiered_pricing", - # id: String, - # billable_metric: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::ScalableMatrixWithTieredPricingPrice ... - # in { - # model_type: "cumulative_grouped_bulk", - # id: String, - # billable_metric: Orb::Models::Price::CumulativeGroupedBulkPrice::BillableMetric, - # billing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::BillingCycleConfiguration - # } - # # Orb::Models::Price::CumulativeGroupedBulkPrice ... - # end - # ``` - # - # @example - # ```ruby - # case price - # in Orb::Models::Price::UnitPrice - # # ... - # in Orb::Models::Price::PackagePrice - # # ... - # in Orb::Models::Price::MatrixPrice - # # ... - # in Orb::Models::Price::TieredPrice - # # ... - # in Orb::Models::Price::TieredBpsPrice - # # ... - # in Orb::Models::Price::BpsPrice - # # ... - # in Orb::Models::Price::BulkBpsPrice - # # ... - # in Orb::Models::Price::BulkPrice - # # ... - # in Orb::Models::Price::ThresholdTotalAmountPrice - # # ... - # in Orb::Models::Price::TieredPackagePrice - # # ... - # in Orb::Models::Price::GroupedTieredPrice - # # ... - # in Orb::Models::Price::TieredWithMinimumPrice - # # ... - # in Orb::Models::Price::TieredPackageWithMinimumPrice - # # ... - # in Orb::Models::Price::PackageWithAllocationPrice - # # ... - # in Orb::Models::Price::UnitWithPercentPrice - # # ... - # in Orb::Models::Price::MatrixWithAllocationPrice - # # ... - # in Orb::Models::Price::TieredWithProrationPrice - # # ... - # in Orb::Models::Price::UnitWithProrationPrice - # # ... - # in Orb::Models::Price::GroupedAllocationPrice - # # ... - # in Orb::Models::Price::GroupedWithProratedMinimumPrice - # # ... - # in Orb::Models::Price::GroupedWithMeteredMinimumPrice - # # ... - # in Orb::Models::Price::MatrixWithDisplayNamePrice - # # ... - # in Orb::Models::Price::BulkWithProrationPrice - # # ... - # in Orb::Models::Price::GroupedTieredPackagePrice - # # ... - # in Orb::Models::Price::MaxGroupTieredPackagePrice - # # ... - # in Orb::Models::Price::ScalableMatrixWithUnitPricingPrice - # # ... - # in Orb::Models::Price::ScalableMatrixWithTieredPricingPrice - # # ... - # in Orb::Models::Price::CumulativeGroupedBulkPrice - # # ... - # end - # ``` class Price < Orb::Union discriminator :model_type @@ -561,15 +297,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -585,23 +312,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -660,15 +370,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -750,15 +451,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -1030,15 +722,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1054,23 +737,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -1129,15 +795,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1242,15 +899,6 @@ class PackageConfig < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -1507,15 +1155,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1531,23 +1170,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -1606,15 +1228,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1749,15 +1362,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -2014,15 +1618,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2038,23 +1633,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -2113,15 +1691,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2203,15 +1772,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -2513,15 +2073,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2537,23 +2088,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -2612,15 +2146,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2702,15 +2227,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -3019,15 +2535,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3065,23 +2572,6 @@ class BpsConfig < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -3140,15 +2630,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3230,15 +2711,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -3495,15 +2967,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3564,23 +3027,6 @@ class Tier < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -3639,15 +3085,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3729,15 +3166,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -3994,15 +3422,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4055,23 +3474,6 @@ class Tier < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -4130,15 +3532,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4220,15 +3613,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -4490,15 +3874,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4514,23 +3889,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -4589,15 +3947,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4679,15 +4028,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -4945,15 +4285,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4969,23 +4300,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -5044,15 +4358,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5134,15 +4439,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -5400,15 +4696,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5424,23 +4711,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -5499,15 +4769,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5589,15 +4850,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -5857,15 +5109,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5881,23 +5124,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -5956,15 +5182,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6046,15 +5263,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -6316,15 +5524,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6340,23 +5539,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -6415,15 +5597,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6505,15 +5678,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -6775,15 +5939,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6799,23 +5954,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -6874,15 +6012,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6964,15 +6093,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -7230,15 +6350,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7254,23 +6365,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -7329,15 +6423,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7419,15 +6504,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -7690,15 +6766,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7714,23 +6781,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -7789,15 +6839,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7940,15 +6981,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -8208,15 +7240,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8232,23 +7255,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -8307,15 +7313,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8397,15 +7394,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -8665,15 +7653,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8689,23 +7668,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -8764,15 +7726,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8854,15 +7807,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -9122,15 +8066,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -9146,23 +8081,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -9221,15 +8139,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -9311,15 +8220,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -9581,15 +8481,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -9605,23 +8496,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -9680,15 +8554,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -9770,15 +8635,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -10040,15 +8896,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10064,23 +8911,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -10139,15 +8969,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10229,15 +9050,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -10499,15 +9311,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10523,23 +9326,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -10598,15 +9384,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10688,15 +9465,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -10956,15 +9724,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10980,23 +9739,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -11055,15 +9797,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11145,15 +9878,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -11415,15 +10139,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11439,23 +10154,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -11514,15 +10212,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11604,15 +10293,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -11874,15 +10554,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11898,23 +10569,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -11973,15 +10627,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12063,15 +10708,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -12333,15 +10969,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12357,23 +10984,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -12432,15 +11042,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12522,15 +11123,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -12792,15 +11384,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12816,23 +11399,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -12891,15 +11457,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12981,15 +11538,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price @@ -13251,15 +11799,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13275,23 +11814,6 @@ class DurationUnit < Orb::Enum # @abstract # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -13350,15 +11872,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13440,15 +11953,6 @@ class Minimum < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case price_type - # in :usage_price - # # ... - # in :fixed_price - # # ... - # end - # ``` class PriceType < Orb::Enum USAGE_PRICE = :usage_price FIXED_PRICE = :fixed_price diff --git a/lib/orb/models/price_create_params.rb b/lib/orb/models/price_create_params.rb index 404119dd..aadbda1e 100644 --- a/lib/orb/models/price_create_params.rb +++ b/lib/orb/models/price_create_params.rb @@ -340,24 +340,6 @@ class PriceCreateParams < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -376,13 +358,6 @@ class Cadence < Orb::Enum # @abstract # - # @example - # ```ruby - # case model_type - # in :cumulative_grouped_bulk - # # ... - # end - # ``` class ModelType < Orb::Enum CUMULATIVE_GROUPED_BULK = :cumulative_grouped_bulk @@ -437,16 +412,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -488,16 +453,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month diff --git a/lib/orb/models/subscription.rb b/lib/orb/models/subscription.rb index e7c6ccd8..4f060648 100644 --- a/lib/orb/models/subscription.rb +++ b/lib/orb/models/subscription.rb @@ -307,62 +307,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::Subscription::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::Subscription::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::Subscription::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::Subscription::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::Subscription::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::Subscription::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::Subscription::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::Subscription::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::Subscription::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::Subscription::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -768,44 +712,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::Subscription::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::Subscription::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::Subscription::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::Subscription::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::Subscription::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::Subscription::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1283,17 +1189,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_cancel_params.rb b/lib/orb/models/subscription_cancel_params.rb index 7f7e954a..8b762312 100644 --- a/lib/orb/models/subscription_cancel_params.rb +++ b/lib/orb/models/subscription_cancel_params.rb @@ -41,18 +41,6 @@ class SubscriptionCancelParams < Orb::BaseModel # @abstract # # Determines the timing of subscription cancellation - # - # @example - # ```ruby - # case cancel_option - # in :end_of_subscription_term - # # ... - # in :immediate - # # ... - # in :requested_date - # # ... - # end - # ``` class CancelOption < Orb::Enum END_OF_SUBSCRIPTION_TERM = :end_of_subscription_term IMMEDIATE = :immediate diff --git a/lib/orb/models/subscription_cancel_response.rb b/lib/orb/models/subscription_cancel_response.rb index 1eb2e1ba..b3dc42a8 100644 --- a/lib/orb/models/subscription_cancel_response.rb +++ b/lib/orb/models/subscription_cancel_response.rb @@ -290,62 +290,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -751,44 +695,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionCancelResponse::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionCancelResponse::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionCancelResponse::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::SubscriptionCancelResponse::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::SubscriptionCancelResponse::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::SubscriptionCancelResponse::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1267,17 +1173,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_create_params.rb b/lib/orb/models/subscription_create_params.rb index b47fc505..0ee698bc 100644 --- a/lib/orb/models/subscription_create_params.rb +++ b/lib/orb/models/subscription_create_params.rb @@ -346,63 +346,6 @@ class AddAdjustment < Orb::BaseModel # @abstract # # The definition of a new adjustment to create and add to the subscription. - # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "percentage_discount", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # percentage_discount: Float, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateParams::AddAdjustment::Adjustment::NewPercentageDiscount ... - # in { - # adjustment_type: "usage_discount", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # usage_discount: Float, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateParams::AddAdjustment::Adjustment::NewUsageDiscount ... - # in { - # adjustment_type: "amount_discount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateParams::AddAdjustment::Adjustment::NewAmountDiscount ... - # in { - # adjustment_type: "minimum", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # item_id: String, - # minimum_amount: String - # } - # # Orb::Models::SubscriptionCreateParams::AddAdjustment::Adjustment::NewMinimum ... - # in { - # adjustment_type: "maximum", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # maximum_amount: String, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateParams::AddAdjustment::Adjustment::NewMaximum ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionCreateParams::AddAdjustment::Adjustment::NewPercentageDiscount - # # ... - # in Orb::Models::SubscriptionCreateParams::AddAdjustment::Adjustment::NewUsageDiscount - # # ... - # in Orb::Models::SubscriptionCreateParams::AddAdjustment::Adjustment::NewAmountDiscount - # # ... - # in Orb::Models::SubscriptionCreateParams::AddAdjustment::Adjustment::NewMinimum - # # ... - # in Orb::Models::SubscriptionCreateParams::AddAdjustment::Adjustment::NewMaximum - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -775,24 +718,6 @@ class AllocationPrice < Orb::BaseModel # @abstract # # The cadence at which to allocate the amount to the customer. - # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -849,17 +774,6 @@ class Discount < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :percentage - # # ... - # in :usage - # # ... - # in :amount - # # ... - # end - # ``` class DiscountType < Orb::Enum PERCENTAGE = :percentage USAGE = :usage @@ -877,243 +791,6 @@ class DiscountType < Orb::Enum # @abstract # # The definition of a new price to create and add to the subscription. - # - # @example - # ```ruby - # case price - # in { - # model_type: "unit", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionUnitPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionUnitPrice ... - # in { - # model_type: "package", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionPackagePrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionPackagePrice ... - # in { - # model_type: "matrix", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionMatrixPrice::Cadence, - # item_id: String, - # matrix_config: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionMatrixPrice::MatrixConfig - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionMatrixPrice ... - # in { - # model_type: "tiered", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredPrice ... - # in { - # model_type: "tiered_bps", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredBpsPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredBpsPrice ... - # in { - # model_type: "bps", - # bps_config: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBpsPrice::BpsConfig, - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBpsPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBpsPrice ... - # in { - # model_type: "bulk_bps", - # bulk_bps_config: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkBpsPrice::BulkBpsConfig, - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkBpsPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkBpsPrice ... - # in { - # model_type: "bulk", - # bulk_config: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkPrice::BulkConfig, - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkPrice ... - # in { - # model_type: "threshold_total_amount", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionThresholdTotalAmountPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionThresholdTotalAmountPrice ... - # in { - # model_type: "tiered_package", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredPackagePrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredPackagePrice ... - # in { - # model_type: "tiered_with_minimum", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredWithMinimumPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredWithMinimumPrice ... - # in { - # model_type: "unit_with_percent", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionUnitWithPercentPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionUnitWithPercentPrice ... - # in { - # model_type: "package_with_allocation", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionPackageWithAllocationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionPackageWithAllocationPrice ... - # in { - # model_type: "tiered_with_proration", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTierWithProrationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTierWithProrationPrice ... - # in { - # model_type: "unit_with_proration", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionUnitWithProrationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionUnitWithProrationPrice ... - # in { - # model_type: "grouped_allocation", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedAllocationPrice::Cadence, - # grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedAllocationPrice ... - # in { - # model_type: "grouped_with_prorated_minimum", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice::Cadence, - # grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice ... - # in { - # model_type: "bulk_with_proration", - # bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkWithProrationPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkWithProrationPrice ... - # in { - # model_type: "scalable_matrix_with_unit_pricing", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice ... - # in { - # model_type: "scalable_matrix_with_tiered_pricing", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice ... - # in { - # model_type: "cumulative_grouped_bulk", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionCumulativeGroupedBulkPrice::Cadence, - # cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionCumulativeGroupedBulkPrice ... - # in { - # model_type: "max_group_tiered_package", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionMaxGroupTieredPackagePrice::Cadence, - # item_id: String, - # max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionMaxGroupTieredPackagePrice ... - # in { - # model_type: "grouped_with_metered_minimum", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice::Cadence, - # grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice ... - # in { - # model_type: "matrix_with_display_name", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionMatrixWithDisplayNamePrice::Cadence, - # item_id: String, - # matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionMatrixWithDisplayNamePrice ... - # in { - # model_type: "grouped_tiered_package", - # cadence: Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedTieredPackagePrice::Cadence, - # grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedTieredPackagePrice ... - # end - # ``` - # - # @example - # ```ruby - # case price - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionUnitPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionPackagePrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionMatrixPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredBpsPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBpsPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkBpsPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionThresholdTotalAmountPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTieredWithMinimumPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionUnitWithPercentPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionPackageWithAllocationPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionTierWithProrationPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionUnitWithProrationPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedAllocationPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionBulkWithProrationPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionCumulativeGroupedBulkPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionMaxGroupTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionMatrixWithDisplayNamePrice - # # ... - # in Orb::Models::SubscriptionCreateParams::AddPrice::Price::NewSubscriptionGroupedTieredPackagePrice - # # ... - # end - # ``` class Price < Orb::Union discriminator :model_type @@ -1342,24 +1019,6 @@ class NewSubscriptionUnitPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -1419,16 +1078,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1470,16 +1119,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1649,24 +1288,6 @@ class NewSubscriptionPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -1734,16 +1355,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1785,16 +1396,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1964,24 +1565,6 @@ class NewSubscriptionMatrixPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2084,16 +1667,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2135,16 +1708,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2314,24 +1877,6 @@ class NewSubscriptionTieredPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2421,16 +1966,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2472,16 +2007,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2651,24 +2176,6 @@ class NewSubscriptionTieredBpsPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2770,16 +2277,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2821,16 +2318,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3022,24 +2509,6 @@ class BpsConfig < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3084,16 +2553,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3135,16 +2594,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3360,24 +2809,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3422,16 +2853,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3473,16 +2894,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3690,24 +3101,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3752,16 +3145,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3803,16 +3186,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3981,24 +3354,6 @@ class NewSubscriptionThresholdTotalAmountPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4043,16 +3398,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4094,16 +3439,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4272,24 +3607,6 @@ class NewSubscriptionTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4334,16 +3651,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4385,16 +3692,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4563,24 +3860,6 @@ class NewSubscriptionTieredWithMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4625,16 +3904,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4676,16 +3945,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4854,24 +4113,6 @@ class NewSubscriptionUnitWithPercentPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4916,16 +4157,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4967,16 +4198,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5145,24 +4366,6 @@ class NewSubscriptionPackageWithAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5207,16 +4410,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5258,16 +4451,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5436,24 +4619,6 @@ class NewSubscriptionTierWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5498,16 +4663,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5549,16 +4704,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5727,24 +4872,6 @@ class NewSubscriptionUnitWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5789,16 +4916,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5840,16 +4957,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6018,24 +5125,6 @@ class NewSubscriptionGroupedAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6080,16 +5169,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6131,16 +5210,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6309,24 +5378,6 @@ class NewSubscriptionGroupedWithProratedMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6371,16 +5422,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6422,16 +5463,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6600,24 +5631,6 @@ class NewSubscriptionBulkWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6662,16 +5675,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6713,16 +5716,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6891,24 +5884,6 @@ class NewSubscriptionScalableMatrixWithUnitPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6953,16 +5928,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7004,16 +5969,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7182,24 +6137,6 @@ class NewSubscriptionScalableMatrixWithTieredPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7244,16 +6181,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7295,16 +6222,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7473,24 +6390,6 @@ class NewSubscriptionCumulativeGroupedBulkPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7535,16 +6434,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7586,16 +6475,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7764,24 +6643,6 @@ class NewSubscriptionMaxGroupTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7826,16 +6687,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7877,16 +6728,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8055,24 +6896,6 @@ class NewSubscriptionGroupedWithMeteredMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -8117,16 +6940,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8168,16 +6981,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8346,24 +7149,6 @@ class NewSubscriptionMatrixWithDisplayNamePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -8408,16 +7193,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8459,16 +7234,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8637,24 +7402,6 @@ class NewSubscriptionGroupedTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -8699,16 +7446,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8750,16 +7487,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8815,17 +7542,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # # @deprecated # - # @example - # ```ruby - # case external_marketplace - # in :google - # # ... - # in :aws - # # ... - # in :azure - # # ... - # end - # ``` class ExternalMarketplace < Orb::Enum GOOGLE = :google AWS = :aws @@ -8900,63 +7616,6 @@ class ReplaceAdjustment < Orb::BaseModel # @abstract # # The definition of a new adjustment to create and add to the subscription. - # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "percentage_discount", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # percentage_discount: Float, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::NewPercentageDiscount ... - # in { - # adjustment_type: "usage_discount", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # usage_discount: Float, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::NewUsageDiscount ... - # in { - # adjustment_type: "amount_discount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::NewAmountDiscount ... - # in { - # adjustment_type: "minimum", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # item_id: String, - # minimum_amount: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::NewMinimum ... - # in { - # adjustment_type: "maximum", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # maximum_amount: String, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::NewMaximum ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::NewPercentageDiscount - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::NewUsageDiscount - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::NewAmountDiscount - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::NewMinimum - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::NewMaximum - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -9318,24 +7977,6 @@ class AllocationPrice < Orb::BaseModel # @abstract # # The cadence at which to allocate the amount to the customer. - # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -9392,17 +8033,6 @@ class Discount < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :percentage - # # ... - # in :usage - # # ... - # in :amount - # # ... - # end - # ``` class DiscountType < Orb::Enum PERCENTAGE = :percentage USAGE = :usage @@ -9420,243 +8050,6 @@ class DiscountType < Orb::Enum # @abstract # # The definition of a new price to create and add to the subscription. - # - # @example - # ```ruby - # case price - # in { - # model_type: "unit", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionUnitPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionUnitPrice ... - # in { - # model_type: "package", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionPackagePrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionPackagePrice ... - # in { - # model_type: "matrix", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionMatrixPrice::Cadence, - # item_id: String, - # matrix_config: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionMatrixPrice::MatrixConfig - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionMatrixPrice ... - # in { - # model_type: "tiered", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredPrice ... - # in { - # model_type: "tiered_bps", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredBpsPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredBpsPrice ... - # in { - # model_type: "bps", - # bps_config: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBpsPrice::BpsConfig, - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBpsPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBpsPrice ... - # in { - # model_type: "bulk_bps", - # bulk_bps_config: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkBpsPrice::BulkBpsConfig, - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkBpsPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkBpsPrice ... - # in { - # model_type: "bulk", - # bulk_config: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkPrice::BulkConfig, - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkPrice ... - # in { - # model_type: "threshold_total_amount", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionThresholdTotalAmountPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionThresholdTotalAmountPrice ... - # in { - # model_type: "tiered_package", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredPackagePrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredPackagePrice ... - # in { - # model_type: "tiered_with_minimum", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredWithMinimumPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredWithMinimumPrice ... - # in { - # model_type: "unit_with_percent", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionUnitWithPercentPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionUnitWithPercentPrice ... - # in { - # model_type: "package_with_allocation", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionPackageWithAllocationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionPackageWithAllocationPrice ... - # in { - # model_type: "tiered_with_proration", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTierWithProrationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTierWithProrationPrice ... - # in { - # model_type: "unit_with_proration", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionUnitWithProrationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionUnitWithProrationPrice ... - # in { - # model_type: "grouped_allocation", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedAllocationPrice::Cadence, - # grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedAllocationPrice ... - # in { - # model_type: "grouped_with_prorated_minimum", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice::Cadence, - # grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice ... - # in { - # model_type: "bulk_with_proration", - # bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkWithProrationPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkWithProrationPrice ... - # in { - # model_type: "scalable_matrix_with_unit_pricing", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice ... - # in { - # model_type: "scalable_matrix_with_tiered_pricing", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice ... - # in { - # model_type: "cumulative_grouped_bulk", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionCumulativeGroupedBulkPrice::Cadence, - # cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionCumulativeGroupedBulkPrice ... - # in { - # model_type: "max_group_tiered_package", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionMaxGroupTieredPackagePrice::Cadence, - # item_id: String, - # max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionMaxGroupTieredPackagePrice ... - # in { - # model_type: "grouped_with_metered_minimum", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice::Cadence, - # grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice ... - # in { - # model_type: "matrix_with_display_name", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionMatrixWithDisplayNamePrice::Cadence, - # item_id: String, - # matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionMatrixWithDisplayNamePrice ... - # in { - # model_type: "grouped_tiered_package", - # cadence: Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedTieredPackagePrice::Cadence, - # grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedTieredPackagePrice ... - # end - # ``` - # - # @example - # ```ruby - # case price - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionUnitPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionPackagePrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionMatrixPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredBpsPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBpsPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkBpsPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionThresholdTotalAmountPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTieredWithMinimumPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionUnitWithPercentPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionPackageWithAllocationPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionTierWithProrationPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionUnitWithProrationPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedAllocationPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionBulkWithProrationPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionCumulativeGroupedBulkPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionMaxGroupTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionMatrixWithDisplayNamePrice - # # ... - # in Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::NewSubscriptionGroupedTieredPackagePrice - # # ... - # end - # ``` class Price < Orb::Union discriminator :model_type @@ -9887,24 +8280,6 @@ class NewSubscriptionUnitPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -9964,16 +8339,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10015,16 +8380,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10194,24 +8549,6 @@ class NewSubscriptionPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -10279,16 +8616,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10330,16 +8657,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10509,24 +8826,6 @@ class NewSubscriptionMatrixPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -10629,16 +8928,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10680,16 +8969,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10859,24 +9138,6 @@ class NewSubscriptionTieredPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -10966,16 +9227,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11017,16 +9268,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11196,24 +9437,6 @@ class NewSubscriptionTieredBpsPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -11315,16 +9538,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11366,16 +9579,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11567,24 +9770,6 @@ class BpsConfig < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -11629,16 +9814,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11680,16 +9855,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11909,24 +10074,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -11971,16 +10118,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12022,16 +10159,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12239,24 +10366,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -12301,16 +10410,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12352,16 +10451,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12530,24 +10619,6 @@ class NewSubscriptionThresholdTotalAmountPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -12592,16 +10663,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12643,16 +10704,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12821,24 +10872,6 @@ class NewSubscriptionTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -12883,16 +10916,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12934,16 +10957,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13112,24 +11125,6 @@ class NewSubscriptionTieredWithMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -13174,16 +11169,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13225,16 +11210,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13403,24 +11378,6 @@ class NewSubscriptionUnitWithPercentPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -13465,16 +11422,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13516,16 +11463,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13694,24 +11631,6 @@ class NewSubscriptionPackageWithAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -13756,16 +11675,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13807,16 +11716,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13985,24 +11884,6 @@ class NewSubscriptionTierWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -14047,16 +11928,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14098,16 +11969,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14276,24 +12137,6 @@ class NewSubscriptionUnitWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -14338,16 +12181,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14389,16 +12222,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14567,24 +12390,6 @@ class NewSubscriptionGroupedAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -14629,16 +12434,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14680,16 +12475,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14858,24 +12643,6 @@ class NewSubscriptionGroupedWithProratedMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -14920,16 +12687,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14971,16 +12728,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15149,24 +12896,6 @@ class NewSubscriptionBulkWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -15211,16 +12940,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15262,16 +12981,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15440,24 +13149,6 @@ class NewSubscriptionScalableMatrixWithUnitPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -15502,16 +13193,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15553,16 +13234,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15731,24 +13402,6 @@ class NewSubscriptionScalableMatrixWithTieredPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -15793,16 +13446,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15844,16 +13487,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16022,24 +13655,6 @@ class NewSubscriptionCumulativeGroupedBulkPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -16084,16 +13699,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16135,16 +13740,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16313,24 +13908,6 @@ class NewSubscriptionMaxGroupTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -16375,16 +13952,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16426,16 +13993,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16604,24 +14161,6 @@ class NewSubscriptionGroupedWithMeteredMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -16666,16 +14205,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16717,16 +14246,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16895,24 +14414,6 @@ class NewSubscriptionMatrixWithDisplayNamePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -16957,16 +14458,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -17008,16 +14499,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -17186,24 +14667,6 @@ class NewSubscriptionGroupedTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -17248,16 +14711,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -17299,16 +14752,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month diff --git a/lib/orb/models/subscription_create_response.rb b/lib/orb/models/subscription_create_response.rb index 54371910..3665f31f 100644 --- a/lib/orb/models/subscription_create_response.rb +++ b/lib/orb/models/subscription_create_response.rb @@ -290,62 +290,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -751,44 +695,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionCreateResponse::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionCreateResponse::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionCreateResponse::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::SubscriptionCreateResponse::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::SubscriptionCreateResponse::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::SubscriptionCreateResponse::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1267,17 +1173,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_fetch_costs_params.rb b/lib/orb/models/subscription_fetch_costs_params.rb index 91b8853e..7be1d9e6 100644 --- a/lib/orb/models/subscription_fetch_costs_params.rb +++ b/lib/orb/models/subscription_fetch_costs_params.rb @@ -51,16 +51,6 @@ class SubscriptionFetchCostsParams < Orb::BaseModel # period, or incremental day-by-day costs. If your customer has minimums or # discounts, it's strongly recommended that you use the default cumulative # behavior. - # - # @example - # ```ruby - # case view_mode - # in :periodic - # # ... - # in :cumulative - # # ... - # end - # ``` class ViewMode < Orb::Enum PERIODIC = :periodic CUMULATIVE = :cumulative diff --git a/lib/orb/models/subscription_fetch_usage_params.rb b/lib/orb/models/subscription_fetch_usage_params.rb index 61b7f339..982ed929 100644 --- a/lib/orb/models/subscription_fetch_usage_params.rb +++ b/lib/orb/models/subscription_fetch_usage_params.rb @@ -103,14 +103,6 @@ class SubscriptionFetchUsageParams < Orb::BaseModel # @abstract # # This determines the windowing of usage reporting. - # - # @example - # ```ruby - # case granularity - # in :day - # # ... - # end - # ``` class Granularity < Orb::Enum DAY = :day @@ -128,16 +120,6 @@ class Granularity < Orb::Enum # period, or incremental day-by-day usage. If your customer has minimums or # discounts, it's strongly recommended that you use the default cumulative # behavior. - # - # @example - # ```ruby - # case view_mode - # in :periodic - # # ... - # in :cumulative - # # ... - # end - # ``` class ViewMode < Orb::Enum PERIODIC = :periodic CUMULATIVE = :cumulative diff --git a/lib/orb/models/subscription_list_params.rb b/lib/orb/models/subscription_list_params.rb index a91c4a23..f534f31b 100644 --- a/lib/orb/models/subscription_list_params.rb +++ b/lib/orb/models/subscription_list_params.rb @@ -91,17 +91,6 @@ class SubscriptionListParams < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_price_intervals_params.rb b/lib/orb/models/subscription_price_intervals_params.rb index 60b7d7f8..051a58f4 100644 --- a/lib/orb/models/subscription_price_intervals_params.rb +++ b/lib/orb/models/subscription_price_intervals_params.rb @@ -208,16 +208,6 @@ class Add < Orb::BaseModel # # The start date of the price interval. This is the date that the price will start # billing on the subscription. - # - # @example - # ```ruby - # case start_date - # in Time - # # ... - # in Orb::Models::BillingCycleRelativeDate - # # ... - # end - # ``` class StartDate < Orb::Union variant Time @@ -267,24 +257,6 @@ class AllocationPrice < Orb::BaseModel # @abstract # # The cadence at which to allocate the amount to the customer. - # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -304,29 +276,6 @@ class Cadence < Orb::Enum # @abstract # - # @example - # ```ruby - # case discount - # in {discount_type: "amount", amount_discount: Float} - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::AmountDiscountCreationParams ... - # in {discount_type: "percentage", percentage_discount: Float} - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::PercentageDiscountCreationParams ... - # in {discount_type: "usage", usage_discount: Float} - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::UsageDiscountCreationParams ... - # end - # ``` - # - # @example - # ```ruby - # case discount - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::AmountDiscountCreationParams - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::PercentageDiscountCreationParams - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::UsageDiscountCreationParams - # # ... - # end - # ``` class Discount < Orb::Union discriminator :discount_type @@ -409,16 +358,6 @@ class UsageDiscountCreationParams < Orb::BaseModel # # The end date of the price interval. This is the date that the price will stop # billing on the subscription. - # - # @example - # ```ruby - # case end_date - # in Time - # # ... - # in Orb::Models::BillingCycleRelativeDate - # # ... - # end - # ``` class EndDate < Orb::Union variant Time @@ -450,270 +389,6 @@ class FixedFeeQuantityTransition < Orb::BaseModel # @abstract # # The definition of a new price to create and add to the subscription. - # - # @example - # ```ruby - # case price - # in { - # model_type: "unit", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice ... - # in { - # model_type: "package", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice ... - # in { - # model_type: "matrix", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice ... - # in { - # model_type: "matrix_with_allocation", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice ... - # in { - # model_type: "tiered", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice ... - # in { - # model_type: "tiered_bps", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice ... - # in { - # model_type: "bps", - # bps_config: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::BpsConfig, - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::Cadence, - # currency: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice ... - # in { - # model_type: "bulk_bps", - # bulk_bps_config: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig, - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::Cadence, - # currency: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice ... - # in { - # model_type: "bulk", - # bulk_config: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig, - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::Cadence, - # currency: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice ... - # in { - # model_type: "threshold_total_amount", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice ... - # in { - # model_type: "tiered_package", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice ... - # in { - # model_type: "grouped_tiered", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice::Cadence, - # currency: String, - # grouped_tiered_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice ... - # in { - # model_type: "max_group_tiered_package", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice ... - # in { - # model_type: "tiered_with_minimum", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice ... - # in { - # model_type: "package_with_allocation", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice ... - # in { - # model_type: "tiered_package_with_minimum", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice ... - # in { - # model_type: "unit_with_percent", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice ... - # in { - # model_type: "tiered_with_proration", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice ... - # in { - # model_type: "unit_with_proration", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice ... - # in { - # model_type: "grouped_allocation", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice::Cadence, - # currency: String, - # grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice ... - # in { - # model_type: "grouped_with_prorated_minimum", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice::Cadence, - # currency: String, - # grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice ... - # in { - # model_type: "grouped_with_metered_minimum", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice::Cadence, - # currency: String, - # grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice ... - # in { - # model_type: "matrix_with_display_name", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice ... - # in { - # model_type: "bulk_with_proration", - # bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice::Cadence, - # currency: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice ... - # in { - # model_type: "grouped_tiered_package", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice::Cadence, - # currency: String, - # grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice ... - # in { - # model_type: "scalable_matrix_with_unit_pricing", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice ... - # in { - # model_type: "scalable_matrix_with_tiered_pricing", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice::Cadence, - # currency: String, - # item_id: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice ... - # in { - # model_type: "cumulative_grouped_bulk", - # cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice::Cadence, - # cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), - # currency: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice ... - # end - # ``` - # - # @example - # ```ruby - # case price - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice - # # ... - # end - # ``` class Price < Orb::Union discriminator :model_type @@ -941,24 +616,6 @@ class NewFloatingUnitPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -1018,16 +675,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1069,16 +716,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1238,24 +875,6 @@ class NewFloatingPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -1323,16 +942,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1374,16 +983,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1543,24 +1142,6 @@ class NewFloatingMatrixPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -1663,16 +1244,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1714,16 +1285,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1883,24 +1444,6 @@ class NewFloatingMatrixWithAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2010,16 +1553,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2061,16 +1594,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2230,24 +1753,6 @@ class NewFloatingTieredPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2337,16 +1842,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2388,16 +1883,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2557,24 +2042,6 @@ class NewFloatingTieredBpsPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2676,16 +2143,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2727,16 +2184,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2918,24 +2365,6 @@ class BpsConfig < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2980,16 +2409,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3031,16 +2450,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3246,24 +2655,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3308,16 +2699,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3359,16 +2740,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3566,24 +2937,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3628,16 +2981,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3679,16 +3022,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3847,24 +3180,6 @@ class NewFloatingThresholdTotalAmountPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3909,16 +3224,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3960,16 +3265,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4128,24 +3423,6 @@ class NewFloatingTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4190,16 +3467,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4241,16 +3508,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4409,24 +3666,6 @@ class NewFloatingGroupedTieredPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4471,16 +3710,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4522,16 +3751,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4690,24 +3909,6 @@ class NewFloatingMaxGroupTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4752,16 +3953,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4803,16 +3994,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4971,24 +4152,6 @@ class NewFloatingTieredWithMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5033,16 +4196,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5084,16 +4237,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5252,24 +4395,6 @@ class NewFloatingPackageWithAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5314,16 +4439,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5365,16 +4480,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5533,24 +4638,6 @@ class NewFloatingTieredPackageWithMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5595,16 +4682,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5646,16 +4723,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5814,24 +4881,6 @@ class NewFloatingUnitWithPercentPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5876,16 +4925,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5927,16 +4966,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6095,24 +5124,6 @@ class NewFloatingTieredWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6157,16 +5168,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6208,16 +5209,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6376,24 +5367,6 @@ class NewFloatingUnitWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6438,16 +5411,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6489,16 +5452,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6657,24 +5610,6 @@ class NewFloatingGroupedAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6719,16 +5654,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6770,16 +5695,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6938,24 +5853,6 @@ class NewFloatingGroupedWithProratedMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7000,16 +5897,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7051,16 +5938,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7219,24 +6096,6 @@ class NewFloatingGroupedWithMeteredMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7281,16 +6140,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7332,16 +6181,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7500,24 +6339,6 @@ class NewFloatingMatrixWithDisplayNamePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7562,16 +6383,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7613,16 +6424,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7781,24 +6582,6 @@ class NewFloatingBulkWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7843,16 +6626,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7894,16 +6667,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8062,24 +6825,6 @@ class NewFloatingGroupedTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -8124,16 +6869,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8175,16 +6910,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8343,24 +7068,6 @@ class NewFloatingScalableMatrixWithUnitPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -8405,16 +7112,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8456,16 +7153,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8624,24 +7311,6 @@ class NewFloatingScalableMatrixWithTieredPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -8686,16 +7355,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8737,16 +7396,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8905,24 +7554,6 @@ class NewFloatingCumulativeGroupedBulkPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -8967,16 +7598,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -9018,16 +7639,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -9081,63 +7692,6 @@ class AddAdjustment < Orb::BaseModel # @abstract # # The definition of a new adjustment to create and add to the subscription. - # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "percentage_discount", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # percentage_discount: Float, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewPercentageDiscount ... - # in { - # adjustment_type: "usage_discount", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # usage_discount: Float, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewUsageDiscount ... - # in { - # adjustment_type: "amount_discount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewAmountDiscount ... - # in { - # adjustment_type: "minimum", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # item_id: String, - # minimum_amount: String - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewMinimum ... - # in { - # adjustment_type: "maximum", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # maximum_amount: String, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewMaximum ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewPercentageDiscount - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewUsageDiscount - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewAmountDiscount - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewMinimum - # # ... - # in Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewMaximum - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -9371,16 +7925,6 @@ class NewMaximum < Orb::BaseModel # # The start date of the adjustment interval. This is the date that the adjustment # will start affecting prices on the subscription. - # - # @example - # ```ruby - # case start_date - # in Time - # # ... - # in Orb::Models::BillingCycleRelativeDate - # # ... - # end - # ``` class StartDate < Orb::Union variant Time @@ -9391,16 +7935,6 @@ class StartDate < Orb::Union # # The end date of the adjustment interval. This is the date that the adjustment # will stop affecting prices on the subscription. - # - # @example - # ```ruby - # case end_date - # in Time - # # ... - # in Orb::Models::BillingCycleRelativeDate - # # ... - # end - # ``` class EndDate < Orb::Union variant Time @@ -9499,16 +8033,6 @@ class Edit < Orb::BaseModel # # The updated end date of this price interval. If not specified, the start date # will not be updated. - # - # @example - # ```ruby - # case end_date - # in Time - # # ... - # in Orb::Models::BillingCycleRelativeDate - # # ... - # end - # ``` class EndDate < Orb::Union variant Time @@ -9541,16 +8065,6 @@ class FixedFeeQuantityTransition < Orb::BaseModel # # The updated start date of this price interval. If not specified, the start date # will not be updated. - # - # @example - # ```ruby - # case start_date - # in Time - # # ... - # in Orb::Models::BillingCycleRelativeDate - # # ... - # end - # ``` class StartDate < Orb::Union variant Time @@ -9599,16 +8113,6 @@ class EditAdjustment < Orb::BaseModel # # The updated end date of this adjustment interval. If not specified, the start # date will not be updated. - # - # @example - # ```ruby - # case end_date - # in Time - # # ... - # in Orb::Models::BillingCycleRelativeDate - # # ... - # end - # ``` class EndDate < Orb::Union variant Time @@ -9619,16 +8123,6 @@ class EndDate < Orb::Union # # The updated start date of this adjustment interval. If not specified, the start # date will not be updated. - # - # @example - # ```ruby - # case start_date - # in Time - # # ... - # in Orb::Models::BillingCycleRelativeDate - # # ... - # end - # ``` class StartDate < Orb::Union variant Time diff --git a/lib/orb/models/subscription_price_intervals_response.rb b/lib/orb/models/subscription_price_intervals_response.rb index e0a1383e..65fb330a 100644 --- a/lib/orb/models/subscription_price_intervals_response.rb +++ b/lib/orb/models/subscription_price_intervals_response.rb @@ -295,62 +295,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -756,44 +700,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1274,17 +1180,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_schedule_plan_change_params.rb b/lib/orb/models/subscription_schedule_plan_change_params.rb index 3d6faa07..24f98439 100644 --- a/lib/orb/models/subscription_schedule_plan_change_params.rb +++ b/lib/orb/models/subscription_schedule_plan_change_params.rb @@ -275,17 +275,6 @@ class SubscriptionSchedulePlanChangeParams < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case change_option - # in :requested_date - # # ... - # in :end_of_subscription_term - # # ... - # in :immediate - # # ... - # end - # ``` class ChangeOption < Orb::Enum REQUESTED_DATE = :requested_date END_OF_SUBSCRIPTION_TERM = :end_of_subscription_term @@ -341,63 +330,6 @@ class AddAdjustment < Orb::BaseModel # @abstract # # The definition of a new adjustment to create and add to the subscription. - # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "percentage_discount", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # percentage_discount: Float, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::NewPercentageDiscount ... - # in { - # adjustment_type: "usage_discount", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # usage_discount: Float, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::NewUsageDiscount ... - # in { - # adjustment_type: "amount_discount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::NewAmountDiscount ... - # in { - # adjustment_type: "minimum", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # item_id: String, - # minimum_amount: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::NewMinimum ... - # in { - # adjustment_type: "maximum", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # maximum_amount: String, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::NewMaximum ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::NewPercentageDiscount - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::NewUsageDiscount - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::NewAmountDiscount - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::NewMinimum - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::NewMaximum - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -775,24 +707,6 @@ class AllocationPrice < Orb::BaseModel # @abstract # # The cadence at which to allocate the amount to the customer. - # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -849,17 +763,6 @@ class Discount < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :percentage - # # ... - # in :usage - # # ... - # in :amount - # # ... - # end - # ``` class DiscountType < Orb::Enum PERCENTAGE = :percentage USAGE = :usage @@ -877,243 +780,6 @@ class DiscountType < Orb::Enum # @abstract # # The definition of a new price to create and add to the subscription. - # - # @example - # ```ruby - # case price - # in { - # model_type: "unit", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionUnitPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionUnitPrice ... - # in { - # model_type: "package", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionPackagePrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionPackagePrice ... - # in { - # model_type: "matrix", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionMatrixPrice::Cadence, - # item_id: String, - # matrix_config: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionMatrixPrice::MatrixConfig - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionMatrixPrice ... - # in { - # model_type: "tiered", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredPrice ... - # in { - # model_type: "tiered_bps", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredBpsPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredBpsPrice ... - # in { - # model_type: "bps", - # bps_config: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBpsPrice::BpsConfig, - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBpsPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBpsPrice ... - # in { - # model_type: "bulk_bps", - # bulk_bps_config: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkBpsPrice::BulkBpsConfig, - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkBpsPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkBpsPrice ... - # in { - # model_type: "bulk", - # bulk_config: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkPrice::BulkConfig, - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkPrice ... - # in { - # model_type: "threshold_total_amount", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionThresholdTotalAmountPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionThresholdTotalAmountPrice ... - # in { - # model_type: "tiered_package", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredPackagePrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredPackagePrice ... - # in { - # model_type: "tiered_with_minimum", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredWithMinimumPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredWithMinimumPrice ... - # in { - # model_type: "unit_with_percent", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionUnitWithPercentPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionUnitWithPercentPrice ... - # in { - # model_type: "package_with_allocation", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionPackageWithAllocationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionPackageWithAllocationPrice ... - # in { - # model_type: "tiered_with_proration", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTierWithProrationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTierWithProrationPrice ... - # in { - # model_type: "unit_with_proration", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionUnitWithProrationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionUnitWithProrationPrice ... - # in { - # model_type: "grouped_allocation", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedAllocationPrice::Cadence, - # grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedAllocationPrice ... - # in { - # model_type: "grouped_with_prorated_minimum", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice::Cadence, - # grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice ... - # in { - # model_type: "bulk_with_proration", - # bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkWithProrationPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkWithProrationPrice ... - # in { - # model_type: "scalable_matrix_with_unit_pricing", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice ... - # in { - # model_type: "scalable_matrix_with_tiered_pricing", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice ... - # in { - # model_type: "cumulative_grouped_bulk", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionCumulativeGroupedBulkPrice::Cadence, - # cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionCumulativeGroupedBulkPrice ... - # in { - # model_type: "max_group_tiered_package", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionMaxGroupTieredPackagePrice::Cadence, - # item_id: String, - # max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionMaxGroupTieredPackagePrice ... - # in { - # model_type: "grouped_with_metered_minimum", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice::Cadence, - # grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice ... - # in { - # model_type: "matrix_with_display_name", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionMatrixWithDisplayNamePrice::Cadence, - # item_id: String, - # matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionMatrixWithDisplayNamePrice ... - # in { - # model_type: "grouped_tiered_package", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedTieredPackagePrice::Cadence, - # grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedTieredPackagePrice ... - # end - # ``` - # - # @example - # ```ruby - # case price - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionUnitPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionPackagePrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionMatrixPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredBpsPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBpsPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkBpsPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionThresholdTotalAmountPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTieredWithMinimumPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionUnitWithPercentPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionPackageWithAllocationPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionTierWithProrationPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionUnitWithProrationPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedAllocationPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionBulkWithProrationPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionCumulativeGroupedBulkPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionMaxGroupTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionMatrixWithDisplayNamePrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::AddPrice::Price::NewSubscriptionGroupedTieredPackagePrice - # # ... - # end - # ``` class Price < Orb::Union discriminator :model_type @@ -1347,24 +1013,6 @@ class NewSubscriptionUnitPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -1424,16 +1072,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1475,16 +1113,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1654,24 +1282,6 @@ class NewSubscriptionPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -1739,16 +1349,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1790,16 +1390,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -1969,24 +1559,6 @@ class NewSubscriptionMatrixPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2089,16 +1661,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2140,16 +1702,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2319,24 +1871,6 @@ class NewSubscriptionTieredPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2430,16 +1964,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2481,16 +2005,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2660,24 +2174,6 @@ class NewSubscriptionTieredBpsPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -2779,16 +2275,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -2830,16 +2316,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3031,24 +2507,6 @@ class BpsConfig < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3093,16 +2551,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3144,16 +2592,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3373,24 +2811,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3435,16 +2855,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3486,16 +2896,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3707,24 +3107,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -3769,16 +3151,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3820,16 +3192,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -3998,24 +3360,6 @@ class NewSubscriptionThresholdTotalAmountPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4060,16 +3404,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4111,16 +3445,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4289,24 +3613,6 @@ class NewSubscriptionTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4351,16 +3657,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4402,16 +3698,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4580,24 +3866,6 @@ class NewSubscriptionTieredWithMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4642,16 +3910,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4693,16 +3951,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4871,24 +4119,6 @@ class NewSubscriptionUnitWithPercentPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -4933,16 +4163,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -4984,16 +4204,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5162,24 +4372,6 @@ class NewSubscriptionPackageWithAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5224,16 +4416,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5275,16 +4457,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5453,24 +4625,6 @@ class NewSubscriptionTierWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5515,16 +4669,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5566,16 +4710,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5744,24 +4878,6 @@ class NewSubscriptionUnitWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -5806,16 +4922,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -5857,16 +4963,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6035,24 +5131,6 @@ class NewSubscriptionGroupedAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6097,16 +5175,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6148,16 +5216,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6326,24 +5384,6 @@ class NewSubscriptionGroupedWithProratedMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6388,16 +5428,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6439,16 +5469,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6617,24 +5637,6 @@ class NewSubscriptionBulkWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6679,16 +5681,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6730,16 +5722,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -6908,24 +5890,6 @@ class NewSubscriptionScalableMatrixWithUnitPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -6970,16 +5934,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7021,16 +5975,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7199,24 +6143,6 @@ class NewSubscriptionScalableMatrixWithTieredPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7261,16 +6187,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7312,16 +6228,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7490,24 +6396,6 @@ class NewSubscriptionCumulativeGroupedBulkPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7552,16 +6440,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7603,16 +6481,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7781,24 +6649,6 @@ class NewSubscriptionMaxGroupTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -7843,16 +6693,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -7894,16 +6734,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8072,24 +6902,6 @@ class NewSubscriptionGroupedWithMeteredMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -8134,16 +6946,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8185,16 +6987,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8363,24 +7155,6 @@ class NewSubscriptionMatrixWithDisplayNamePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -8425,16 +7199,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8476,16 +7240,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8654,24 +7408,6 @@ class NewSubscriptionGroupedTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -8716,16 +7452,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8767,16 +7493,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -8798,18 +7514,6 @@ class DurationUnit < Orb::Enum # Reset billing periods to be aligned with the plan change's effective date or # start of the month. Defaults to `unchanged` which keeps subscription's existing # billing cycle alignment. - # - # @example - # ```ruby - # case billing_cycle_alignment - # in :unchanged - # # ... - # in :plan_change_date - # # ... - # in :start_of_month - # # ... - # end - # ``` class BillingCycleAlignment < Orb::Enum UNCHANGED = :unchanged PLAN_CHANGE_DATE = :plan_change_date @@ -8920,63 +7624,6 @@ class ReplaceAdjustment < Orb::BaseModel # @abstract # # The definition of a new adjustment to create and add to the subscription. - # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "percentage_discount", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # percentage_discount: Float, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::NewPercentageDiscount ... - # in { - # adjustment_type: "usage_discount", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # usage_discount: Float, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::NewUsageDiscount ... - # in { - # adjustment_type: "amount_discount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::NewAmountDiscount ... - # in { - # adjustment_type: "minimum", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # item_id: String, - # minimum_amount: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::NewMinimum ... - # in { - # adjustment_type: "maximum", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # maximum_amount: String, - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::NewMaximum ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::NewPercentageDiscount - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::NewUsageDiscount - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::NewAmountDiscount - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::NewMinimum - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::NewMaximum - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -9342,24 +7989,6 @@ class AllocationPrice < Orb::BaseModel # @abstract # # The cadence at which to allocate the amount to the customer. - # - # @example - # ```ruby - # case cadence - # in :one_time - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :semi_annual - # # ... - # in :annual - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ONE_TIME = :one_time MONTHLY = :monthly @@ -9416,17 +8045,6 @@ class Discount < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :percentage - # # ... - # in :usage - # # ... - # in :amount - # # ... - # end - # ``` class DiscountType < Orb::Enum PERCENTAGE = :percentage USAGE = :usage @@ -9444,243 +8062,6 @@ class DiscountType < Orb::Enum # @abstract # # The definition of a new price to create and add to the subscription. - # - # @example - # ```ruby - # case price - # in { - # model_type: "unit", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionUnitPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionUnitPrice ... - # in { - # model_type: "package", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionPackagePrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionPackagePrice ... - # in { - # model_type: "matrix", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionMatrixPrice::Cadence, - # item_id: String, - # matrix_config: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionMatrixPrice::MatrixConfig - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionMatrixPrice ... - # in { - # model_type: "tiered", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredPrice ... - # in { - # model_type: "tiered_bps", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredBpsPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredBpsPrice ... - # in { - # model_type: "bps", - # bps_config: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBpsPrice::BpsConfig, - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBpsPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBpsPrice ... - # in { - # model_type: "bulk_bps", - # bulk_bps_config: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkBpsPrice::BulkBpsConfig, - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkBpsPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkBpsPrice ... - # in { - # model_type: "bulk", - # bulk_config: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkPrice::BulkConfig, - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkPrice ... - # in { - # model_type: "threshold_total_amount", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionThresholdTotalAmountPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionThresholdTotalAmountPrice ... - # in { - # model_type: "tiered_package", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredPackagePrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredPackagePrice ... - # in { - # model_type: "tiered_with_minimum", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredWithMinimumPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredWithMinimumPrice ... - # in { - # model_type: "unit_with_percent", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionUnitWithPercentPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionUnitWithPercentPrice ... - # in { - # model_type: "package_with_allocation", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionPackageWithAllocationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionPackageWithAllocationPrice ... - # in { - # model_type: "tiered_with_proration", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTierWithProrationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTierWithProrationPrice ... - # in { - # model_type: "unit_with_proration", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionUnitWithProrationPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionUnitWithProrationPrice ... - # in { - # model_type: "grouped_allocation", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedAllocationPrice::Cadence, - # grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedAllocationPrice ... - # in { - # model_type: "grouped_with_prorated_minimum", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice::Cadence, - # grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice ... - # in { - # model_type: "bulk_with_proration", - # bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkWithProrationPrice::Cadence, - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkWithProrationPrice ... - # in { - # model_type: "scalable_matrix_with_unit_pricing", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice ... - # in { - # model_type: "scalable_matrix_with_tiered_pricing", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice::Cadence, - # item_id: String, - # name: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice ... - # in { - # model_type: "cumulative_grouped_bulk", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionCumulativeGroupedBulkPrice::Cadence, - # cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionCumulativeGroupedBulkPrice ... - # in { - # model_type: "max_group_tiered_package", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionMaxGroupTieredPackagePrice::Cadence, - # item_id: String, - # max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionMaxGroupTieredPackagePrice ... - # in { - # model_type: "grouped_with_metered_minimum", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice::Cadence, - # grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice ... - # in { - # model_type: "matrix_with_display_name", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionMatrixWithDisplayNamePrice::Cadence, - # item_id: String, - # matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]) - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionMatrixWithDisplayNamePrice ... - # in { - # model_type: "grouped_tiered_package", - # cadence: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedTieredPackagePrice::Cadence, - # grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), - # item_id: String - # } - # # Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedTieredPackagePrice ... - # end - # ``` - # - # @example - # ```ruby - # case price - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionUnitPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionPackagePrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionMatrixPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredBpsPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBpsPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkBpsPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionThresholdTotalAmountPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTieredWithMinimumPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionUnitWithPercentPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionPackageWithAllocationPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionTierWithProrationPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionUnitWithProrationPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedAllocationPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedWithProratedMinimumPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionBulkWithProrationPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithUnitPricingPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionScalableMatrixWithTieredPricingPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionCumulativeGroupedBulkPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionMaxGroupTieredPackagePrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedWithMeteredMinimumPrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionMatrixWithDisplayNamePrice - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::NewSubscriptionGroupedTieredPackagePrice - # # ... - # end - # ``` class Price < Orb::Union discriminator :model_type @@ -9914,24 +8295,6 @@ class NewSubscriptionUnitPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -9991,16 +8354,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10042,16 +8395,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10221,24 +8564,6 @@ class NewSubscriptionPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -10306,16 +8631,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10357,16 +8672,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10536,24 +8841,6 @@ class NewSubscriptionMatrixPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -10656,16 +8943,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10707,16 +8984,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -10886,24 +9153,6 @@ class NewSubscriptionTieredPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -10997,16 +9246,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11048,16 +9287,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11227,24 +9456,6 @@ class NewSubscriptionTieredBpsPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -11346,16 +9557,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11397,16 +9598,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11598,24 +9789,6 @@ class BpsConfig < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -11660,16 +9833,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11711,16 +9874,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -11940,24 +10093,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -12002,16 +10137,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12053,16 +10178,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12274,24 +10389,6 @@ class Tier < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -12336,16 +10433,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12387,16 +10474,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12565,24 +10642,6 @@ class NewSubscriptionThresholdTotalAmountPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -12627,16 +10686,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12678,16 +10727,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12856,24 +10895,6 @@ class NewSubscriptionTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -12918,16 +10939,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -12969,16 +10980,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13147,24 +11148,6 @@ class NewSubscriptionTieredWithMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -13209,16 +11192,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13260,16 +11233,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13438,24 +11401,6 @@ class NewSubscriptionUnitWithPercentPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -13500,16 +11445,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13551,16 +11486,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13729,24 +11654,6 @@ class NewSubscriptionPackageWithAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -13791,16 +11698,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -13842,16 +11739,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14020,24 +11907,6 @@ class NewSubscriptionTierWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -14082,16 +11951,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14133,16 +11992,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14311,24 +12160,6 @@ class NewSubscriptionUnitWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -14373,16 +12204,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14424,16 +12245,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14602,24 +12413,6 @@ class NewSubscriptionGroupedAllocationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -14664,16 +12457,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14715,16 +12498,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -14893,24 +12666,6 @@ class NewSubscriptionGroupedWithProratedMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -14955,16 +12710,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15006,16 +12751,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15184,24 +12919,6 @@ class NewSubscriptionBulkWithProrationPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -15246,16 +12963,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15297,16 +13004,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15475,24 +13172,6 @@ class NewSubscriptionScalableMatrixWithUnitPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -15537,16 +13216,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15588,16 +13257,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15766,24 +13425,6 @@ class NewSubscriptionScalableMatrixWithTieredPricingPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -15828,16 +13469,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -15879,16 +13510,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16057,24 +13678,6 @@ class NewSubscriptionCumulativeGroupedBulkPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -16119,16 +13722,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16170,16 +13763,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16348,24 +13931,6 @@ class NewSubscriptionMaxGroupTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -16410,16 +13975,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16461,16 +14016,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16639,24 +14184,6 @@ class NewSubscriptionGroupedWithMeteredMinimumPrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -16701,16 +14228,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16752,16 +14269,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -16930,24 +14437,6 @@ class NewSubscriptionMatrixWithDisplayNamePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -16992,16 +14481,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -17043,16 +14522,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -17221,24 +14690,6 @@ class NewSubscriptionGroupedTieredPackagePrice < Orb::BaseModel # @abstract # # The cadence to bill for this price on. - # - # @example - # ```ruby - # case cadence - # in :annual - # # ... - # in :semi_annual - # # ... - # in :monthly - # # ... - # in :quarterly - # # ... - # in :one_time - # # ... - # in ... - # #... - # end - # ``` class Cadence < Orb::Enum ANNUAL = :annual SEMI_ANNUAL = :semi_annual @@ -17283,16 +14734,6 @@ class BillingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month @@ -17334,16 +14775,6 @@ class InvoicingCycleConfiguration < Orb::BaseModel # @abstract # # The unit of billing period duration. - # - # @example - # ```ruby - # case duration_unit - # in :day - # # ... - # in :month - # # ... - # end - # ``` class DurationUnit < Orb::Enum DAY = :day MONTH = :month diff --git a/lib/orb/models/subscription_schedule_plan_change_response.rb b/lib/orb/models/subscription_schedule_plan_change_response.rb index d817ccab..e676ccb0 100644 --- a/lib/orb/models/subscription_schedule_plan_change_response.rb +++ b/lib/orb/models/subscription_schedule_plan_change_response.rb @@ -295,62 +295,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -756,44 +700,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1274,17 +1180,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_trigger_phase_response.rb b/lib/orb/models/subscription_trigger_phase_response.rb index b64703ad..49bf22d0 100644 --- a/lib/orb/models/subscription_trigger_phase_response.rb +++ b/lib/orb/models/subscription_trigger_phase_response.rb @@ -295,62 +295,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionTriggerPhaseResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionTriggerPhaseResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionTriggerPhaseResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionTriggerPhaseResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionTriggerPhaseResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionTriggerPhaseResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionTriggerPhaseResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionTriggerPhaseResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionTriggerPhaseResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::SubscriptionTriggerPhaseResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -756,44 +700,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionTriggerPhaseResponse::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionTriggerPhaseResponse::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionTriggerPhaseResponse::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::SubscriptionTriggerPhaseResponse::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::SubscriptionTriggerPhaseResponse::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::SubscriptionTriggerPhaseResponse::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1274,17 +1180,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_unschedule_cancellation_response.rb b/lib/orb/models/subscription_unschedule_cancellation_response.rb index 2c909a1e..07a5a500 100644 --- a/lib/orb/models/subscription_unschedule_cancellation_response.rb +++ b/lib/orb/models/subscription_unschedule_cancellation_response.rb @@ -295,62 +295,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnscheduleCancellationResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionUnscheduleCancellationResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnscheduleCancellationResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnscheduleCancellationResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnscheduleCancellationResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionUnscheduleCancellationResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUnscheduleCancellationResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUnscheduleCancellationResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUnscheduleCancellationResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::SubscriptionUnscheduleCancellationResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -756,44 +700,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionUnscheduleCancellationResponse::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionUnscheduleCancellationResponse::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionUnscheduleCancellationResponse::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::SubscriptionUnscheduleCancellationResponse::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::SubscriptionUnscheduleCancellationResponse::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::SubscriptionUnscheduleCancellationResponse::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1274,17 +1180,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb b/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb index c429fb35..ff29ef81 100644 --- a/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +++ b/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb @@ -295,62 +295,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -756,44 +700,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::SubscriptionUnscheduleFixedFeeQuantityUpdatesResponse::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1278,17 +1184,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb b/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb index 869bf1eb..d6440d49 100644 --- a/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +++ b/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb @@ -295,62 +295,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -756,44 +700,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::SubscriptionUnschedulePendingPlanChangesResponse::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1274,17 +1180,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb b/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb index 3fb853eb..c2956005 100644 --- a/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +++ b/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb @@ -73,18 +73,6 @@ class SubscriptionUpdateFixedFeeQuantityParams < Orb::BaseModel # Determines when the change takes effect. Note that if `effective_date` is # specified, this defaults to `effective_date`. Otherwise, this defaults to # `immediate` unless it's explicitly set to `upcoming_invoice`. - # - # @example - # ```ruby - # case change_option - # in :immediate - # # ... - # in :upcoming_invoice - # # ... - # in :effective_date - # # ... - # end - # ``` class ChangeOption < Orb::Enum IMMEDIATE = :immediate UPCOMING_INVOICE = :upcoming_invoice diff --git a/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb b/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb index fe593c68..b5c7c817 100644 --- a/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +++ b/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb @@ -295,62 +295,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -756,44 +700,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1274,17 +1180,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_update_trial_params.rb b/lib/orb/models/subscription_update_trial_params.rb index 914b8df9..3a7b2d92 100644 --- a/lib/orb/models/subscription_update_trial_params.rb +++ b/lib/orb/models/subscription_update_trial_params.rb @@ -38,16 +38,6 @@ class SubscriptionUpdateTrialParams < Orb::BaseModel # # The new date that the trial should end, or the literal string `immediate` to end # the trial immediately. - # - # @example - # ```ruby - # case trial_end_date - # in Time - # # ... - # in Orb::Models::SubscriptionUpdateTrialParams::TrialEndDate::UnionMember1 - # # ... - # end - # ``` class TrialEndDate < Orb::Union variant Time @@ -55,13 +45,6 @@ class TrialEndDate < Orb::Union # @abstract # - # @example - # ```ruby - # case union_member1 - # in :immediate - # # ... - # end - # ``` class UnionMember1 < Orb::Enum IMMEDIATE = :immediate diff --git a/lib/orb/models/subscription_update_trial_response.rb b/lib/orb/models/subscription_update_trial_response.rb index 3b88f545..c338cc8f 100644 --- a/lib/orb/models/subscription_update_trial_response.rb +++ b/lib/orb/models/subscription_update_trial_response.rb @@ -293,62 +293,6 @@ class AdjustmentInterval < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case adjustment - # in { - # adjustment_type: "usage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUpdateTrialResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment ... - # in { - # adjustment_type: "amount_discount", - # id: String, - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionUpdateTrialResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment ... - # in { - # adjustment_type: "percentage_discount", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUpdateTrialResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment ... - # in { - # adjustment_type: "minimum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUpdateTrialResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment ... - # in { - # adjustment_type: "maximum", - # id: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # is_invoice_level: Orb::BooleanModel - # } - # # Orb::Models::SubscriptionUpdateTrialResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment ... - # end - # ``` - # - # @example - # ```ruby - # case adjustment - # in Orb::Models::SubscriptionUpdateTrialResponse::AdjustmentInterval::Adjustment::PlanPhaseUsageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUpdateTrialResponse::AdjustmentInterval::Adjustment::PlanPhaseAmountDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUpdateTrialResponse::AdjustmentInterval::Adjustment::PlanPhasePercentageDiscountAdjustment - # # ... - # in Orb::Models::SubscriptionUpdateTrialResponse::AdjustmentInterval::Adjustment::PlanPhaseMinimumAdjustment - # # ... - # in Orb::Models::SubscriptionUpdateTrialResponse::AdjustmentInterval::Adjustment::PlanPhaseMaximumAdjustment - # # ... - # end - # ``` class Adjustment < Orb::Union discriminator :adjustment_type @@ -754,44 +698,6 @@ class BillingCycleAnchorConfiguration < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_interval - # in { - # discount_type: "amount", - # amount_discount: String, - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]) - # } - # # Orb::Models::SubscriptionUpdateTrialResponse::DiscountInterval::AmountDiscountInterval ... - # in { - # discount_type: "percentage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionUpdateTrialResponse::DiscountInterval::PercentageDiscountInterval ... - # in { - # discount_type: "usage", - # applies_to_price_ids: ^(Orb::ArrayOf[String]), - # applies_to_price_interval_ids: ^(Orb::ArrayOf[String]), - # end_date: Time - # } - # # Orb::Models::SubscriptionUpdateTrialResponse::DiscountInterval::UsageDiscountInterval ... - # end - # ``` - # - # @example - # ```ruby - # case discount_interval - # in Orb::Models::SubscriptionUpdateTrialResponse::DiscountInterval::AmountDiscountInterval - # # ... - # in Orb::Models::SubscriptionUpdateTrialResponse::DiscountInterval::PercentageDiscountInterval - # # ... - # in Orb::Models::SubscriptionUpdateTrialResponse::DiscountInterval::UsageDiscountInterval - # # ... - # end - # ``` class DiscountInterval < Orb::Union discriminator :discount_type @@ -1272,17 +1178,6 @@ class RedeemedCoupon < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case status - # in :active - # # ... - # in :ended - # # ... - # in :upcoming - # # ... - # end - # ``` class Status < Orb::Enum ACTIVE = :active ENDED = :ended diff --git a/lib/orb/models/subscription_usage.rb b/lib/orb/models/subscription_usage.rb index 9c8fcc00..d8f92f60 100644 --- a/lib/orb/models/subscription_usage.rb +++ b/lib/orb/models/subscription_usage.rb @@ -4,15 +4,6 @@ module Orb module Models # @abstract # - # @example - # ```ruby - # case subscription_usage - # in Orb::Models::SubscriptionUsage::UngroupedSubscriptionUsage - # # ... - # in Orb::Models::SubscriptionUsage::GroupedSubscriptionUsage - # # ... - # end - # ``` class SubscriptionUsage < Orb::Union variant -> { Orb::Models::SubscriptionUsage::UngroupedSubscriptionUsage } @@ -107,15 +98,6 @@ class Usage < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case view_mode - # in :periodic - # # ... - # in :cumulative - # # ... - # end - # ``` class ViewMode < Orb::Enum PERIODIC = :periodic CUMULATIVE = :cumulative @@ -250,15 +232,6 @@ class Usage < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case view_mode - # in :periodic - # # ... - # in :cumulative - # # ... - # end - # ``` class ViewMode < Orb::Enum PERIODIC = :periodic CUMULATIVE = :cumulative diff --git a/lib/orb/models/trial_discount.rb b/lib/orb/models/trial_discount.rb index 8bc5ab0f..9a73061c 100644 --- a/lib/orb/models/trial_discount.rb +++ b/lib/orb/models/trial_discount.rb @@ -54,13 +54,6 @@ class TrialDiscount < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :trial - # # ... - # end - # ``` class DiscountType < Orb::Enum TRIAL = :trial diff --git a/lib/orb/models/usage_discount.rb b/lib/orb/models/usage_discount.rb index e298ded5..7d0ec1ba 100644 --- a/lib/orb/models/usage_discount.rb +++ b/lib/orb/models/usage_discount.rb @@ -39,13 +39,6 @@ class UsageDiscount < Orb::BaseModel # @abstract # - # @example - # ```ruby - # case discount_type - # in :usage - # # ... - # end - # ``` class DiscountType < Orb::Enum USAGE = :usage diff --git a/lib/orb/util.rb b/lib/orb/util.rb index c844a292..815af125 100644 --- a/lib/orb/util.rb +++ b/lib/orb/util.rb @@ -496,10 +496,7 @@ def encode_content(headers, body) # def decode_content(headers, stream:, suppress_error: false) case headers["content-type"] - in %r{^text/event-stream} - lines = enum_lines(stream) - parse_sse(lines) - in %r{^application/json} + in %r{^application/(?:vnd\.api\+)?json} json = stream.to_a.join begin JSON.parse(json, symbolize_names: true) @@ -507,6 +504,11 @@ def decode_content(headers, stream:, suppress_error: false) raise e unless suppress_error json end + in %r{^text/event-stream} + lines = enum_lines(stream) + parse_sse(lines) + in %r{^application/(?:x-)?jsonl} + enum_lines(stream) in %r{^text/} stream.to_a.join else @@ -575,15 +577,29 @@ class << self # # @return [Enumerable] # - def enum_lines(enum) + def decode_lines(enum) + re = /(\r\n|\r|\n)/ + buffer = String.new.b + cr_seen = nil + chain_fused(enum) do |y| - buffer = String.new enum.each do |row| buffer << row - while (idx = buffer.index("\n")) - y << buffer.slice!(..idx) + while (match = re.match(buffer, cr_seen.to_i)) + case [match.captures.first, cr_seen] + in ["\r", nil] + cr_seen = match.end(1) + next + in ["\r" | "\r\n", Integer] + y << buffer.slice!(..(cr_seen.pred)) + else + y << buffer.slice!(..(match.end(1).pred)) + end + cr_seen = nil end end + + y << buffer.slice!(..(cr_seen.pred)) unless cr_seen.nil? y << buffer unless buffer.empty? end end @@ -596,13 +612,13 @@ def enum_lines(enum) # # @return [Hash{Symbol=>Object}] # - def parse_sse(lines) + def decode_sse(lines) chain_fused(lines) do |y| blank = {event: nil, data: nil, id: nil, retry: nil} current = {} lines.each do |line| - case line.strip + case line.sub(/\R$/, "") in "" next if current.empty? y << {**blank, **current} @@ -610,12 +626,12 @@ def parse_sse(lines) in /^:/ next in /^([^:]+):\s?(.*)$/ - _, field, value = Regexp.last_match.to_a + field, value = Regexp.last_match.captures case field in "event" current.merge!(event: value) in "data" - (current[:data] ||= String.new) << value << "\n" + (current[:data] ||= String.new.b) << value << "\n" in "id" unless value.include?("\0") current.merge!(id: value) in "retry" if /^\d+$/ =~ value diff --git a/lib/orb/version.rb b/lib/orb/version.rb index 37ac6a1e..609ed8d9 100644 --- a/lib/orb/version.rb +++ b/lib/orb/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Orb - VERSION = "0.1.0-alpha.21" + VERSION = "0.1.0-alpha.22" end diff --git a/rbi/lib/orb/models/alert.rbi b/rbi/lib/orb/models/alert.rbi index 9f40a733..62c15100 100644 --- a/rbi/lib/orb/models/alert.rbi +++ b/rbi/lib/orb/models/alert.rbi @@ -280,11 +280,11 @@ module Orb class Type < Orb::Enum abstract! - USAGE_EXCEEDED = :usage_exceeded - COST_EXCEEDED = :cost_exceeded CREDIT_BALANCE_DEPLETED = :credit_balance_depleted CREDIT_BALANCE_DROPPED = :credit_balance_dropped CREDIT_BALANCE_RECOVERED = :credit_balance_recovered + USAGE_EXCEEDED = :usage_exceeded + COST_EXCEEDED = :cost_exceeded sig { override.returns(T::Array[Symbol]) } def self.values diff --git a/rbi/lib/orb/models/alert_create_for_customer_params.rbi b/rbi/lib/orb/models/alert_create_for_customer_params.rbi index 6bf3ced1..2b867440 100644 --- a/rbi/lib/orb/models/alert_create_for_customer_params.rbi +++ b/rbi/lib/orb/models/alert_create_for_customer_params.rbi @@ -62,8 +62,6 @@ module Orb class Type < Orb::Enum abstract! - USAGE_EXCEEDED = :usage_exceeded - COST_EXCEEDED = :cost_exceeded CREDIT_BALANCE_DEPLETED = :credit_balance_depleted CREDIT_BALANCE_DROPPED = :credit_balance_dropped CREDIT_BALANCE_RECOVERED = :credit_balance_recovered diff --git a/rbi/lib/orb/models/alert_create_for_external_customer_params.rbi b/rbi/lib/orb/models/alert_create_for_external_customer_params.rbi index aff1d219..7ea610bd 100644 --- a/rbi/lib/orb/models/alert_create_for_external_customer_params.rbi +++ b/rbi/lib/orb/models/alert_create_for_external_customer_params.rbi @@ -62,8 +62,6 @@ module Orb class Type < Orb::Enum abstract! - USAGE_EXCEEDED = :usage_exceeded - COST_EXCEEDED = :cost_exceeded CREDIT_BALANCE_DEPLETED = :credit_balance_depleted CREDIT_BALANCE_DROPPED = :credit_balance_dropped CREDIT_BALANCE_RECOVERED = :credit_balance_recovered diff --git a/rbi/lib/orb/models/alert_create_for_subscription_params.rbi b/rbi/lib/orb/models/alert_create_for_subscription_params.rbi index a5e364b1..51d74b8f 100644 --- a/rbi/lib/orb/models/alert_create_for_subscription_params.rbi +++ b/rbi/lib/orb/models/alert_create_for_subscription_params.rbi @@ -82,9 +82,6 @@ module Orb USAGE_EXCEEDED = :usage_exceeded COST_EXCEEDED = :cost_exceeded - CREDIT_BALANCE_DEPLETED = :credit_balance_depleted - CREDIT_BALANCE_DROPPED = :credit_balance_dropped - CREDIT_BALANCE_RECOVERED = :credit_balance_recovered sig { override.returns(T::Array[Symbol]) } def self.values diff --git a/rbi/lib/orb/util.rbi b/rbi/lib/orb/util.rbi index 83c463ac..0f122a3a 100644 --- a/rbi/lib/orb/util.rbi +++ b/rbi/lib/orb/util.rbi @@ -155,11 +155,11 @@ module Orb end sig { params(enum: T::Enumerable[String]).returns(T::Enumerable[String]) } - def self.enum_lines(enum) + def self.decode_lines(enum) end sig { params(lines: T::Enumerable[String]).returns(Orb::Util::SSEMessage) } - def self.parse_sse(lines) + def self.decode_sse(lines) end end end diff --git a/rbi/lib/orb/version.rbi b/rbi/lib/orb/version.rbi index 2303718c..4b897cc7 100644 --- a/rbi/lib/orb/version.rbi +++ b/rbi/lib/orb/version.rbi @@ -1,5 +1,5 @@ # typed: strong module Orb - VERSION = "0.1.0-alpha.21" + VERSION = "0.1.0-alpha.22" end diff --git a/sig/orb/models/alert.rbs b/sig/orb/models/alert.rbs index b92bc8da..4d4f535c 100644 --- a/sig/orb/models/alert.rbs +++ b/sig/orb/models/alert.rbs @@ -132,18 +132,18 @@ module Orb end type type_ = - :usage_exceeded - | :cost_exceeded - | :credit_balance_depleted + :credit_balance_depleted | :credit_balance_dropped | :credit_balance_recovered + | :usage_exceeded + | :cost_exceeded class Type < Orb::Enum - USAGE_EXCEEDED: :usage_exceeded - COST_EXCEEDED: :cost_exceeded CREDIT_BALANCE_DEPLETED: :credit_balance_depleted CREDIT_BALANCE_DROPPED: :credit_balance_dropped CREDIT_BALANCE_RECOVERED: :credit_balance_recovered + USAGE_EXCEEDED: :usage_exceeded + COST_EXCEEDED: :cost_exceeded def self.values: -> ::Array[Orb::Models::Alert::type_] end diff --git a/sig/orb/models/alert_create_for_customer_params.rbs b/sig/orb/models/alert_create_for_customer_params.rbs index 884c8c99..ed968995 100644 --- a/sig/orb/models/alert_create_for_customer_params.rbs +++ b/sig/orb/models/alert_create_for_customer_params.rbs @@ -32,15 +32,11 @@ module Orb def to_hash: -> Orb::Models::alert_create_for_customer_params type type_ = - :usage_exceeded - | :cost_exceeded - | :credit_balance_depleted + :credit_balance_depleted | :credit_balance_dropped | :credit_balance_recovered class Type < Orb::Enum - USAGE_EXCEEDED: :usage_exceeded - COST_EXCEEDED: :cost_exceeded CREDIT_BALANCE_DEPLETED: :credit_balance_depleted CREDIT_BALANCE_DROPPED: :credit_balance_dropped CREDIT_BALANCE_RECOVERED: :credit_balance_recovered diff --git a/sig/orb/models/alert_create_for_external_customer_params.rbs b/sig/orb/models/alert_create_for_external_customer_params.rbs index df338a42..3f04d51b 100644 --- a/sig/orb/models/alert_create_for_external_customer_params.rbs +++ b/sig/orb/models/alert_create_for_external_customer_params.rbs @@ -33,15 +33,11 @@ module Orb def to_hash: -> Orb::Models::alert_create_for_external_customer_params type type_ = - :usage_exceeded - | :cost_exceeded - | :credit_balance_depleted + :credit_balance_depleted | :credit_balance_dropped | :credit_balance_recovered class Type < Orb::Enum - USAGE_EXCEEDED: :usage_exceeded - COST_EXCEEDED: :cost_exceeded CREDIT_BALANCE_DEPLETED: :credit_balance_depleted CREDIT_BALANCE_DROPPED: :credit_balance_dropped CREDIT_BALANCE_RECOVERED: :credit_balance_recovered diff --git a/sig/orb/models/alert_create_for_subscription_params.rbs b/sig/orb/models/alert_create_for_subscription_params.rbs index 230cf86c..dac4a9f0 100644 --- a/sig/orb/models/alert_create_for_subscription_params.rbs +++ b/sig/orb/models/alert_create_for_subscription_params.rbs @@ -47,19 +47,11 @@ module Orb def to_hash: -> Orb::Models::AlertCreateForSubscriptionParams::threshold end - type type_ = - :usage_exceeded - | :cost_exceeded - | :credit_balance_depleted - | :credit_balance_dropped - | :credit_balance_recovered + type type_ = :usage_exceeded | :cost_exceeded class Type < Orb::Enum USAGE_EXCEEDED: :usage_exceeded COST_EXCEEDED: :cost_exceeded - CREDIT_BALANCE_DEPLETED: :credit_balance_depleted - CREDIT_BALANCE_DROPPED: :credit_balance_dropped - CREDIT_BALANCE_RECOVERED: :credit_balance_recovered def self.values: -> ::Array[Orb::Models::AlertCreateForSubscriptionParams::type_] end diff --git a/sig/orb/util.rbs b/sig/orb/util.rbs index a3deff43..f6afe562 100644 --- a/sig/orb/util.rbs +++ b/sig/orb/util.rbs @@ -98,8 +98,8 @@ module Orb type sse_message = { event: String?, data: String?, id: String?, retry: Integer? } - def self?.enum_lines: (Enumerable[String] enum) -> Enumerable[String] + def self?.decode_lines: (Enumerable[String] enum) -> Enumerable[String] - def self?.parse_sse: (Enumerable[String] lines) -> Orb::Util::sse_message + def self?.decode_sse: (Enumerable[String] lines) -> Orb::Util::sse_message end end diff --git a/sig/orb/version.rbs b/sig/orb/version.rbs index fe19b67a..32bcebad 100644 --- a/sig/orb/version.rbs +++ b/sig/orb/version.rbs @@ -1,3 +1,3 @@ module Orb - VERSION: "0.1.0-alpha.20" + VERSION: "0.1.0-alpha.21" end diff --git a/test/orb/resources/alerts_test.rb b/test/orb/resources/alerts_test.rb index acb95bf4..ae85ded4 100644 --- a/test/orb/resources/alerts_test.rb +++ b/test/orb/resources/alerts_test.rb @@ -85,7 +85,11 @@ def test_list end def test_create_for_customer_required_params - response = @orb.alerts.create_for_customer("customer_id", currency: "currency", type: :usage_exceeded) + response = @orb.alerts.create_for_customer( + "customer_id", + currency: "currency", + type: :credit_balance_depleted + ) assert_pattern do response => Orb::Models::Alert @@ -111,7 +115,7 @@ def test_create_for_external_customer_required_params response = @orb.alerts.create_for_external_customer( "external_customer_id", currency: "currency", - type: :usage_exceeded + type: :credit_balance_depleted ) assert_pattern do diff --git a/test/orb/resources/customers/credits/ledger_test.rb b/test/orb/resources/customers/credits/ledger_test.rb index 99e407d4..bf2de658 100644 --- a/test/orb/resources/customers/credits/ledger_test.rb +++ b/test/orb/resources/customers/credits/ledger_test.rb @@ -19,6 +19,137 @@ def test_list assert_pattern do row => Orb::Models::Customers::Credits::LedgerListResponse end + + assert_pattern do + case row + in Orb::Models::Customers::Credits::LedgerListResponse::IncrementLedgerEntry + in Orb::Models::Customers::Credits::LedgerListResponse::DecrementLedgerEntry + in Orb::Models::Customers::Credits::LedgerListResponse::ExpirationChangeLedgerEntry + in Orb::Models::Customers::Credits::LedgerListResponse::CreditBlockExpiryLedgerEntry + in Orb::Models::Customers::Credits::LedgerListResponse::VoidLedgerEntry + in Orb::Models::Customers::Credits::LedgerListResponse::VoidInitiatedLedgerEntry + in Orb::Models::Customers::Credits::LedgerListResponse::AmendmentLedgerEntry + end + end + + assert_pattern do + case row + in { + entry_type: :increment, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListResponse::IncrementLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListResponse::IncrementLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListResponse::IncrementLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + in { + entry_type: :decrement, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListResponse::DecrementLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListResponse::DecrementLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListResponse::DecrementLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float, + event_id: String | nil, + invoice_id: String | nil, + price_id: String | nil + } + in { + entry_type: :expiration_change, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListResponse::ExpirationChangeLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListResponse::ExpirationChangeLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListResponse::ExpirationChangeLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + new_block_expiry_date: Time | nil, + starting_balance: Float + } + in { + entry_type: :credit_block_expiry, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListResponse::CreditBlockExpiryLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListResponse::CreditBlockExpiryLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListResponse::CreditBlockExpiryLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + in { + entry_type: :void, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListResponse::VoidLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListResponse::VoidLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListResponse::VoidLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float, + void_amount: Float, + void_reason: String | nil + } + in { + entry_type: :void_initiated, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListResponse::VoidInitiatedLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListResponse::VoidInitiatedLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListResponse::VoidInitiatedLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + new_block_expiry_date: Time, + starting_balance: Float, + void_amount: Float, + void_reason: String | nil + } + in { + entry_type: :amendment, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListResponse::AmendmentLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListResponse::AmendmentLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListResponse::AmendmentLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + end + end end def test_create_entry_required_params @@ -32,6 +163,137 @@ def test_create_entry_required_params assert_pattern do response => Orb::Models::Customers::Credits::LedgerCreateEntryResponse end + + assert_pattern do + case response + in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::IncrementLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::DecrementLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::ExpirationChangeLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::CreditBlockExpiryLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidInitiatedLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryResponse::AmendmentLedgerEntry + end + end + + assert_pattern do + case response + in { + entry_type: :increment, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::IncrementLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::IncrementLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::IncrementLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + in { + entry_type: :decrement, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::DecrementLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::DecrementLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::DecrementLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float, + event_id: String | nil, + invoice_id: String | nil, + price_id: String | nil + } + in { + entry_type: :expiration_change, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::ExpirationChangeLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::ExpirationChangeLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::ExpirationChangeLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + new_block_expiry_date: Time | nil, + starting_balance: Float + } + in { + entry_type: :credit_block_expiry, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::CreditBlockExpiryLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::CreditBlockExpiryLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::CreditBlockExpiryLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + in { + entry_type: :void, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float, + void_amount: Float, + void_reason: String | nil + } + in { + entry_type: :void_initiated, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidInitiatedLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidInitiatedLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::VoidInitiatedLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + new_block_expiry_date: Time, + starting_balance: Float, + void_amount: Float, + void_reason: String | nil + } + in { + entry_type: :amendment, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::AmendmentLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::AmendmentLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryResponse::AmendmentLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + end + end end def test_create_entry_by_external_id_required_params @@ -45,6 +307,137 @@ def test_create_entry_by_external_id_required_params assert_pattern do response => Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse end + + assert_pattern do + case response + in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::IncrementLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::DecrementLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::ExpirationChangeLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::CreditBlockExpiryLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidInitiatedLedgerEntry + in Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::AmendmentLedgerEntry + end + end + + assert_pattern do + case response + in { + entry_type: :increment, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::IncrementLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::IncrementLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::IncrementLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + in { + entry_type: :decrement, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::DecrementLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::DecrementLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::DecrementLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float, + event_id: String | nil, + invoice_id: String | nil, + price_id: String | nil + } + in { + entry_type: :expiration_change, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::ExpirationChangeLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::ExpirationChangeLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::ExpirationChangeLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + new_block_expiry_date: Time | nil, + starting_balance: Float + } + in { + entry_type: :credit_block_expiry, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::CreditBlockExpiryLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::CreditBlockExpiryLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::CreditBlockExpiryLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + in { + entry_type: :void, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float, + void_amount: Float, + void_reason: String | nil + } + in { + entry_type: :void_initiated, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidInitiatedLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidInitiatedLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::VoidInitiatedLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + new_block_expiry_date: Time, + starting_balance: Float, + void_amount: Float, + void_reason: String | nil + } + in { + entry_type: :amendment, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::AmendmentLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::AmendmentLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerCreateEntryByExternalIDResponse::AmendmentLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + end + end end def test_list_by_external_id @@ -63,5 +456,136 @@ def test_list_by_external_id assert_pattern do row => Orb::Models::Customers::Credits::LedgerListByExternalIDResponse end + + assert_pattern do + case row + in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::IncrementLedgerEntry + in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::DecrementLedgerEntry + in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::ExpirationChangeLedgerEntry + in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::CreditBlockExpiryLedgerEntry + in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidLedgerEntry + in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidInitiatedLedgerEntry + in Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::AmendmentLedgerEntry + end + end + + assert_pattern do + case row + in { + entry_type: :increment, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::IncrementLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::IncrementLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::IncrementLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + in { + entry_type: :decrement, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::DecrementLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::DecrementLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::DecrementLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float, + event_id: String | nil, + invoice_id: String | nil, + price_id: String | nil + } + in { + entry_type: :expiration_change, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::ExpirationChangeLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::ExpirationChangeLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::ExpirationChangeLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + new_block_expiry_date: Time | nil, + starting_balance: Float + } + in { + entry_type: :credit_block_expiry, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::CreditBlockExpiryLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::CreditBlockExpiryLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::CreditBlockExpiryLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + in { + entry_type: :void, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float, + void_amount: Float, + void_reason: String | nil + } + in { + entry_type: :void_initiated, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidInitiatedLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidInitiatedLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::VoidInitiatedLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + new_block_expiry_date: Time, + starting_balance: Float, + void_amount: Float, + void_reason: String | nil + } + in { + entry_type: :amendment, + id: String, + amount: Float, + created_at: Time, + credit_block: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::AmendmentLedgerEntry::CreditBlock, + currency: String, + customer: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::AmendmentLedgerEntry::Customer, + description: String | nil, + ending_balance: Float, + entry_status: Orb::Models::Customers::Credits::LedgerListByExternalIDResponse::AmendmentLedgerEntry::EntryStatus, + ledger_sequence_number: Integer, + metadata: ^(Orb::HashOf[String]), + starting_balance: Float + } + end + end end end diff --git a/test/orb/resources/prices/external_price_id_test.rb b/test/orb/resources/prices/external_price_id_test.rb index 070062e2..fbf1be44 100644 --- a/test/orb/resources/prices/external_price_id_test.rb +++ b/test/orb/resources/prices/external_price_id_test.rb @@ -9,6 +9,772 @@ def test_update assert_pattern do response => Orb::Models::Price end + + assert_pattern do + case response + in Orb::Models::Price::UnitPrice + in Orb::Models::Price::PackagePrice + in Orb::Models::Price::MatrixPrice + in Orb::Models::Price::TieredPrice + in Orb::Models::Price::TieredBpsPrice + in Orb::Models::Price::BpsPrice + in Orb::Models::Price::BulkBpsPrice + in Orb::Models::Price::BulkPrice + in Orb::Models::Price::ThresholdTotalAmountPrice + in Orb::Models::Price::TieredPackagePrice + in Orb::Models::Price::GroupedTieredPrice + in Orb::Models::Price::TieredWithMinimumPrice + in Orb::Models::Price::TieredPackageWithMinimumPrice + in Orb::Models::Price::PackageWithAllocationPrice + in Orb::Models::Price::UnitWithPercentPrice + in Orb::Models::Price::MatrixWithAllocationPrice + in Orb::Models::Price::TieredWithProrationPrice + in Orb::Models::Price::UnitWithProrationPrice + in Orb::Models::Price::GroupedAllocationPrice + in Orb::Models::Price::GroupedWithProratedMinimumPrice + in Orb::Models::Price::GroupedWithMeteredMinimumPrice + in Orb::Models::Price::MatrixWithDisplayNamePrice + in Orb::Models::Price::BulkWithProrationPrice + in Orb::Models::Price::GroupedTieredPackagePrice + in Orb::Models::Price::MaxGroupTieredPackagePrice + in Orb::Models::Price::ScalableMatrixWithUnitPricingPrice + in Orb::Models::Price::ScalableMatrixWithTieredPricingPrice + in Orb::Models::Price::CumulativeGroupedBulkPrice + end + end + + assert_pattern do + case response + in { + model_type: :unit, + id: String, + billable_metric: Orb::Models::Price::UnitPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitPrice::Item, + maximum: Orb::Models::Price::UnitPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitPrice::PriceType, + unit_config: Orb::Models::Price::UnitPrice::UnitConfig, + dimensional_price_configuration: Orb::Models::Price::UnitPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package, + id: String, + billable_metric: Orb::Models::Price::PackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackagePrice::Item, + maximum: Orb::Models::Price::PackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_config: Orb::Models::Price::PackagePrice::PackageConfig, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix, + id: String, + billable_metric: Orb::Models::Price::MatrixPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixPrice::Item, + matrix_config: Orb::Models::Price::MatrixPrice::MatrixConfig, + maximum: Orb::Models::Price::MatrixPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered, + id: String, + billable_metric: Orb::Models::Price::TieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPrice::Item, + maximum: Orb::Models::Price::TieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPrice::PriceType, + tiered_config: Orb::Models::Price::TieredPrice::TieredConfig, + dimensional_price_configuration: Orb::Models::Price::TieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_bps, + id: String, + billable_metric: Orb::Models::Price::TieredBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredBpsPrice::Item, + maximum: Orb::Models::Price::TieredBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredBpsPrice::PriceType, + tiered_bps_config: Orb::Models::Price::TieredBpsPrice::TieredBpsConfig, + dimensional_price_configuration: Orb::Models::Price::TieredBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bps, + id: String, + billable_metric: Orb::Models::Price::BpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BpsPrice::BillingCycleConfiguration, + bps_config: Orb::Models::Price::BpsPrice::BpsConfig, + cadence: Orb::Models::Price::BpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BpsPrice::Item, + maximum: Orb::Models::Price::BpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_bps, + id: String, + billable_metric: Orb::Models::Price::BulkBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::BillingCycleConfiguration, + bulk_bps_config: Orb::Models::Price::BulkBpsPrice::BulkBpsConfig, + cadence: Orb::Models::Price::BulkBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkBpsPrice::Item, + maximum: Orb::Models::Price::BulkBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkBpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk, + id: String, + billable_metric: Orb::Models::Price::BulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkPrice::BillingCycleConfiguration, + bulk_config: Orb::Models::Price::BulkPrice::BulkConfig, + cadence: Orb::Models::Price::BulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkPrice::Item, + maximum: Orb::Models::Price::BulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :threshold_total_amount, + id: String, + billable_metric: Orb::Models::Price::ThresholdTotalAmountPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ThresholdTotalAmountPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ThresholdTotalAmountPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ThresholdTotalAmountPrice::Item, + maximum: Orb::Models::Price::ThresholdTotalAmountPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ThresholdTotalAmountPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ThresholdTotalAmountPrice::PriceType, + threshold_total_amount_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package, + id: String, + billable_metric: Orb::Models::Price::TieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackagePrice::Item, + maximum: Orb::Models::Price::TieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackagePrice::PriceType, + tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPrice::Item, + maximum: Orb::Models::Price::GroupedTieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithMinimumPrice::PriceType, + tiered_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredPackageWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackageWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackageWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackageWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredPackageWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackageWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackageWithMinimumPrice::PriceType, + tiered_package_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package_with_allocation, + id: String, + billable_metric: Orb::Models::Price::PackageWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackageWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackageWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackageWithAllocationPrice::Item, + maximum: Orb::Models::Price::PackageWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackageWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_with_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackageWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackageWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_percent, + id: String, + billable_metric: Orb::Models::Price::UnitWithPercentPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithPercentPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithPercentPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithPercentPrice::Item, + maximum: Orb::Models::Price::UnitWithPercentPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithPercentPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithPercentPrice::PriceType, + unit_with_percent_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithPercentPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_allocation, + id: String, + billable_metric: Orb::Models::Price::MatrixWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithAllocationPrice::Item, + matrix_with_allocation_config: Orb::Models::Price::MatrixWithAllocationPrice::MatrixWithAllocationConfig, + maximum: Orb::Models::Price::MatrixWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_proration, + id: String, + billable_metric: Orb::Models::Price::TieredWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithProrationPrice::Item, + maximum: Orb::Models::Price::TieredWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithProrationPrice::PriceType, + tiered_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_proration, + id: String, + billable_metric: Orb::Models::Price::UnitWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithProrationPrice::Item, + maximum: Orb::Models::Price::UnitWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithProrationPrice::PriceType, + unit_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_allocation, + id: String, + billable_metric: Orb::Models::Price::GroupedAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedAllocationPrice::Item, + maximum: Orb::Models::Price::GroupedAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_prorated_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithProratedMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithProratedMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithProratedMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithProratedMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_metered_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithMeteredMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithMeteredMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_display_name, + id: String, + billable_metric: Orb::Models::Price::MatrixWithDisplayNamePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithDisplayNamePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithDisplayNamePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithDisplayNamePrice::Item, + matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MatrixWithDisplayNamePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithDisplayNamePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithDisplayNamePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_with_proration, + id: String, + billable_metric: Orb::Models::Price::BulkWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::BillingCycleConfiguration, + bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + cadence: Orb::Models::Price::BulkWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkWithProrationPrice::Item, + maximum: Orb::Models::Price::BulkWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkWithProrationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered_package, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPackagePrice::Item, + maximum: Orb::Models::Price::GroupedTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :max_group_tiered_package, + id: String, + billable_metric: Orb::Models::Price::MaxGroupTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MaxGroupTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MaxGroupTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MaxGroupTieredPackagePrice::Item, + max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MaxGroupTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MaxGroupTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MaxGroupTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_unit_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::PriceType, + scalable_matrix_with_unit_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_tiered_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::PriceType, + scalable_matrix_with_tiered_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :cumulative_grouped_bulk, + id: String, + billable_metric: Orb::Models::Price::CumulativeGroupedBulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::CumulativeGroupedBulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::CumulativeGroupedBulkPrice::CreditAllocation | nil, + cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::CumulativeGroupedBulkPrice::Item, + maximum: Orb::Models::Price::CumulativeGroupedBulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::CumulativeGroupedBulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::CumulativeGroupedBulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::DimensionalPriceConfiguration | nil + } + end + end end def test_fetch @@ -17,5 +783,771 @@ def test_fetch assert_pattern do response => Orb::Models::Price end + + assert_pattern do + case response + in Orb::Models::Price::UnitPrice + in Orb::Models::Price::PackagePrice + in Orb::Models::Price::MatrixPrice + in Orb::Models::Price::TieredPrice + in Orb::Models::Price::TieredBpsPrice + in Orb::Models::Price::BpsPrice + in Orb::Models::Price::BulkBpsPrice + in Orb::Models::Price::BulkPrice + in Orb::Models::Price::ThresholdTotalAmountPrice + in Orb::Models::Price::TieredPackagePrice + in Orb::Models::Price::GroupedTieredPrice + in Orb::Models::Price::TieredWithMinimumPrice + in Orb::Models::Price::TieredPackageWithMinimumPrice + in Orb::Models::Price::PackageWithAllocationPrice + in Orb::Models::Price::UnitWithPercentPrice + in Orb::Models::Price::MatrixWithAllocationPrice + in Orb::Models::Price::TieredWithProrationPrice + in Orb::Models::Price::UnitWithProrationPrice + in Orb::Models::Price::GroupedAllocationPrice + in Orb::Models::Price::GroupedWithProratedMinimumPrice + in Orb::Models::Price::GroupedWithMeteredMinimumPrice + in Orb::Models::Price::MatrixWithDisplayNamePrice + in Orb::Models::Price::BulkWithProrationPrice + in Orb::Models::Price::GroupedTieredPackagePrice + in Orb::Models::Price::MaxGroupTieredPackagePrice + in Orb::Models::Price::ScalableMatrixWithUnitPricingPrice + in Orb::Models::Price::ScalableMatrixWithTieredPricingPrice + in Orb::Models::Price::CumulativeGroupedBulkPrice + end + end + + assert_pattern do + case response + in { + model_type: :unit, + id: String, + billable_metric: Orb::Models::Price::UnitPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitPrice::Item, + maximum: Orb::Models::Price::UnitPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitPrice::PriceType, + unit_config: Orb::Models::Price::UnitPrice::UnitConfig, + dimensional_price_configuration: Orb::Models::Price::UnitPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package, + id: String, + billable_metric: Orb::Models::Price::PackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackagePrice::Item, + maximum: Orb::Models::Price::PackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_config: Orb::Models::Price::PackagePrice::PackageConfig, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix, + id: String, + billable_metric: Orb::Models::Price::MatrixPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixPrice::Item, + matrix_config: Orb::Models::Price::MatrixPrice::MatrixConfig, + maximum: Orb::Models::Price::MatrixPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered, + id: String, + billable_metric: Orb::Models::Price::TieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPrice::Item, + maximum: Orb::Models::Price::TieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPrice::PriceType, + tiered_config: Orb::Models::Price::TieredPrice::TieredConfig, + dimensional_price_configuration: Orb::Models::Price::TieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_bps, + id: String, + billable_metric: Orb::Models::Price::TieredBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredBpsPrice::Item, + maximum: Orb::Models::Price::TieredBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredBpsPrice::PriceType, + tiered_bps_config: Orb::Models::Price::TieredBpsPrice::TieredBpsConfig, + dimensional_price_configuration: Orb::Models::Price::TieredBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bps, + id: String, + billable_metric: Orb::Models::Price::BpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BpsPrice::BillingCycleConfiguration, + bps_config: Orb::Models::Price::BpsPrice::BpsConfig, + cadence: Orb::Models::Price::BpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BpsPrice::Item, + maximum: Orb::Models::Price::BpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_bps, + id: String, + billable_metric: Orb::Models::Price::BulkBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::BillingCycleConfiguration, + bulk_bps_config: Orb::Models::Price::BulkBpsPrice::BulkBpsConfig, + cadence: Orb::Models::Price::BulkBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkBpsPrice::Item, + maximum: Orb::Models::Price::BulkBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkBpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk, + id: String, + billable_metric: Orb::Models::Price::BulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkPrice::BillingCycleConfiguration, + bulk_config: Orb::Models::Price::BulkPrice::BulkConfig, + cadence: Orb::Models::Price::BulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkPrice::Item, + maximum: Orb::Models::Price::BulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :threshold_total_amount, + id: String, + billable_metric: Orb::Models::Price::ThresholdTotalAmountPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ThresholdTotalAmountPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ThresholdTotalAmountPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ThresholdTotalAmountPrice::Item, + maximum: Orb::Models::Price::ThresholdTotalAmountPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ThresholdTotalAmountPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ThresholdTotalAmountPrice::PriceType, + threshold_total_amount_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package, + id: String, + billable_metric: Orb::Models::Price::TieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackagePrice::Item, + maximum: Orb::Models::Price::TieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackagePrice::PriceType, + tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPrice::Item, + maximum: Orb::Models::Price::GroupedTieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithMinimumPrice::PriceType, + tiered_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredPackageWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackageWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackageWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackageWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredPackageWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackageWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackageWithMinimumPrice::PriceType, + tiered_package_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package_with_allocation, + id: String, + billable_metric: Orb::Models::Price::PackageWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackageWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackageWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackageWithAllocationPrice::Item, + maximum: Orb::Models::Price::PackageWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackageWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_with_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackageWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackageWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_percent, + id: String, + billable_metric: Orb::Models::Price::UnitWithPercentPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithPercentPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithPercentPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithPercentPrice::Item, + maximum: Orb::Models::Price::UnitWithPercentPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithPercentPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithPercentPrice::PriceType, + unit_with_percent_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithPercentPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_allocation, + id: String, + billable_metric: Orb::Models::Price::MatrixWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithAllocationPrice::Item, + matrix_with_allocation_config: Orb::Models::Price::MatrixWithAllocationPrice::MatrixWithAllocationConfig, + maximum: Orb::Models::Price::MatrixWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_proration, + id: String, + billable_metric: Orb::Models::Price::TieredWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithProrationPrice::Item, + maximum: Orb::Models::Price::TieredWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithProrationPrice::PriceType, + tiered_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_proration, + id: String, + billable_metric: Orb::Models::Price::UnitWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithProrationPrice::Item, + maximum: Orb::Models::Price::UnitWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithProrationPrice::PriceType, + unit_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_allocation, + id: String, + billable_metric: Orb::Models::Price::GroupedAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedAllocationPrice::Item, + maximum: Orb::Models::Price::GroupedAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_prorated_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithProratedMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithProratedMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithProratedMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithProratedMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_metered_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithMeteredMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithMeteredMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_display_name, + id: String, + billable_metric: Orb::Models::Price::MatrixWithDisplayNamePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithDisplayNamePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithDisplayNamePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithDisplayNamePrice::Item, + matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MatrixWithDisplayNamePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithDisplayNamePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithDisplayNamePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_with_proration, + id: String, + billable_metric: Orb::Models::Price::BulkWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::BillingCycleConfiguration, + bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + cadence: Orb::Models::Price::BulkWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkWithProrationPrice::Item, + maximum: Orb::Models::Price::BulkWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkWithProrationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered_package, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPackagePrice::Item, + maximum: Orb::Models::Price::GroupedTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :max_group_tiered_package, + id: String, + billable_metric: Orb::Models::Price::MaxGroupTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MaxGroupTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MaxGroupTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MaxGroupTieredPackagePrice::Item, + max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MaxGroupTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MaxGroupTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MaxGroupTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_unit_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::PriceType, + scalable_matrix_with_unit_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_tiered_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::PriceType, + scalable_matrix_with_tiered_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :cumulative_grouped_bulk, + id: String, + billable_metric: Orb::Models::Price::CumulativeGroupedBulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::CumulativeGroupedBulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::CumulativeGroupedBulkPrice::CreditAllocation | nil, + cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::CumulativeGroupedBulkPrice::Item, + maximum: Orb::Models::Price::CumulativeGroupedBulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::CumulativeGroupedBulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::CumulativeGroupedBulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::DimensionalPriceConfiguration | nil + } + end + end end end diff --git a/test/orb/resources/prices_test.rb b/test/orb/resources/prices_test.rb index 25a715cd..36976f80 100644 --- a/test/orb/resources/prices_test.rb +++ b/test/orb/resources/prices_test.rb @@ -16,6 +16,772 @@ def test_create_required_params assert_pattern do response => Orb::Models::Price end + + assert_pattern do + case response + in Orb::Models::Price::UnitPrice + in Orb::Models::Price::PackagePrice + in Orb::Models::Price::MatrixPrice + in Orb::Models::Price::TieredPrice + in Orb::Models::Price::TieredBpsPrice + in Orb::Models::Price::BpsPrice + in Orb::Models::Price::BulkBpsPrice + in Orb::Models::Price::BulkPrice + in Orb::Models::Price::ThresholdTotalAmountPrice + in Orb::Models::Price::TieredPackagePrice + in Orb::Models::Price::GroupedTieredPrice + in Orb::Models::Price::TieredWithMinimumPrice + in Orb::Models::Price::TieredPackageWithMinimumPrice + in Orb::Models::Price::PackageWithAllocationPrice + in Orb::Models::Price::UnitWithPercentPrice + in Orb::Models::Price::MatrixWithAllocationPrice + in Orb::Models::Price::TieredWithProrationPrice + in Orb::Models::Price::UnitWithProrationPrice + in Orb::Models::Price::GroupedAllocationPrice + in Orb::Models::Price::GroupedWithProratedMinimumPrice + in Orb::Models::Price::GroupedWithMeteredMinimumPrice + in Orb::Models::Price::MatrixWithDisplayNamePrice + in Orb::Models::Price::BulkWithProrationPrice + in Orb::Models::Price::GroupedTieredPackagePrice + in Orb::Models::Price::MaxGroupTieredPackagePrice + in Orb::Models::Price::ScalableMatrixWithUnitPricingPrice + in Orb::Models::Price::ScalableMatrixWithTieredPricingPrice + in Orb::Models::Price::CumulativeGroupedBulkPrice + end + end + + assert_pattern do + case response + in { + model_type: :unit, + id: String, + billable_metric: Orb::Models::Price::UnitPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitPrice::Item, + maximum: Orb::Models::Price::UnitPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitPrice::PriceType, + unit_config: Orb::Models::Price::UnitPrice::UnitConfig, + dimensional_price_configuration: Orb::Models::Price::UnitPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package, + id: String, + billable_metric: Orb::Models::Price::PackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackagePrice::Item, + maximum: Orb::Models::Price::PackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_config: Orb::Models::Price::PackagePrice::PackageConfig, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix, + id: String, + billable_metric: Orb::Models::Price::MatrixPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixPrice::Item, + matrix_config: Orb::Models::Price::MatrixPrice::MatrixConfig, + maximum: Orb::Models::Price::MatrixPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered, + id: String, + billable_metric: Orb::Models::Price::TieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPrice::Item, + maximum: Orb::Models::Price::TieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPrice::PriceType, + tiered_config: Orb::Models::Price::TieredPrice::TieredConfig, + dimensional_price_configuration: Orb::Models::Price::TieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_bps, + id: String, + billable_metric: Orb::Models::Price::TieredBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredBpsPrice::Item, + maximum: Orb::Models::Price::TieredBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredBpsPrice::PriceType, + tiered_bps_config: Orb::Models::Price::TieredBpsPrice::TieredBpsConfig, + dimensional_price_configuration: Orb::Models::Price::TieredBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bps, + id: String, + billable_metric: Orb::Models::Price::BpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BpsPrice::BillingCycleConfiguration, + bps_config: Orb::Models::Price::BpsPrice::BpsConfig, + cadence: Orb::Models::Price::BpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BpsPrice::Item, + maximum: Orb::Models::Price::BpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_bps, + id: String, + billable_metric: Orb::Models::Price::BulkBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::BillingCycleConfiguration, + bulk_bps_config: Orb::Models::Price::BulkBpsPrice::BulkBpsConfig, + cadence: Orb::Models::Price::BulkBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkBpsPrice::Item, + maximum: Orb::Models::Price::BulkBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkBpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk, + id: String, + billable_metric: Orb::Models::Price::BulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkPrice::BillingCycleConfiguration, + bulk_config: Orb::Models::Price::BulkPrice::BulkConfig, + cadence: Orb::Models::Price::BulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkPrice::Item, + maximum: Orb::Models::Price::BulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :threshold_total_amount, + id: String, + billable_metric: Orb::Models::Price::ThresholdTotalAmountPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ThresholdTotalAmountPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ThresholdTotalAmountPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ThresholdTotalAmountPrice::Item, + maximum: Orb::Models::Price::ThresholdTotalAmountPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ThresholdTotalAmountPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ThresholdTotalAmountPrice::PriceType, + threshold_total_amount_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package, + id: String, + billable_metric: Orb::Models::Price::TieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackagePrice::Item, + maximum: Orb::Models::Price::TieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackagePrice::PriceType, + tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPrice::Item, + maximum: Orb::Models::Price::GroupedTieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithMinimumPrice::PriceType, + tiered_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredPackageWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackageWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackageWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackageWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredPackageWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackageWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackageWithMinimumPrice::PriceType, + tiered_package_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package_with_allocation, + id: String, + billable_metric: Orb::Models::Price::PackageWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackageWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackageWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackageWithAllocationPrice::Item, + maximum: Orb::Models::Price::PackageWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackageWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_with_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackageWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackageWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_percent, + id: String, + billable_metric: Orb::Models::Price::UnitWithPercentPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithPercentPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithPercentPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithPercentPrice::Item, + maximum: Orb::Models::Price::UnitWithPercentPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithPercentPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithPercentPrice::PriceType, + unit_with_percent_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithPercentPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_allocation, + id: String, + billable_metric: Orb::Models::Price::MatrixWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithAllocationPrice::Item, + matrix_with_allocation_config: Orb::Models::Price::MatrixWithAllocationPrice::MatrixWithAllocationConfig, + maximum: Orb::Models::Price::MatrixWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_proration, + id: String, + billable_metric: Orb::Models::Price::TieredWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithProrationPrice::Item, + maximum: Orb::Models::Price::TieredWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithProrationPrice::PriceType, + tiered_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_proration, + id: String, + billable_metric: Orb::Models::Price::UnitWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithProrationPrice::Item, + maximum: Orb::Models::Price::UnitWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithProrationPrice::PriceType, + unit_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_allocation, + id: String, + billable_metric: Orb::Models::Price::GroupedAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedAllocationPrice::Item, + maximum: Orb::Models::Price::GroupedAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_prorated_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithProratedMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithProratedMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithProratedMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithProratedMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_metered_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithMeteredMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithMeteredMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_display_name, + id: String, + billable_metric: Orb::Models::Price::MatrixWithDisplayNamePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithDisplayNamePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithDisplayNamePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithDisplayNamePrice::Item, + matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MatrixWithDisplayNamePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithDisplayNamePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithDisplayNamePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_with_proration, + id: String, + billable_metric: Orb::Models::Price::BulkWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::BillingCycleConfiguration, + bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + cadence: Orb::Models::Price::BulkWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkWithProrationPrice::Item, + maximum: Orb::Models::Price::BulkWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkWithProrationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered_package, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPackagePrice::Item, + maximum: Orb::Models::Price::GroupedTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :max_group_tiered_package, + id: String, + billable_metric: Orb::Models::Price::MaxGroupTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MaxGroupTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MaxGroupTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MaxGroupTieredPackagePrice::Item, + max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MaxGroupTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MaxGroupTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MaxGroupTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_unit_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::PriceType, + scalable_matrix_with_unit_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_tiered_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::PriceType, + scalable_matrix_with_tiered_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :cumulative_grouped_bulk, + id: String, + billable_metric: Orb::Models::Price::CumulativeGroupedBulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::CumulativeGroupedBulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::CumulativeGroupedBulkPrice::CreditAllocation | nil, + cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::CumulativeGroupedBulkPrice::Item, + maximum: Orb::Models::Price::CumulativeGroupedBulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::CumulativeGroupedBulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::CumulativeGroupedBulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::DimensionalPriceConfiguration | nil + } + end + end end def test_update @@ -24,6 +790,772 @@ def test_update assert_pattern do response => Orb::Models::Price end + + assert_pattern do + case response + in Orb::Models::Price::UnitPrice + in Orb::Models::Price::PackagePrice + in Orb::Models::Price::MatrixPrice + in Orb::Models::Price::TieredPrice + in Orb::Models::Price::TieredBpsPrice + in Orb::Models::Price::BpsPrice + in Orb::Models::Price::BulkBpsPrice + in Orb::Models::Price::BulkPrice + in Orb::Models::Price::ThresholdTotalAmountPrice + in Orb::Models::Price::TieredPackagePrice + in Orb::Models::Price::GroupedTieredPrice + in Orb::Models::Price::TieredWithMinimumPrice + in Orb::Models::Price::TieredPackageWithMinimumPrice + in Orb::Models::Price::PackageWithAllocationPrice + in Orb::Models::Price::UnitWithPercentPrice + in Orb::Models::Price::MatrixWithAllocationPrice + in Orb::Models::Price::TieredWithProrationPrice + in Orb::Models::Price::UnitWithProrationPrice + in Orb::Models::Price::GroupedAllocationPrice + in Orb::Models::Price::GroupedWithProratedMinimumPrice + in Orb::Models::Price::GroupedWithMeteredMinimumPrice + in Orb::Models::Price::MatrixWithDisplayNamePrice + in Orb::Models::Price::BulkWithProrationPrice + in Orb::Models::Price::GroupedTieredPackagePrice + in Orb::Models::Price::MaxGroupTieredPackagePrice + in Orb::Models::Price::ScalableMatrixWithUnitPricingPrice + in Orb::Models::Price::ScalableMatrixWithTieredPricingPrice + in Orb::Models::Price::CumulativeGroupedBulkPrice + end + end + + assert_pattern do + case response + in { + model_type: :unit, + id: String, + billable_metric: Orb::Models::Price::UnitPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitPrice::Item, + maximum: Orb::Models::Price::UnitPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitPrice::PriceType, + unit_config: Orb::Models::Price::UnitPrice::UnitConfig, + dimensional_price_configuration: Orb::Models::Price::UnitPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package, + id: String, + billable_metric: Orb::Models::Price::PackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackagePrice::Item, + maximum: Orb::Models::Price::PackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_config: Orb::Models::Price::PackagePrice::PackageConfig, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix, + id: String, + billable_metric: Orb::Models::Price::MatrixPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixPrice::Item, + matrix_config: Orb::Models::Price::MatrixPrice::MatrixConfig, + maximum: Orb::Models::Price::MatrixPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered, + id: String, + billable_metric: Orb::Models::Price::TieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPrice::Item, + maximum: Orb::Models::Price::TieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPrice::PriceType, + tiered_config: Orb::Models::Price::TieredPrice::TieredConfig, + dimensional_price_configuration: Orb::Models::Price::TieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_bps, + id: String, + billable_metric: Orb::Models::Price::TieredBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredBpsPrice::Item, + maximum: Orb::Models::Price::TieredBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredBpsPrice::PriceType, + tiered_bps_config: Orb::Models::Price::TieredBpsPrice::TieredBpsConfig, + dimensional_price_configuration: Orb::Models::Price::TieredBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bps, + id: String, + billable_metric: Orb::Models::Price::BpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BpsPrice::BillingCycleConfiguration, + bps_config: Orb::Models::Price::BpsPrice::BpsConfig, + cadence: Orb::Models::Price::BpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BpsPrice::Item, + maximum: Orb::Models::Price::BpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_bps, + id: String, + billable_metric: Orb::Models::Price::BulkBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::BillingCycleConfiguration, + bulk_bps_config: Orb::Models::Price::BulkBpsPrice::BulkBpsConfig, + cadence: Orb::Models::Price::BulkBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkBpsPrice::Item, + maximum: Orb::Models::Price::BulkBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkBpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk, + id: String, + billable_metric: Orb::Models::Price::BulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkPrice::BillingCycleConfiguration, + bulk_config: Orb::Models::Price::BulkPrice::BulkConfig, + cadence: Orb::Models::Price::BulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkPrice::Item, + maximum: Orb::Models::Price::BulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :threshold_total_amount, + id: String, + billable_metric: Orb::Models::Price::ThresholdTotalAmountPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ThresholdTotalAmountPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ThresholdTotalAmountPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ThresholdTotalAmountPrice::Item, + maximum: Orb::Models::Price::ThresholdTotalAmountPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ThresholdTotalAmountPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ThresholdTotalAmountPrice::PriceType, + threshold_total_amount_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package, + id: String, + billable_metric: Orb::Models::Price::TieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackagePrice::Item, + maximum: Orb::Models::Price::TieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackagePrice::PriceType, + tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPrice::Item, + maximum: Orb::Models::Price::GroupedTieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithMinimumPrice::PriceType, + tiered_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredPackageWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackageWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackageWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackageWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredPackageWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackageWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackageWithMinimumPrice::PriceType, + tiered_package_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package_with_allocation, + id: String, + billable_metric: Orb::Models::Price::PackageWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackageWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackageWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackageWithAllocationPrice::Item, + maximum: Orb::Models::Price::PackageWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackageWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_with_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackageWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackageWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_percent, + id: String, + billable_metric: Orb::Models::Price::UnitWithPercentPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithPercentPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithPercentPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithPercentPrice::Item, + maximum: Orb::Models::Price::UnitWithPercentPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithPercentPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithPercentPrice::PriceType, + unit_with_percent_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithPercentPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_allocation, + id: String, + billable_metric: Orb::Models::Price::MatrixWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithAllocationPrice::Item, + matrix_with_allocation_config: Orb::Models::Price::MatrixWithAllocationPrice::MatrixWithAllocationConfig, + maximum: Orb::Models::Price::MatrixWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_proration, + id: String, + billable_metric: Orb::Models::Price::TieredWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithProrationPrice::Item, + maximum: Orb::Models::Price::TieredWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithProrationPrice::PriceType, + tiered_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_proration, + id: String, + billable_metric: Orb::Models::Price::UnitWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithProrationPrice::Item, + maximum: Orb::Models::Price::UnitWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithProrationPrice::PriceType, + unit_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_allocation, + id: String, + billable_metric: Orb::Models::Price::GroupedAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedAllocationPrice::Item, + maximum: Orb::Models::Price::GroupedAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_prorated_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithProratedMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithProratedMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithProratedMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithProratedMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_metered_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithMeteredMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithMeteredMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_display_name, + id: String, + billable_metric: Orb::Models::Price::MatrixWithDisplayNamePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithDisplayNamePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithDisplayNamePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithDisplayNamePrice::Item, + matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MatrixWithDisplayNamePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithDisplayNamePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithDisplayNamePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_with_proration, + id: String, + billable_metric: Orb::Models::Price::BulkWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::BillingCycleConfiguration, + bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + cadence: Orb::Models::Price::BulkWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkWithProrationPrice::Item, + maximum: Orb::Models::Price::BulkWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkWithProrationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered_package, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPackagePrice::Item, + maximum: Orb::Models::Price::GroupedTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :max_group_tiered_package, + id: String, + billable_metric: Orb::Models::Price::MaxGroupTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MaxGroupTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MaxGroupTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MaxGroupTieredPackagePrice::Item, + max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MaxGroupTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MaxGroupTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MaxGroupTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_unit_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::PriceType, + scalable_matrix_with_unit_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_tiered_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::PriceType, + scalable_matrix_with_tiered_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :cumulative_grouped_bulk, + id: String, + billable_metric: Orb::Models::Price::CumulativeGroupedBulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::CumulativeGroupedBulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::CumulativeGroupedBulkPrice::CreditAllocation | nil, + cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::CumulativeGroupedBulkPrice::Item, + maximum: Orb::Models::Price::CumulativeGroupedBulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::CumulativeGroupedBulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::CumulativeGroupedBulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::DimensionalPriceConfiguration | nil + } + end + end end def test_list @@ -42,6 +1574,772 @@ def test_list assert_pattern do row => Orb::Models::Price end + + assert_pattern do + case row + in Orb::Models::Price::UnitPrice + in Orb::Models::Price::PackagePrice + in Orb::Models::Price::MatrixPrice + in Orb::Models::Price::TieredPrice + in Orb::Models::Price::TieredBpsPrice + in Orb::Models::Price::BpsPrice + in Orb::Models::Price::BulkBpsPrice + in Orb::Models::Price::BulkPrice + in Orb::Models::Price::ThresholdTotalAmountPrice + in Orb::Models::Price::TieredPackagePrice + in Orb::Models::Price::GroupedTieredPrice + in Orb::Models::Price::TieredWithMinimumPrice + in Orb::Models::Price::TieredPackageWithMinimumPrice + in Orb::Models::Price::PackageWithAllocationPrice + in Orb::Models::Price::UnitWithPercentPrice + in Orb::Models::Price::MatrixWithAllocationPrice + in Orb::Models::Price::TieredWithProrationPrice + in Orb::Models::Price::UnitWithProrationPrice + in Orb::Models::Price::GroupedAllocationPrice + in Orb::Models::Price::GroupedWithProratedMinimumPrice + in Orb::Models::Price::GroupedWithMeteredMinimumPrice + in Orb::Models::Price::MatrixWithDisplayNamePrice + in Orb::Models::Price::BulkWithProrationPrice + in Orb::Models::Price::GroupedTieredPackagePrice + in Orb::Models::Price::MaxGroupTieredPackagePrice + in Orb::Models::Price::ScalableMatrixWithUnitPricingPrice + in Orb::Models::Price::ScalableMatrixWithTieredPricingPrice + in Orb::Models::Price::CumulativeGroupedBulkPrice + end + end + + assert_pattern do + case row + in { + model_type: :unit, + id: String, + billable_metric: Orb::Models::Price::UnitPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitPrice::Item, + maximum: Orb::Models::Price::UnitPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitPrice::PriceType, + unit_config: Orb::Models::Price::UnitPrice::UnitConfig, + dimensional_price_configuration: Orb::Models::Price::UnitPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package, + id: String, + billable_metric: Orb::Models::Price::PackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackagePrice::Item, + maximum: Orb::Models::Price::PackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_config: Orb::Models::Price::PackagePrice::PackageConfig, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix, + id: String, + billable_metric: Orb::Models::Price::MatrixPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixPrice::Item, + matrix_config: Orb::Models::Price::MatrixPrice::MatrixConfig, + maximum: Orb::Models::Price::MatrixPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered, + id: String, + billable_metric: Orb::Models::Price::TieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPrice::Item, + maximum: Orb::Models::Price::TieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPrice::PriceType, + tiered_config: Orb::Models::Price::TieredPrice::TieredConfig, + dimensional_price_configuration: Orb::Models::Price::TieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_bps, + id: String, + billable_metric: Orb::Models::Price::TieredBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredBpsPrice::Item, + maximum: Orb::Models::Price::TieredBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredBpsPrice::PriceType, + tiered_bps_config: Orb::Models::Price::TieredBpsPrice::TieredBpsConfig, + dimensional_price_configuration: Orb::Models::Price::TieredBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bps, + id: String, + billable_metric: Orb::Models::Price::BpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BpsPrice::BillingCycleConfiguration, + bps_config: Orb::Models::Price::BpsPrice::BpsConfig, + cadence: Orb::Models::Price::BpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BpsPrice::Item, + maximum: Orb::Models::Price::BpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_bps, + id: String, + billable_metric: Orb::Models::Price::BulkBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::BillingCycleConfiguration, + bulk_bps_config: Orb::Models::Price::BulkBpsPrice::BulkBpsConfig, + cadence: Orb::Models::Price::BulkBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkBpsPrice::Item, + maximum: Orb::Models::Price::BulkBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkBpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk, + id: String, + billable_metric: Orb::Models::Price::BulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkPrice::BillingCycleConfiguration, + bulk_config: Orb::Models::Price::BulkPrice::BulkConfig, + cadence: Orb::Models::Price::BulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkPrice::Item, + maximum: Orb::Models::Price::BulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :threshold_total_amount, + id: String, + billable_metric: Orb::Models::Price::ThresholdTotalAmountPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ThresholdTotalAmountPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ThresholdTotalAmountPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ThresholdTotalAmountPrice::Item, + maximum: Orb::Models::Price::ThresholdTotalAmountPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ThresholdTotalAmountPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ThresholdTotalAmountPrice::PriceType, + threshold_total_amount_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package, + id: String, + billable_metric: Orb::Models::Price::TieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackagePrice::Item, + maximum: Orb::Models::Price::TieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackagePrice::PriceType, + tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPrice::Item, + maximum: Orb::Models::Price::GroupedTieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithMinimumPrice::PriceType, + tiered_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredPackageWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackageWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackageWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackageWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredPackageWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackageWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackageWithMinimumPrice::PriceType, + tiered_package_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package_with_allocation, + id: String, + billable_metric: Orb::Models::Price::PackageWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackageWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackageWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackageWithAllocationPrice::Item, + maximum: Orb::Models::Price::PackageWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackageWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_with_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackageWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackageWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_percent, + id: String, + billable_metric: Orb::Models::Price::UnitWithPercentPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithPercentPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithPercentPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithPercentPrice::Item, + maximum: Orb::Models::Price::UnitWithPercentPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithPercentPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithPercentPrice::PriceType, + unit_with_percent_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithPercentPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_allocation, + id: String, + billable_metric: Orb::Models::Price::MatrixWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithAllocationPrice::Item, + matrix_with_allocation_config: Orb::Models::Price::MatrixWithAllocationPrice::MatrixWithAllocationConfig, + maximum: Orb::Models::Price::MatrixWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_proration, + id: String, + billable_metric: Orb::Models::Price::TieredWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithProrationPrice::Item, + maximum: Orb::Models::Price::TieredWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithProrationPrice::PriceType, + tiered_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_proration, + id: String, + billable_metric: Orb::Models::Price::UnitWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithProrationPrice::Item, + maximum: Orb::Models::Price::UnitWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithProrationPrice::PriceType, + unit_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_allocation, + id: String, + billable_metric: Orb::Models::Price::GroupedAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedAllocationPrice::Item, + maximum: Orb::Models::Price::GroupedAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_prorated_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithProratedMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithProratedMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithProratedMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithProratedMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_metered_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithMeteredMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithMeteredMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_display_name, + id: String, + billable_metric: Orb::Models::Price::MatrixWithDisplayNamePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithDisplayNamePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithDisplayNamePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithDisplayNamePrice::Item, + matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MatrixWithDisplayNamePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithDisplayNamePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithDisplayNamePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_with_proration, + id: String, + billable_metric: Orb::Models::Price::BulkWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::BillingCycleConfiguration, + bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + cadence: Orb::Models::Price::BulkWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkWithProrationPrice::Item, + maximum: Orb::Models::Price::BulkWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkWithProrationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered_package, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPackagePrice::Item, + maximum: Orb::Models::Price::GroupedTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :max_group_tiered_package, + id: String, + billable_metric: Orb::Models::Price::MaxGroupTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MaxGroupTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MaxGroupTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MaxGroupTieredPackagePrice::Item, + max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MaxGroupTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MaxGroupTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MaxGroupTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_unit_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::PriceType, + scalable_matrix_with_unit_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_tiered_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::PriceType, + scalable_matrix_with_tiered_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :cumulative_grouped_bulk, + id: String, + billable_metric: Orb::Models::Price::CumulativeGroupedBulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::CumulativeGroupedBulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::CumulativeGroupedBulkPrice::CreditAllocation | nil, + cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::CumulativeGroupedBulkPrice::Item, + maximum: Orb::Models::Price::CumulativeGroupedBulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::CumulativeGroupedBulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::CumulativeGroupedBulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::DimensionalPriceConfiguration | nil + } + end + end end def test_evaluate_required_params @@ -68,5 +2366,771 @@ def test_fetch assert_pattern do response => Orb::Models::Price end + + assert_pattern do + case response + in Orb::Models::Price::UnitPrice + in Orb::Models::Price::PackagePrice + in Orb::Models::Price::MatrixPrice + in Orb::Models::Price::TieredPrice + in Orb::Models::Price::TieredBpsPrice + in Orb::Models::Price::BpsPrice + in Orb::Models::Price::BulkBpsPrice + in Orb::Models::Price::BulkPrice + in Orb::Models::Price::ThresholdTotalAmountPrice + in Orb::Models::Price::TieredPackagePrice + in Orb::Models::Price::GroupedTieredPrice + in Orb::Models::Price::TieredWithMinimumPrice + in Orb::Models::Price::TieredPackageWithMinimumPrice + in Orb::Models::Price::PackageWithAllocationPrice + in Orb::Models::Price::UnitWithPercentPrice + in Orb::Models::Price::MatrixWithAllocationPrice + in Orb::Models::Price::TieredWithProrationPrice + in Orb::Models::Price::UnitWithProrationPrice + in Orb::Models::Price::GroupedAllocationPrice + in Orb::Models::Price::GroupedWithProratedMinimumPrice + in Orb::Models::Price::GroupedWithMeteredMinimumPrice + in Orb::Models::Price::MatrixWithDisplayNamePrice + in Orb::Models::Price::BulkWithProrationPrice + in Orb::Models::Price::GroupedTieredPackagePrice + in Orb::Models::Price::MaxGroupTieredPackagePrice + in Orb::Models::Price::ScalableMatrixWithUnitPricingPrice + in Orb::Models::Price::ScalableMatrixWithTieredPricingPrice + in Orb::Models::Price::CumulativeGroupedBulkPrice + end + end + + assert_pattern do + case response + in { + model_type: :unit, + id: String, + billable_metric: Orb::Models::Price::UnitPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitPrice::Item, + maximum: Orb::Models::Price::UnitPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitPrice::PriceType, + unit_config: Orb::Models::Price::UnitPrice::UnitConfig, + dimensional_price_configuration: Orb::Models::Price::UnitPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package, + id: String, + billable_metric: Orb::Models::Price::PackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackagePrice::Item, + maximum: Orb::Models::Price::PackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_config: Orb::Models::Price::PackagePrice::PackageConfig, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix, + id: String, + billable_metric: Orb::Models::Price::MatrixPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixPrice::Item, + matrix_config: Orb::Models::Price::MatrixPrice::MatrixConfig, + maximum: Orb::Models::Price::MatrixPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered, + id: String, + billable_metric: Orb::Models::Price::TieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPrice::Item, + maximum: Orb::Models::Price::TieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPrice::PriceType, + tiered_config: Orb::Models::Price::TieredPrice::TieredConfig, + dimensional_price_configuration: Orb::Models::Price::TieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_bps, + id: String, + billable_metric: Orb::Models::Price::TieredBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredBpsPrice::Item, + maximum: Orb::Models::Price::TieredBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredBpsPrice::PriceType, + tiered_bps_config: Orb::Models::Price::TieredBpsPrice::TieredBpsConfig, + dimensional_price_configuration: Orb::Models::Price::TieredBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bps, + id: String, + billable_metric: Orb::Models::Price::BpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BpsPrice::BillingCycleConfiguration, + bps_config: Orb::Models::Price::BpsPrice::BpsConfig, + cadence: Orb::Models::Price::BpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BpsPrice::Item, + maximum: Orb::Models::Price::BpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_bps, + id: String, + billable_metric: Orb::Models::Price::BulkBpsPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::BillingCycleConfiguration, + bulk_bps_config: Orb::Models::Price::BulkBpsPrice::BulkBpsConfig, + cadence: Orb::Models::Price::BulkBpsPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkBpsPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkBpsPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkBpsPrice::Item, + maximum: Orb::Models::Price::BulkBpsPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkBpsPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkBpsPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkBpsPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk, + id: String, + billable_metric: Orb::Models::Price::BulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkPrice::BillingCycleConfiguration, + bulk_config: Orb::Models::Price::BulkPrice::BulkConfig, + cadence: Orb::Models::Price::BulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkPrice::Item, + maximum: Orb::Models::Price::BulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :threshold_total_amount, + id: String, + billable_metric: Orb::Models::Price::ThresholdTotalAmountPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ThresholdTotalAmountPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ThresholdTotalAmountPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ThresholdTotalAmountPrice::Item, + maximum: Orb::Models::Price::ThresholdTotalAmountPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ThresholdTotalAmountPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ThresholdTotalAmountPrice::PriceType, + threshold_total_amount_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ThresholdTotalAmountPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package, + id: String, + billable_metric: Orb::Models::Price::TieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackagePrice::Item, + maximum: Orb::Models::Price::TieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackagePrice::PriceType, + tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPrice::Item, + maximum: Orb::Models::Price::GroupedTieredPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithMinimumPrice::PriceType, + tiered_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_package_with_minimum, + id: String, + billable_metric: Orb::Models::Price::TieredPackageWithMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredPackageWithMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredPackageWithMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredPackageWithMinimumPrice::Item, + maximum: Orb::Models::Price::TieredPackageWithMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredPackageWithMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredPackageWithMinimumPrice::PriceType, + tiered_package_with_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredPackageWithMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :package_with_allocation, + id: String, + billable_metric: Orb::Models::Price::PackageWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::PackageWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::PackageWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::PackageWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::PackageWithAllocationPrice::Item, + maximum: Orb::Models::Price::PackageWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::PackageWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + package_with_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::PackageWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::PackageWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_percent, + id: String, + billable_metric: Orb::Models::Price::UnitWithPercentPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithPercentPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithPercentPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithPercentPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithPercentPrice::Item, + maximum: Orb::Models::Price::UnitWithPercentPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithPercentPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithPercentPrice::PriceType, + unit_with_percent_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithPercentPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_allocation, + id: String, + billable_metric: Orb::Models::Price::MatrixWithAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithAllocationPrice::Item, + matrix_with_allocation_config: Orb::Models::Price::MatrixWithAllocationPrice::MatrixWithAllocationConfig, + maximum: Orb::Models::Price::MatrixWithAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :tiered_with_proration, + id: String, + billable_metric: Orb::Models::Price::TieredWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::TieredWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::TieredWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::TieredWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::TieredWithProrationPrice::Item, + maximum: Orb::Models::Price::TieredWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::TieredWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::TieredWithProrationPrice::PriceType, + tiered_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::TieredWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :unit_with_proration, + id: String, + billable_metric: Orb::Models::Price::UnitWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::UnitWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::UnitWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::UnitWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::UnitWithProrationPrice::Item, + maximum: Orb::Models::Price::UnitWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::UnitWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::UnitWithProrationPrice::PriceType, + unit_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::UnitWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_allocation, + id: String, + billable_metric: Orb::Models::Price::GroupedAllocationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedAllocationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedAllocationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_allocation_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedAllocationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedAllocationPrice::Item, + maximum: Orb::Models::Price::GroupedAllocationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedAllocationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedAllocationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedAllocationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_prorated_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithProratedMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithProratedMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_prorated_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithProratedMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithProratedMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithProratedMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithProratedMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_with_metered_minimum, + id: String, + billable_metric: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedWithMeteredMinimumPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_with_metered_minimum_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Item, + maximum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedWithMeteredMinimumPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedWithMeteredMinimumPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedWithMeteredMinimumPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :matrix_with_display_name, + id: String, + billable_metric: Orb::Models::Price::MatrixWithDisplayNamePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MatrixWithDisplayNamePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MatrixWithDisplayNamePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MatrixWithDisplayNamePrice::Item, + matrix_with_display_name_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MatrixWithDisplayNamePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MatrixWithDisplayNamePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MatrixWithDisplayNamePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MatrixWithDisplayNamePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :bulk_with_proration, + id: String, + billable_metric: Orb::Models::Price::BulkWithProrationPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::BillingCycleConfiguration, + bulk_with_proration_config: ^(Orb::HashOf[Orb::Unknown]), + cadence: Orb::Models::Price::BulkWithProrationPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::BulkWithProrationPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::BulkWithProrationPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::BulkWithProrationPrice::Item, + maximum: Orb::Models::Price::BulkWithProrationPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::BulkWithProrationPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::BulkWithProrationPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::BulkWithProrationPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :grouped_tiered_package, + id: String, + billable_metric: Orb::Models::Price::GroupedTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::GroupedTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::GroupedTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + grouped_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + invoicing_cycle_configuration: Orb::Models::Price::GroupedTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::GroupedTieredPackagePrice::Item, + maximum: Orb::Models::Price::GroupedTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::GroupedTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::GroupedTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::GroupedTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :max_group_tiered_package, + id: String, + billable_metric: Orb::Models::Price::MaxGroupTieredPackagePrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::MaxGroupTieredPackagePrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::MaxGroupTieredPackagePrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::MaxGroupTieredPackagePrice::Item, + max_group_tiered_package_config: ^(Orb::HashOf[Orb::Unknown]), + maximum: Orb::Models::Price::MaxGroupTieredPackagePrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::MaxGroupTieredPackagePrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::MaxGroupTieredPackagePrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::MaxGroupTieredPackagePrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_unit_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::PriceType, + scalable_matrix_with_unit_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :scalable_matrix_with_tiered_pricing, + id: String, + billable_metric: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::CreditAllocation | nil, + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Item, + maximum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::PriceType, + scalable_matrix_with_tiered_pricing_config: ^(Orb::HashOf[Orb::Unknown]), + dimensional_price_configuration: Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::DimensionalPriceConfiguration | nil + } + in { + model_type: :cumulative_grouped_bulk, + id: String, + billable_metric: Orb::Models::Price::CumulativeGroupedBulkPrice::BillableMetric | nil, + billing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::BillingCycleConfiguration, + cadence: Orb::Models::Price::CumulativeGroupedBulkPrice::Cadence, + conversion_rate: Float | nil, + created_at: Time, + credit_allocation: Orb::Models::Price::CumulativeGroupedBulkPrice::CreditAllocation | nil, + cumulative_grouped_bulk_config: ^(Orb::HashOf[Orb::Unknown]), + currency: String, + discount: Orb::Models::Discount | nil, + external_price_id: String | nil, + fixed_price_quantity: Float | nil, + invoicing_cycle_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::InvoicingCycleConfiguration | nil, + item: Orb::Models::Price::CumulativeGroupedBulkPrice::Item, + maximum: Orb::Models::Price::CumulativeGroupedBulkPrice::Maximum | nil, + maximum_amount: String | nil, + metadata: ^(Orb::HashOf[String]), + minimum: Orb::Models::Price::CumulativeGroupedBulkPrice::Minimum | nil, + minimum_amount: String | nil, + name: String, + plan_phase_order: Integer | nil, + price_type: Orb::Models::Price::CumulativeGroupedBulkPrice::PriceType, + dimensional_price_configuration: Orb::Models::Price::CumulativeGroupedBulkPrice::DimensionalPriceConfiguration | nil + } + end + end end end diff --git a/test/orb/resources/subscriptions_test.rb b/test/orb/resources/subscriptions_test.rb index 0b924d6d..4741e631 100644 --- a/test/orb/resources/subscriptions_test.rb +++ b/test/orb/resources/subscriptions_test.rb @@ -252,6 +252,13 @@ def test_fetch_usage assert_pattern do response => Orb::Models::SubscriptionUsage end + + assert_pattern do + case response + in Orb::Models::SubscriptionUsage::UngroupedSubscriptionUsage + in Orb::Models::SubscriptionUsage::GroupedSubscriptionUsage + end + end end def test_price_intervals diff --git a/test/orb/util_test.rb b/test/orb/util_test.rb index 529cad4c..123edb68 100644 --- a/test/orb/util_test.rb +++ b/test/orb/util_test.rb @@ -320,8 +320,8 @@ def test_close_fused_sse_chain .map(&:to_s) fused_1 = Orb::Util.fused_enum(enum) - fused_2 = Orb::Util.enum_lines(fused_1) - fused_3 = Orb::Util.parse_sse(fused_2) + fused_2 = Orb::Util.decode_lines(fused_1) + fused_3 = Orb::Util.decode_sse(fused_2) assert_equal(0, taken) Orb::Util.close_fused!(fused_3) @@ -330,7 +330,7 @@ def test_close_fused_sse_chain end class Orb::Test::UtilSseTest < Minitest::Test - def test_enum_lines + def test_decode_lines cases = { %w[] => %w[], %W[\n\n] => %W[\n \n], @@ -340,15 +340,37 @@ def test_enum_lines %W[a\nb\n] => %W[a\n b\n], %W[\na b\n] => %W[\n ab\n], %W[\na b\n\n] => %W[\n ab\n \n], - %W[\na b] => %W[\n ab] + %W[\na b] => %W[\n ab], + %W[\u1F62E\u200D\u1F4A8] => %W[\u1F62E\u200D\u1F4A8], + %W[\u1F62E \u200D \u1F4A8] => %W[\u1F62E\u200D\u1F4A8] } + eols = %W[\n \r \r\n] cases.each do |enum, expected| - lines = Orb::Util.enum_lines(enum) + eols.each do |eol| + lines = Orb::Util.decode_lines(enum.map { _1.gsub("\n", eol) }) + assert_equal(expected.map { _1.gsub("\n", eol) }, lines.to_a, "eol=#{JSON.generate(eol)}") + end + end + end + + def test_mixed_decode_lines + cases = { + %w[] => %w[], + %W[\r\r] => %W[\r \r], + %W[\r \r] => %W[\r \r], + %W[\r\r\r] => %W[\r \r \r], + %W[\r\r \r] => %W[\r \r \r], + %W[\r \n] => %W[\r\n], + %W[\r\r\n] => %W[\r \r\n], + %W[\n\r] => %W[\n \r] + } + cases.each do |enum, expected| + lines = Orb::Util.decode_lines(enum) assert_equal(expected, lines.to_a) end end - def test_parse_sse + def test_decode_sse cases = { "empty input" => { [] => [] @@ -372,8 +394,8 @@ def test_parse_sse }, "complete event" => { [ - "event: update\n", "id: 123\n", + "event: update\n", "data: hello world\n", "retry: 5000\n", "\n" @@ -454,12 +476,19 @@ def test_parse_sse {data: "first\n"}, {data: "second\n"} ] + }, + "multibyte unicode" => { + [ + "data: \u1F62E\u200D\u1F4A8\n" + ] => [ + {data: "\u1F62E\u200D\u1F4A8\n"} + ] } } cases.each do |name, test_cases| test_cases.each do |input, expected| - actual = Orb::Util.parse_sse(input).map(&:compact) + actual = Orb::Util.decode_sse(input).map(&:compact) assert_equal(expected, actual, name) end end