Module: Dodopayments::Models::Price
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/dodopayments/models/price.rb
Overview
One-time price details.
Defined Under Namespace
Classes: OneTimePrice, RecurringPrice, UsageBasedPrice
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(currency:, discount:, payment_frequency_count:, payment_frequency_interval:, price:, purchasing_power_parity:, subscription_period_count:, subscription_period_interval:, tax_inclusive: nil, trial_period_days: nil, type: :recurring_price) ⇒ Object
Some parameter documentations has been truncated, see RecurringPrice for more details.
Methods included from Internal::Type::Union
==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Class Method Details
.variants ⇒ Array(Dodopayments::Models::Price::OneTimePrice, Dodopayments::Models::Price::RecurringPrice, Dodopayments::Models::Price::UsageBasedPrice)
|
|
# File 'lib/dodopayments/models/price.rb', line 300
|
Instance Method Details
#initialize(currency:, discount:, payment_frequency_count:, payment_frequency_interval:, price:, purchasing_power_parity:, subscription_period_count:, subscription_period_interval:, tax_inclusive: nil, trial_period_days: nil, type: :recurring_price) ⇒ Object
Some parameter documentations has been truncated, see RecurringPrice for more details.
Recurring price details.
|
|
# File 'lib/dodopayments/models/price.rb', line 76
|