Class: Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Affiliate

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



3000
3001
3002
# File 'lib/stripe/resources/charge.rb', line 3000

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



2998
2999
3000
# File 'lib/stripe/resources/charge.rb', line 2998

def name
  @name
end