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.



1252
1253
1254
# File 'lib/stripe/services/charge_service.rb', line 1252

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



1250
1251
1252
# File 'lib/stripe/services/charge_service.rb', line 1250

def name
  @name
end