Class: Stripe::Charge::CaptureParams::PaymentDetails::Subscription::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.



2965
2966
2967
# File 'lib/stripe/resources/charge.rb', line 2965

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



2963
2964
2965
# File 'lib/stripe/resources/charge.rb', line 2963

def name
  @name
end