Class: Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Affiliate

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



741
742
743
# File 'lib/stripe/services/charge_service.rb', line 741

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

Instance Attribute Details

#nameObject

The name of the affiliate that originated the purchase.



739
740
741
# File 'lib/stripe/services/charge_service.rb', line 739

def name
  @name
end