public static class SourceCreateParams.Mandate
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SourceCreateParams.Mandate.Acceptance |
static class |
SourceCreateParams.Mandate.Builder |
static class |
SourceCreateParams.Mandate.Interval |
static class |
SourceCreateParams.Mandate.NotificationMethod |
Modifier and Type | Method and Description |
---|---|
static SourceCreateParams.Mandate.Builder |
builder() |
SourceCreateParams.Mandate.Acceptance |
getAcceptance()
The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.
|
java.lang.Object |
getAmount()
The amount specified by the mandate.
|
java.lang.String |
getCurrency()
The currency specified by the mandate.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
SourceCreateParams.Mandate.Interval |
getInterval()
The interval of debits permitted by the mandate.
|
SourceCreateParams.Mandate.NotificationMethod |
getNotificationMethod()
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 static SourceCreateParams.Mandate.Builder builder()
public SourceCreateParams.Mandate.Acceptance getAcceptance()
public java.lang.Object getAmount()
public java.lang.String getCurrency()
currency
of the source)public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@SerializedName
value. Instead, each
key/value pair is serialized as if the key is a root-level field (serialized) name in this
param object. Effectively, this map is flattened to its parent instance.public SourceCreateParams.Mandate.Interval getInterval()
one_time
(just permitting a
single debit), scheduled
(with debits on an agreed schedule or for clearly-defined
events), or variable
(for debits with any frequency)public SourceCreateParams.Mandate.NotificationMethod getNotificationMethod()
email
(an
email is sent directly to the customer), manual
(a source.mandate_notification
event is sent to your webhooks endpoint and you should handle
the notification) or none
(the underlying debit network does not require any
notification).