Class: Stripe::ChargeService::CreateParams::Destination

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(account: nil, amount: nil) ⇒ Destination

Returns a new instance of Destination.



69
70
71
72
# File 'lib/stripe/services/charge_service.rb', line 69

def initialize(account: nil, amount: nil)
  @account = 
  @amount = amount
end

Instance Attribute Details

#accountObject

ID of an existing, connected Stripe account.



65
66
67
# File 'lib/stripe/services/charge_service.rb', line 65

def 
  @account
end

#amountObject

The amount to transfer to the destination account without creating an ‘Application Fee` object. Cannot be combined with the `application_fee` parameter. Must be less than or equal to the charge amount.



67
68
69
# File 'lib/stripe/services/charge_service.rb', line 67

def amount
  @amount
end