Class: Stripe::InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/invoice_create_preview_params.rb

Defined Under Namespace

Classes: AppliesTo

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(applies_to: nil, type: nil) ⇒ BillingSchedulesAction

Returns a new instance of BillingSchedulesAction.



445
446
447
448
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 445

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

Instance Attribute Details

#applies_toObject

Specify which subscription items the billing schedule applies to.



441
442
443
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 441

def applies_to
  @applies_to
end

#typeObject

Select the action.



443
444
445
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 443

def type
  @type
end