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

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

Defined Under Namespace

Classes: Payment

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(payment: nil, type: nil) ⇒ CreatedBy

Returns a new instance of CreatedBy.



40
41
42
43
# File 'lib/stripe/services/gift_cards/card_service.rb', line 40

def initialize(payment: nil, type: nil)
  @payment = payment
  @type = type
end

Instance Attribute Details

#paymentObject

The details for the payment that created this object.



36
37
38
# File 'lib/stripe/services/gift_cards/card_service.rb', line 36

def payment
  @payment
end

#typeObject

The type of event that created this object.



38
39
40
# File 'lib/stripe/services/gift_cards/card_service.rb', line 38

def type
  @type
end