Class: Stripe::V2::Billing::IntentCreateParams::Action::Apply::SpendModifierRule::MaxBillingPeriodSpend::Amount::CustomPricingUnit

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/intent_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(value: nil) ⇒ CustomPricingUnit

Returns a new instance of CustomPricingUnit.



88
89
90
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 88

def initialize(value: nil)
  @value = value
end

Instance Attribute Details

#valueObject

The value of the custom pricing unit.



86
87
88
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 86

def value
  @value
end