Package com.stripe.param
Class AccountUpdateParams.Settings.Payouts.Schedule.Builder
java.lang.Object
com.stripe.param.AccountUpdateParams.Settings.Payouts.Schedule.Builder
- Enclosing class:
- AccountUpdateParams.Settings.Payouts.Schedule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.The number of days charge funds are held before being paid out.setDelayDays
(Long delayDays) The number of days charge funds are held before being paid out.How frequently available funds are paid out.setMonthlyAnchor
(Long monthlyAnchor) The day of the month when available funds are paid out, specified as a number between 1--31.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDelayDays
public AccountUpdateParams.Settings.Payouts.Schedule.Builder setDelayDays(AccountUpdateParams.Settings.Payouts.Schedule.DelayDays delayDays) The number of days charge funds are held before being paid out. May also be set tominimum
, representing the lowest available value for the account country. Default isminimum
. Thedelay_days
parameter remains at the last configured value ifinterval
ismanual
. Learn more about controlling payout delay days. -
setDelayDays
The number of days charge funds are held before being paid out. May also be set tominimum
, representing the lowest available value for the account country. Default isminimum
. Thedelay_days
parameter remains at the last configured value ifinterval
ismanual
. Learn more about controlling payout delay days. -
putExtraParam
public AccountUpdateParams.Settings.Payouts.Schedule.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAccountUpdateParams.Settings.Payouts.Schedule.extraParams
for the field documentation. -
putAllExtraParam
public AccountUpdateParams.Settings.Payouts.Schedule.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAccountUpdateParams.Settings.Payouts.Schedule.extraParams
for the field documentation. -
setInterval
public AccountUpdateParams.Settings.Payouts.Schedule.Builder setInterval(AccountUpdateParams.Settings.Payouts.Schedule.Interval interval) How frequently available funds are paid out. One of:daily
,manual
,weekly
, ormonthly
. Default isdaily
. -
setMonthlyAnchor
The day of the month when available funds are paid out, specified as a number 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 ifinterval
ismonthly
. -
setWeeklyAnchor
public AccountUpdateParams.Settings.Payouts.Schedule.Builder setWeeklyAnchor(AccountUpdateParams.Settings.Payouts.Schedule.WeeklyAnchor weeklyAnchor)
-