Class: Stripe::ChargeCaptureParams::PaymentDetails::Lodging::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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(name: nil) ⇒ Affiliate

Returns a new instance of Affiliate.



1125
1126
1127
# File 'lib/stripe/params/charge_capture_params.rb', line 1125

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



1123
1124
1125
# File 'lib/stripe/params/charge_capture_params.rb', line 1123

def name
  @name
end