Class: Stripe::QuoteUpdateParams::SubscriptionData::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.



987
988
989
990
# File 'lib/stripe/params/quote_update_params.rb', line 987

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

Instance Attribute Details

#priceObject

The ID of the price object.



983
984
985
# File 'lib/stripe/params/quote_update_params.rb', line 983

def price
  @price
end

#typeObject

Controls which subscription items the billing schedule applies to.



985
986
987
# File 'lib/stripe/params/quote_update_params.rb', line 985

def type
  @type
end