public class ThreeDSecure extends ApiResource implements HasId
ApiResource.RequestMethod, ApiResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
ThreeDSecure() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
static ThreeDSecure |
create(java.util.Map<java.lang.String,java.lang.Object> params)
Initiate 3D Secure authentication.
|
static ThreeDSecure |
create(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Initiate 3D Secure authentication.
|
static ThreeDSecure |
create(ThreeDSecureCreateParams params)
Initiate 3D Secure authentication.
|
static ThreeDSecure |
create(ThreeDSecureCreateParams params,
RequestOptions options)
Initiate 3D Secure authentication.
|
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmount() |
java.lang.Boolean |
getAuthenticated()
True if the cardholder went through the authentication flow and their bank indicated that
authentication succeeded.
|
Card |
getCard() |
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getCurrency()
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in
lowercase.
|
java.lang.String |
getId()
Unique identifier for the object.
|
java.lang.Boolean |
getLivemode()
Has the value `true` if the object exists in live mode or the value `false` if the object
exists in test mode.
|
java.lang.String |
getObject()
String representing the object's type.
|
java.lang.String |
getRedirectUrl()
If present, this is the URL that you should send the cardholder to for authentication.
|
java.lang.String |
getStatus()
Possible values are `redirect_pending`, `succeeded`, or `failed`.
|
int |
hashCode() |
static ThreeDSecure |
retrieve(java.lang.String threeDSecure)
Retrieves a 3D Secure object.
|
static ThreeDSecure |
retrieve(java.lang.String threeDSecure,
java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Retrieves a 3D Secure object.
|
static ThreeDSecure |
retrieve(java.lang.String threeDSecure,
RequestOptions options)
Retrieves a 3D Secure object.
|
static ThreeDSecure |
retrieve(java.lang.String threeDSecure,
ThreeDSecureRetrieveParams params,
RequestOptions options)
Retrieves a 3D Secure object.
|
void |
setAmount(java.lang.Long amount) |
void |
setAuthenticated(java.lang.Boolean authenticated)
True if the cardholder went through the authentication flow and their bank indicated that
authentication succeeded.
|
void |
setCard(Card card) |
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setCurrency(java.lang.String currency)
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in
lowercase.
|
void |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setLivemode(java.lang.Boolean livemode)
Has the value `true` if the object exists in live mode or the value `false` if the object
exists in test mode.
|
void |
setObject(java.lang.String object)
String representing the object's type.
|
void |
setRedirectUrl(java.lang.String redirectUrl)
If present, this is the URL that you should send the cardholder to for authentication.
|
void |
setStatus(java.lang.String status)
Possible values are `redirect_pending`, `succeeded`, or `failed`.
|
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, multipartRequest, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public static ThreeDSecure retrieve(java.lang.String threeDSecure) throws StripeException
StripeException
public static ThreeDSecure retrieve(java.lang.String threeDSecure, RequestOptions options) throws StripeException
StripeException
public static ThreeDSecure retrieve(java.lang.String threeDSecure, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeException
public static ThreeDSecure retrieve(java.lang.String threeDSecure, ThreeDSecureRetrieveParams params, RequestOptions options) throws StripeException
StripeException
public static ThreeDSecure create(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
StripeException
public static ThreeDSecure create(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeException
public static ThreeDSecure create(ThreeDSecureCreateParams params) throws StripeException
StripeException
public static ThreeDSecure create(ThreeDSecureCreateParams params, RequestOptions options) throws StripeException
StripeException
public java.lang.Long getAmount()
public java.lang.Boolean getAuthenticated()
public Card getCard()
public java.lang.Long getCreated()
public java.lang.String getCurrency()
public java.lang.Boolean getLivemode()
public java.lang.String getObject()
public java.lang.String getRedirectUrl()
public java.lang.String getStatus()
public void setAmount(java.lang.Long amount)
public void setAuthenticated(java.lang.Boolean authenticated)
public void setCard(Card card)
public void setCreated(java.lang.Long created)
public void setCurrency(java.lang.String currency)
public void setId(java.lang.String id)
public void setLivemode(java.lang.Boolean livemode)
public void setObject(java.lang.String object)
public void setRedirectUrl(java.lang.String redirectUrl)
public void setStatus(java.lang.String status)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object