Class: Stripe::QuotePreviewSubscriptionSchedule::Phase::Discount
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::QuotePreviewSubscriptionSchedule::Phase::Discount
- Defined in:
- lib/stripe/resources/quote_preview_subscription_schedule.rb
Defined Under Namespace
Classes: DiscountEnd
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#coupon ⇒ Object
readonly
Returns the value of attribute coupon.
-
#discount ⇒ Object
readonly
Returns the value of attribute discount.
-
#discount_end ⇒ Object
readonly
Returns the value of attribute discount_end.
-
#promotion_code ⇒ Object
readonly
Returns the value of attribute promotion_code.
Attributes inherited from StripeObject
Method Summary
Methods inherited from StripeObject
#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#coupon ⇒ Object (readonly)
Returns the value of attribute coupon.
77 78 79 |
# File 'lib/stripe/resources/quote_preview_subscription_schedule.rb', line 77 def coupon @coupon end |
#discount ⇒ Object (readonly)
Returns the value of attribute discount.
77 78 79 |
# File 'lib/stripe/resources/quote_preview_subscription_schedule.rb', line 77 def discount @discount end |
#discount_end ⇒ Object (readonly)
Returns the value of attribute discount_end.
77 78 79 |
# File 'lib/stripe/resources/quote_preview_subscription_schedule.rb', line 77 def discount_end @discount_end end |
#promotion_code ⇒ Object (readonly)
Returns the value of attribute promotion_code.
77 78 79 |
# File 'lib/stripe/resources/quote_preview_subscription_schedule.rb', line 77 def promotion_code @promotion_code end |