Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::LodgingDatum::Total::Discounts
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::LodgingDatum::Total::Discounts
- Defined in:
- lib/stripe/params/payment_intent_capture_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.
1606 1607 1608 1609 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1606 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.
1602 1603 1604 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1602 def corporate_client_code @corporate_client_code end |
#coupon ⇒ Object
Coupon code.
1604 1605 1606 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1604 def coupon @coupon end |