Class: Stripe::PaymentIntentCreateParams::PaymentDetails::LodgingDatum::Total::Discounts
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentDetails::LodgingDatum::Total::Discounts
- Defined in:
- lib/stripe/params/payment_intent_create_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.
1685 1686 1687 1688 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1685 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.
1681 1682 1683 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1681 def corporate_client_code @corporate_client_code end |
#coupon ⇒ Object
Coupon code.
1683 1684 1685 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1683 def coupon @coupon end |