Package com.stripe.param
Class AccountCreateParams.Settings.Payouts.Schedule.Builder
- java.lang.Object
-
- com.stripe.param.AccountCreateParams.Settings.Payouts.Schedule.Builder
-
- Enclosing class:
- AccountCreateParams.Settings.Payouts.Schedule
public static class AccountCreateParams.Settings.Payouts.Schedule.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public AccountCreateParams.Settings.Payouts.Schedule build()
Finalize and obtain parameter instance from this builder.
-
setDelayDays
public AccountCreateParams.Settings.Payouts.Schedule.Builder setDelayDays(AccountCreateParams.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 does not apply when theinterval
ismanual
.
-
setDelayDays
public AccountCreateParams.Settings.Payouts.Schedule.Builder setDelayDays(java.lang.Long 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 does not apply when theinterval
ismanual
.
-
putExtraParam
public AccountCreateParams.Settings.Payouts.Schedule.Builder putExtraParam(java.lang.String key, java.lang.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. SeeAccountCreateParams.Settings.Payouts.Schedule.extraParams
for the field documentation.
-
putAllExtraParam
public AccountCreateParams.Settings.Payouts.Schedule.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeeAccountCreateParams.Settings.Payouts.Schedule.extraParams
for the field documentation.
-
setInterval
public AccountCreateParams.Settings.Payouts.Schedule.Builder setInterval(AccountCreateParams.Settings.Payouts.Schedule.Interval interval)
How frequently available funds are paid out. One of:daily
,manual
,weekly
, ormonthly
. Default isdaily
.
-
setMonthlyAnchor
public AccountCreateParams.Settings.Payouts.Schedule.Builder setMonthlyAnchor(java.lang.Long monthlyAnchor)
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 AccountCreateParams.Settings.Payouts.Schedule.Builder setWeeklyAnchor(AccountCreateParams.Settings.Payouts.Schedule.WeeklyAnchor weeklyAnchor)
-
-