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

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

Constructor Details

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

Returns a new instance of AppliesTo.



1305
1306
1307
1308
# File 'lib/stripe/params/quote_create_params.rb', line 1305

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

Instance Attribute Details

#priceObject

The ID of the price object.



1301
1302
1303
# File 'lib/stripe/params/quote_create_params.rb', line 1301

def price
  @price
end

#typeObject

Controls which subscription items the billing schedule applies to.



1303
1304
1305
# File 'lib/stripe/params/quote_create_params.rb', line 1303

def type
  @type
end