Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::LodgingDatum::Total::Discounts
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentUpdateParams::PaymentDetails::LodgingDatum::Total::Discounts
- Defined in:
- lib/stripe/params/payment_intent_update_params.rb
Instance Attribute Summary collapse
-
#corporate_client_code ⇒ Object
Corporate client discount code.
-
#coupon ⇒ Object
Coupon code.
Instance Method Summary collapse
-
#initialize(corporate_client_code: nil, coupon: nil) ⇒ Discounts
constructor
A new instance of Discounts.
Methods inherited from RequestParams
Constructor Details
#initialize(corporate_client_code: nil, coupon: nil) ⇒ Discounts
Returns a new instance of Discounts.
1650 1651 1652 1653 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1650 def initialize(corporate_client_code: nil, coupon: nil) @corporate_client_code = corporate_client_code @coupon = coupon end |
Instance Attribute Details
#corporate_client_code ⇒ Object
Corporate client discount code.
1646 1647 1648 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1646 def corporate_client_code @corporate_client_code end |
#coupon ⇒ Object
Coupon code.
1648 1649 1650 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1648 def coupon @coupon end |