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.



1260
1261
1262
# File 'lib/stripe/services/charge_service.rb', line 1260

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



1258
1259
1260
# File 'lib/stripe/services/charge_service.rb', line 1258

def name
  @name
end