Class: Stripe::SubscriptionSchedule::AmendParams::Amendment::DiscountAction::Add::DiscountEnd

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/subscription_schedule.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(type: nil) ⇒ DiscountEnd

Returns a new instance of DiscountEnd.



1846
1847
1848
# File 'lib/stripe/resources/subscription_schedule.rb', line 1846

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

Instance Attribute Details

#typeObject

The type of calculation made to determine when the discount ends.



1844
1845
1846
# File 'lib/stripe/resources/subscription_schedule.rb', line 1844

def type
  @type
end