Class: Stripe::GiftCards::Card::CreateParams::CreatedBy::Payment

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/gift_cards/card.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.



71
72
73
# File 'lib/stripe/resources/gift_cards/card.rb', line 71

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

Instance Attribute Details

#payment_intentObject

The PaymentIntent used to collect payment for this object.



69
70
71
# File 'lib/stripe/resources/gift_cards/card.rb', line 69

def payment_intent
  @payment_intent
end