Class: Stripe::BalanceSettingsUpdateParams::Payments::Payouts

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/balance_settings_update_params.rb

Defined Under Namespace

Classes: Schedule

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(minimum_balance_by_currency: nil, schedule: nil, statement_descriptor: nil) ⇒ Payouts

Returns a new instance of Payouts.



29
30
31
32
33
# File 'lib/stripe/params/balance_settings_update_params.rb', line 29

def initialize(minimum_balance_by_currency: nil, schedule: nil, statement_descriptor: nil)
  @minimum_balance_by_currency = minimum_balance_by_currency
  @schedule = schedule
  @statement_descriptor = statement_descriptor
end

Instance Attribute Details

#minimum_balance_by_currencyObject

The minimum balance amount to retain per currency after automatic payouts. Only funds that exceed these amounts are paid out. Learn more about the minimum balances for automatic payouts.



23
24
25
# File 'lib/stripe/params/balance_settings_update_params.rb', line 23

def minimum_balance_by_currency
  @minimum_balance_by_currency
end

#scheduleObject

Details on when funds from charges are available, and when they are paid out to an external account. For details, see our Setting Bank and Debit Card Payouts documentation.



25
26
27
# File 'lib/stripe/params/balance_settings_update_params.rb', line 25

def schedule
  @schedule
end

#statement_descriptorObject

The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.



27
28
29
# File 'lib/stripe/params/balance_settings_update_params.rb', line 27

def statement_descriptor
  @statement_descriptor
end