Package com.stripe.param
Class SourceCreateParams.Mandate.Acceptance
- java.lang.Object
-
- com.stripe.param.SourceCreateParams.Mandate.Acceptance
-
- Enclosing class:
- SourceCreateParams.Mandate
public static class SourceCreateParams.Mandate.Acceptance extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSourceCreateParams.Mandate.Acceptance.Builderstatic classSourceCreateParams.Mandate.Acceptance.Offlinestatic classSourceCreateParams.Mandate.Acceptance.OnlineAdd all map key/value pairs to `extraParams` map.static classSourceCreateParams.Mandate.Acceptance.StatusThe user agent of the browser from which the mandate was accepted or refused by the customer.static classSourceCreateParams.Mandate.Acceptance.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceCreateParams.Mandate.Acceptance.Builderbuilder()java.lang.LonggetDate()The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.java.util.Map<java.lang.String,java.lang.Object>getExtraParams()Map of extra parameters for custom features not available in this client library.java.lang.StringgetIp()The IP address from which the mandate was accepted or refused by the customer.SourceCreateParams.Mandate.Acceptance.OfflinegetOffline()The parameters required to store a mandate accepted offline.SourceCreateParams.Mandate.Acceptance.OnlinegetOnline()The parameters required to store a mandate accepted online.SourceCreateParams.Mandate.Acceptance.StatusgetStatus()The status of the mandate acceptance.SourceCreateParams.Mandate.Acceptance.TypegetType()The type of acceptance information included with the mandate.java.lang.StringgetUserAgent()The user agent of the browser from which the mandate was accepted or refused by the customer.
-
-
-
Method Detail
-
builder
public static SourceCreateParams.Mandate.Acceptance.Builder builder()
-
getDate
public java.lang.Long getDate()
The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.
-
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.
-
getIp
public java.lang.String getIp()
The IP address from which the mandate was accepted or refused by the customer.
-
getOffline
public SourceCreateParams.Mandate.Acceptance.Offline getOffline()
The parameters required to store a mandate accepted offline. Should only be set ifmandate[type]isoffline
-
getOnline
public SourceCreateParams.Mandate.Acceptance.Online getOnline()
The parameters required to store a mandate accepted online. Should only be set ifmandate[type]isonline
-
getStatus
public SourceCreateParams.Mandate.Acceptance.Status getStatus()
The status of the mandate acceptance. Eitheraccepted(the mandate was accepted) orrefused(the mandate was refused).
-
getType
public SourceCreateParams.Mandate.Acceptance.Type getType()
The type of acceptance information included with the mandate. Eitheronlineoroffline
-
getUserAgent
public java.lang.String getUserAgent()
The user agent of the browser from which the mandate was accepted or refused by the customer.
-
-