Package com.stripe.param
Class SourceUpdateParams.Mandate
- java.lang.Object
-
- com.stripe.param.SourceUpdateParams.Mandate
-
- Enclosing class:
- SourceUpdateParams
public static class SourceUpdateParams.Mandate extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSourceUpdateParams.Mandate.Acceptancestatic classSourceUpdateParams.Mandate.Builderstatic classSourceUpdateParams.Mandate.Intervalstatic classSourceUpdateParams.Mandate.NotificationMethod
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceUpdateParams.Mandate.Builderbuilder()SourceUpdateParams.Mandate.AcceptancegetAcceptance()The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.java.lang.ObjectgetAmount()The amount specified by the mandate.java.lang.ObjectgetCurrency()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.SourceUpdateParams.Mandate.IntervalgetInterval()The interval of debits permitted by the mandate.SourceUpdateParams.Mandate.NotificationMethodgetNotificationMethod()The method Stripe should use to notify the customer of upcoming debit instructions and/or mandate confirmation as required by the underlying debit network.
-
-
-
Method Detail
-
builder
public static SourceUpdateParams.Mandate.Builder builder()
-
getAcceptance
public SourceUpdateParams.Mandate.Acceptance getAcceptance()
The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.
-
getAmount
public java.lang.Object getAmount()
The amount specified by the mandate. (Leave null for a mandate covering all amounts)
-
getCurrency
public java.lang.Object getCurrency()
The currency specified by the mandate. (Must matchcurrencyof the source)
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map 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.
-
getInterval
public SourceUpdateParams.Mandate.Interval getInterval()
The interval of debits permitted by the mandate. Eitherone_time(just permitting a single debit),scheduled(with debits on an agreed schedule or for clearly-defined events), orvariable(for debits with any frequency)
-
getNotificationMethod
public SourceUpdateParams.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. Eitheremail(an email is sent directly to the customer),manual(asource.mandate_notificationevent is sent to your webhooks endpoint and you should handle the notification) ornone(the underlying debit network does not require any notification).
-
-