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



806
807
808
809
# File 'lib/stripe/params/quote_create_params.rb', line 806

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

Instance Attribute Details

#priceObject

The ID of the price object.



802
803
804
# File 'lib/stripe/params/quote_create_params.rb', line 802

def price
  @price
end

#typeObject

Controls which subscription items the billing schedule applies to.



804
805
806
# File 'lib/stripe/params/quote_create_params.rb', line 804

def type
  @type
end