Class: Stripe::PaymentIntentService::UpdateParams::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.



3796
3797
3798
# File 'lib/stripe/services/payment_intent_service.rb', line 3796

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



3794
3795
3796
# File 'lib/stripe/services/payment_intent_service.rb', line 3794

def name
  @name
end