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 class
SourceCreateParams.Mandate.Acceptance.Builder
static class
SourceCreateParams.Mandate.Acceptance.Offline
static class
SourceCreateParams.Mandate.Acceptance.Online
Add all map key/value pairs to `extraParams` map.static class
SourceCreateParams.Mandate.Acceptance.Status
The user agent of the browser from which the mandate was accepted or refused by the customer.static class
SourceCreateParams.Mandate.Acceptance.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceCreateParams.Mandate.Acceptance.Builder
builder()
java.lang.Long
getDate()
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.String
getIp()
The IP address from which the mandate was accepted or refused by the customer.SourceCreateParams.Mandate.Acceptance.Offline
getOffline()
The parameters required to store a mandate accepted offline.SourceCreateParams.Mandate.Acceptance.Online
getOnline()
The parameters required to store a mandate accepted online.SourceCreateParams.Mandate.Acceptance.Status
getStatus()
The status of the mandate acceptance.SourceCreateParams.Mandate.Acceptance.Type
getType()
The type of acceptance information included with the mandate.java.lang.String
getUserAgent()
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@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.
-
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. Eitheronline
oroffline
-
getUserAgent
public java.lang.String getUserAgent()
The user agent of the browser from which the mandate was accepted or refused by the customer.
-
-