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.



1060
1061
1062
1063
# File 'lib/stripe/params/quote_create_params.rb', line 1060

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

Instance Attribute Details

#priceObject

The ID of the price object.



1056
1057
1058
# File 'lib/stripe/params/quote_create_params.rb', line 1056

def price
  @price
end

#typeObject

Controls which subscription items the billing schedule applies to.



1058
1059
1060
# File 'lib/stripe/params/quote_create_params.rb', line 1058

def type
  @type
end