Class: Stripe::ChargeCaptureParams::PaymentDetails::Flight::Affiliate

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



346
347
348
# File 'lib/stripe/params/charge_capture_params.rb', line 346

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



344
345
346
# File 'lib/stripe/params/charge_capture_params.rb', line 344

def name
  @name
end