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

#to_h

Constructor Details

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

Returns a new instance of AppliesTo.



779
780
781
782
# File 'lib/stripe/params/quote_update_params.rb', line 779

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

Instance Attribute Details

#priceObject

The ID of the price object.



775
776
777
# File 'lib/stripe/params/quote_update_params.rb', line 775

def price
  @price
end

#typeObject

Controls which subscription items the billing schedule applies to.



777
778
779
# File 'lib/stripe/params/quote_update_params.rb', line 777

def type
  @type
end