Class: Stigg::Models::V1::SubscriptionListResponse::Price
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::SubscriptionListResponse::Price
- Defined in:
- lib/stigg/models/v1/subscription_list_response.rb
Defined Under Namespace
Modules: Currency Classes: Tier
Instance Attribute Summary collapse
-
#addon_id ⇒ String?
Addon identifier for the price override.
-
#amount ⇒ Float?
The price amount.
-
#base_charge ⇒ Boolean?
Whether this is a base charge override.
-
#billing_country_code ⇒ String?
The billing country code of the price.
-
#block_size ⇒ Float?
Block size for pricing.
-
#currency ⇒ Symbol, ...
The price currency.
-
#feature_id ⇒ String?
Feature identifier for the price override.
-
#tiers ⇒ Array<Stigg::Models::V1::SubscriptionListResponse::Price::Tier>?
Pricing tiers configuration.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(addon_id: nil, amount: nil, base_charge: nil, billing_country_code: nil, block_size: nil, currency: nil, feature_id: nil, tiers: nil) ⇒ Object
|
|
# File 'lib/stigg/models/v1/subscription_list_response.rb', line 1012
|
Instance Attribute Details
#addon_id ⇒ String?
Addon identifier for the price override
967 |
# File 'lib/stigg/models/v1/subscription_list_response.rb', line 967 optional :addon_id, String, api_name: :addonId, nil?: true |
#amount ⇒ Float?
The price amount
973 |
# File 'lib/stigg/models/v1/subscription_list_response.rb', line 973 optional :amount, Float |
#base_charge ⇒ Boolean?
Whether this is a base charge override
979 |
# File 'lib/stigg/models/v1/subscription_list_response.rb', line 979 optional :base_charge, Stigg::Internal::Type::Boolean, api_name: :baseCharge |
#billing_country_code ⇒ String?
The billing country code of the price
985 |
# File 'lib/stigg/models/v1/subscription_list_response.rb', line 985 optional :billing_country_code, String, api_name: :billingCountryCode |
#block_size ⇒ Float?
Block size for pricing
991 |
# File 'lib/stigg/models/v1/subscription_list_response.rb', line 991 optional :block_size, Float, api_name: :blockSize |
#currency ⇒ Symbol, ...
The price currency
997 |
# File 'lib/stigg/models/v1/subscription_list_response.rb', line 997 optional :currency, enum: -> { Stigg::Models::V1::SubscriptionListResponse::Price::Currency } |
#feature_id ⇒ String?
Feature identifier for the price override
1003 |
# File 'lib/stigg/models/v1/subscription_list_response.rb', line 1003 optional :feature_id, String, api_name: :featureId, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/stigg/models/v1/subscription_list_response.rb', line 1152
|