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

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

Defined Under Namespace

Classes: CustomPricingUnit

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(type: nil, custom_pricing_unit: nil) ⇒ Amount

Returns a new instance of Amount.



69
70
71
72
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 69

def initialize(type: nil, custom_pricing_unit: nil)
  @type = type
  @custom_pricing_unit = custom_pricing_unit
end

Instance Attribute Details

#custom_pricing_unitObject

The custom pricing unit amount.



67
68
69
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 67

def custom_pricing_unit
  @custom_pricing_unit
end

#typeObject

The type of the amount.



65
66
67
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 65

def type
  @type
end