Class: Stripe::GiftCards::CardService::CreateParams::CreatedBy::Payment
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::GiftCards::CardService::CreateParams::CreatedBy::Payment
- Defined in:
- lib/stripe/services/gift_cards/card_service.rb
Instance Attribute Summary collapse
-
#payment_intent ⇒ Object
The PaymentIntent used to collect payment for this object.
Instance Method Summary collapse
-
#initialize(payment_intent: nil) ⇒ Payment
constructor
A new instance of Payment.
Methods inherited from RequestParams
Constructor Details
#initialize(payment_intent: nil) ⇒ Payment
Returns a new instance of Payment.
31 32 33 |
# File 'lib/stripe/services/gift_cards/card_service.rb', line 31 def initialize(payment_intent: nil) @payment_intent = payment_intent end |
Instance Attribute Details
#payment_intent ⇒ Object
The PaymentIntent used to collect payment for this object.
29 30 31 |
# File 'lib/stripe/services/gift_cards/card_service.rb', line 29 def payment_intent @payment_intent end |