Class: Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::EventDetails::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.



9004
9005
9006
# File 'lib/stripe/services/payment_intent_service.rb', line 9004

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



9002
9003
9004
# File 'lib/stripe/services/payment_intent_service.rb', line 9002

def name
  @name
end