Package com.stripe.param
Class SourceUpdateParams.Mandate.Acceptance
- java.lang.Object
-
- com.stripe.param.SourceUpdateParams.Mandate.Acceptance
-
- Enclosing class:
- SourceUpdateParams.Mandate
public static class SourceUpdateParams.Mandate.Acceptance extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSourceUpdateParams.Mandate.Acceptance.Builderstatic classSourceUpdateParams.Mandate.Acceptance.Offlinestatic classSourceUpdateParams.Mandate.Acceptance.OnlineAdd all map key/value pairs to `extraParams` map.static classSourceUpdateParams.Mandate.Acceptance.StatusThe user agent of the browser from which the mandate was accepted or refused by the customer.static classSourceUpdateParams.Mandate.Acceptance.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceUpdateParams.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.ObjectgetIp()The IP address from which the mandate was accepted or refused by the customer.SourceUpdateParams.Mandate.Acceptance.OfflinegetOffline()The parameters required to store a mandate accepted offline.SourceUpdateParams.Mandate.Acceptance.OnlinegetOnline()The parameters required to store a mandate accepted online.SourceUpdateParams.Mandate.Acceptance.StatusgetStatus()The status of the mandate acceptance.SourceUpdateParams.Mandate.Acceptance.TypegetType()The type of acceptance information included with the mandate.java.lang.ObjectgetUserAgent()The user agent of the browser from which the mandate was accepted or refused by the customer.
-
-
-
Method Detail
-
builder
public static SourceUpdateParams.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.Object getIp()
The IP address from which the mandate was accepted or refused by the customer.
-
getOffline
public SourceUpdateParams.Mandate.Acceptance.Offline getOffline()
The parameters required to store a mandate accepted offline. Should only be set ifmandate[type]isoffline
-
getOnline
public SourceUpdateParams.Mandate.Acceptance.Online getOnline()
The parameters required to store a mandate accepted online. Should only be set ifmandate[type]isonline
-
getStatus
public SourceUpdateParams.Mandate.Acceptance.Status getStatus()
The status of the mandate acceptance. Eitheraccepted(the mandate was accepted) orrefused(the mandate was refused).
-
getType
public SourceUpdateParams.Mandate.Acceptance.Type getType()
The type of acceptance information included with the mandate. Eitheronlineoroffline
-
getUserAgent
public java.lang.Object getUserAgent()
The user agent of the browser from which the mandate was accepted or refused by the customer.
-
-