Class: Stripe::GiftCards::CardService::CreateParams::CreatedBy::Payment

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/gift_cards/card_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(payment_intent: nil) ⇒ Payment

Returns a new instance of Payment.



34
35
36
# File 'lib/stripe/services/gift_cards/card_service.rb', line 34

def initialize(payment_intent: nil)
  @payment_intent = payment_intent
end

Instance Attribute Details

#payment_intentObject

The PaymentIntent used to collect payment for this object.



32
33
34
# File 'lib/stripe/services/gift_cards/card_service.rb', line 32

def payment_intent
  @payment_intent
end