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.



497
498
499
500
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 497

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.



493
494
495
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 493

def applies_to
  @applies_to
end

#typeObject

Select the action.



495
496
497
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 495

def type
  @type
end