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



435
436
437
438
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 435

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

Instance Attribute Details

#priceObject

The ID of the price object.



431
432
433
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 431

def price
  @price
end

#typeObject

Controls which subscription items the billing schedule applies to.



433
434
435
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 433

def type
  @type
end