Class: Stripe::QuoteCreateParams::SubscriptionDataOverride::BillingSchedule::AppliesTo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of AppliesTo.



1268
1269
1270
1271
# File 'lib/stripe/params/quote_create_params.rb', line 1268

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

Instance Attribute Details

#priceObject

The ID of the price object.



1264
1265
1266
# File 'lib/stripe/params/quote_create_params.rb', line 1264

def price
  @price
end

#typeObject

Controls which subscription items the billing schedule applies to.



1266
1267
1268
# File 'lib/stripe/params/quote_create_params.rb', line 1266

def type
  @type
end