Class: Stripe::InvoiceCreatePreviewParams::SubscriptionDetails::BillingSchedule::AppliesTo

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/invoice_create_preview_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.



1950
1951
1952
1953
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1950

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

Instance Attribute Details

#priceObject

The ID of the price object.



1946
1947
1948
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1946

def price
  @price
end

#typeObject

Controls which subscription items the billing schedule applies to.



1948
1949
1950
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1948

def type
  @type
end