Class: Stripe::InvoiceCreatePreviewParams::ScheduleDetails::Amendment::AmendmentEnd::DiscountEnd

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, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(discount: nil) ⇒ DiscountEnd

Returns a new instance of DiscountEnd.



376
377
378
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 376

def initialize(discount: nil)
  @discount = discount
end

Instance Attribute Details

#discountObject

The ID of a specific discount.



374
375
376
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 374

def discount
  @discount
end