Class: Stripe::InvoiceCreatePreviewParams::ScheduleDetails::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

attr_accessor, new, #to_h

Constructor Details

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

Returns a new instance of AppliesTo.



1132
1133
1134
1135
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1132

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

Instance Attribute Details

#priceObject

The ID of the price object.



1128
1129
1130
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1128

def price
  @price
end

#typeObject

Controls which subscription items the billing schedule applies to.



1130
1131
1132
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 1130

def type
  @type
end