Class: Stripe::BalanceSettingsUpdateParams::Payments::Payouts::Schedule
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BalanceSettingsUpdateParams::Payments::Payouts::Schedule
- Defined in:
- lib/stripe/params/balance_settings_update_params.rb
Instance Attribute Summary collapse
-
#interval ⇒ Object
How frequently available funds are paid out.
-
#monthly_payout_days ⇒ Object
The days of the month when available funds are paid out, specified as an array of numbers between 1–31.
-
#weekly_payout_days ⇒ Object
The days of the week when available funds are paid out, specified as an array, e.g., [‘monday`, `tuesday`].
Instance Method Summary collapse
-
#initialize(interval: nil, monthly_payout_days: nil, weekly_payout_days: nil) ⇒ Schedule
constructor
A new instance of Schedule.
Methods inherited from RequestParams
Constructor Details
#initialize(interval: nil, monthly_payout_days: nil, weekly_payout_days: nil) ⇒ Schedule
Returns a new instance of Schedule.
16 17 18 19 20 |
# File 'lib/stripe/params/balance_settings_update_params.rb', line 16 def initialize(interval: nil, monthly_payout_days: nil, weekly_payout_days: nil) @interval = interval @monthly_payout_days = monthly_payout_days @weekly_payout_days = weekly_payout_days end |
Instance Attribute Details
#interval ⇒ Object
How frequently available funds are paid out. One of: ‘daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
10 11 12 |
# File 'lib/stripe/params/balance_settings_update_params.rb', line 10 def interval @interval end |
#monthly_payout_days ⇒ Object
The days of the month when available funds are paid out, specified as an array of numbers between 1–31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if ‘interval` is `monthly`.
12 13 14 |
# File 'lib/stripe/params/balance_settings_update_params.rb', line 12 def monthly_payout_days @monthly_payout_days end |
#weekly_payout_days ⇒ Object
The days of the week when available funds are paid out, specified as an array, e.g., [‘monday`, `tuesday`]. Required and applicable only if `interval` is `weekly`.
14 15 16 |
# File 'lib/stripe/params/balance_settings_update_params.rb', line 14 def weekly_payout_days @weekly_payout_days end |