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



423
424
425
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 423

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

Instance Attribute Details

#discountObject

The ID of a specific discount.



421
422
423
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 421

def discount
  @discount
end