Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::Flight::Affiliate

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



524
525
526
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 524

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



522
523
524
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 522

def name
  @name
end