- Enclosing class:
public static class SourceCreateParams.Mandate extends Object
Nested Class Summary
Method SummaryModifier and TypeMethodDescription
builder()The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.The amount specified by the mandate.The currency specified by the mandate.Map of extra parameters for custom features not available in this client library.The interval of debits permitted by the mandate.The method Stripe should use to notify the customer of upcoming debit instructions and/or mandate confirmation as required by the underlying debit network.
builderpublic static SourceCreateParams.Mandate.Builder builder()
getAcceptancepublic SourceCreateParams.Mandate.Acceptance getAcceptance()The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.
getAmountpublic Object getAmount()The amount specified by the mandate. (Leave null for a mandate covering all amounts)
getCurrencypublic String getCurrency()The currency specified by the mandate. (Must match
currencyof the source)
getExtraParamsMap of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's
@SerializedNamevalue. 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.
getIntervalpublic SourceCreateParams.Mandate.Interval getInterval()The interval of debits permitted by the mandate. Either
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)
getNotificationMethodpublic 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. Either
source.mandate_notificationevent is sent to your webhooks endpoint and you should handle the notification) or
none(the underlying debit network does not require any notification).