Class: Stripe::QuoteUpdateParams::SubscriptionDataOverride::BillingSchedule::AppliesTo

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/quote_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(price: nil, type: nil) ⇒ AppliesTo

Returns a new instance of AppliesTo.



1245
1246
1247
1248
# File 'lib/stripe/params/quote_update_params.rb', line 1245

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

Instance Attribute Details

#priceObject

The ID of the price object.



1241
1242
1243
# File 'lib/stripe/params/quote_update_params.rb', line 1241

def price
  @price
end

#typeObject

Controls which subscription items the billing schedule applies to.



1243
1244
1245
# File 'lib/stripe/params/quote_update_params.rb', line 1243

def type
  @type
end