Class: Stripe::V2::Billing::IntentCreateParams::Action::Apply::SpendModifierRule::MaxBillingPeriodSpend::Amount
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentCreateParams::Action::Apply::SpendModifierRule::MaxBillingPeriodSpend::Amount
- Defined in:
- lib/stripe/params/v2/billing/intent_create_params.rb
Defined Under Namespace
Classes: CustomPricingUnit
Instance Attribute Summary collapse
-
#custom_pricing_unit ⇒ Object
The custom pricing unit amount.
-
#type ⇒ Object
The type of the amount.
Instance Method Summary collapse
-
#initialize(custom_pricing_unit: nil, type: nil) ⇒ Amount
constructor
A new instance of Amount.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(custom_pricing_unit: nil, type: nil) ⇒ Amount
Returns a new instance of Amount.
100 101 102 103 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 100 def initialize(custom_pricing_unit: nil, type: nil) @custom_pricing_unit = custom_pricing_unit @type = type end |
Instance Attribute Details
#custom_pricing_unit ⇒ Object
The custom pricing unit amount.
96 97 98 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 96 def custom_pricing_unit @custom_pricing_unit end |
#type ⇒ Object
The type of the amount.
98 99 100 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 98 def type @type end |