Class: Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails::Affiliate

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



1328
1329
1330
# File 'lib/stripe/services/charge_service.rb', line 1328

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



1326
1327
1328
# File 'lib/stripe/services/charge_service.rb', line 1326

def name
  @name
end