public static class SourceUpdateParams.Mandate.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SourceUpdateParams.Mandate |
build()
Finalize and obtain parameter instance from this builder.
|
SourceUpdateParams.Mandate.Builder |
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.
|
SourceUpdateParams.Mandate.Builder |
putExtraParam(java.lang.String key,
java.lang.Object value)
Add a key/value pair to `extraParams` map.
|
SourceUpdateParams.Mandate.Builder |
setAcceptance(SourceUpdateParams.Mandate.Acceptance acceptance)
The parameters required to notify Stripe of a mandate acceptance or refusal by the
customer.
|
SourceUpdateParams.Mandate.Builder |
setAmount(EmptyParam amount)
The amount specified by the mandate.
|
SourceUpdateParams.Mandate.Builder |
setAmount(java.lang.Long amount)
The amount specified by the mandate.
|
SourceUpdateParams.Mandate.Builder |
setCurrency(java.lang.String currency)
The currency specified by the mandate.
|
SourceUpdateParams.Mandate.Builder |
setInterval(SourceUpdateParams.Mandate.Interval interval)
The interval of debits permitted by the mandate.
|
SourceUpdateParams.Mandate.Builder |
setNotificationMethod(SourceUpdateParams.Mandate.NotificationMethod notificationMethod)
The method Stripe should use to notify the customer of upcoming debit instructions and/or
mandate confirmation as required by the underlying debit network.
|
public SourceUpdateParams.Mandate build()
public SourceUpdateParams.Mandate.Builder setAcceptance(SourceUpdateParams.Mandate.Acceptance acceptance)
public SourceUpdateParams.Mandate.Builder setAmount(EmptyParam amount)
public SourceUpdateParams.Mandate.Builder setAmount(java.lang.Long amount)
public SourceUpdateParams.Mandate.Builder setCurrency(java.lang.String currency)
public SourceUpdateParams.Mandate.Builder putExtraParam(java.lang.String key, java.lang.Object value)
SourceUpdateParams.Mandate.extraParams
for the field documentation.public SourceUpdateParams.Mandate.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
SourceUpdateParams.Mandate.extraParams
for the field documentation.public SourceUpdateParams.Mandate.Builder setInterval(SourceUpdateParams.Mandate.Interval interval)
public SourceUpdateParams.Mandate.Builder setNotificationMethod(SourceUpdateParams.Mandate.NotificationMethod notificationMethod)