Class: Stripe::PaymentIntentService::CaptureParams::PaymentDetails::Flight::Affiliate

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(name: nil) ⇒ Affiliate

Returns a new instance of Affiliate.



7378
7379
7380
# File 'lib/stripe/services/payment_intent_service.rb', line 7378

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



7376
7377
7378
# File 'lib/stripe/services/payment_intent_service.rb', line 7376

def name
  @name
end