Class: Stripe::BillingPortal::Session::Flow::SubscriptionUpdateConfirm::Discount
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::BillingPortal::Session::Flow::SubscriptionUpdateConfirm::Discount
- Defined in:
- lib/stripe/resources/billing_portal/session.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#coupon ⇒ Object
readonly
The ID of the coupon to apply to this subscription update.
-
#promotion_code ⇒ Object
readonly
The ID of a promotion code to apply to this subscription update.
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)
The ID of the coupon to apply to this subscription update.
72 73 74 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 72 def coupon @coupon end |
#promotion_code ⇒ Object (readonly)
The ID of a promotion code to apply to this subscription update.
74 75 76 |
# File 'lib/stripe/resources/billing_portal/session.rb', line 74 def promotion_code @promotion_code end |