public class ThreeDSecure extends ApiResource implements HasId
ApiResource.RequestMethodCHARSET, GSONPRETTY_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()
Amount of the charge that you will create when authentication completes.
|
java.lang.Boolean |
getAuthenticated()
True if the cardholder went through the authentication flow and their bank indicated that
authentication succeeded.
|
Card |
getCard()
You can store multiple cards on a customer in order to charge the customer later.
|
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getCurrency()
Three-letter ISO currency code,
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)
Amount of the charge that you will create when authentication completes.
|
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)
You can store multiple cards on a customer in order to charge the customer later.
|
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setCurrency(java.lang.String currency)
Three-letter ISO currency code,
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, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeIdequals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringpublic static ThreeDSecure retrieve(java.lang.String threeDSecure) throws StripeException
StripeExceptionpublic static ThreeDSecure retrieve(java.lang.String threeDSecure, RequestOptions options) throws StripeException
StripeExceptionpublic static ThreeDSecure retrieve(java.lang.String threeDSecure, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeExceptionpublic static ThreeDSecure retrieve(java.lang.String threeDSecure, ThreeDSecureRetrieveParams params, RequestOptions options) throws StripeException
StripeExceptionpublic static ThreeDSecure create(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
StripeExceptionpublic static ThreeDSecure create(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeExceptionpublic static ThreeDSecure create(ThreeDSecureCreateParams params) throws StripeException
StripeExceptionpublic static ThreeDSecure create(ThreeDSecureCreateParams params, RequestOptions options) throws StripeException
StripeExceptionpublic java.lang.Long getAmount()
public java.lang.Boolean getAuthenticated()
public Card getCard()
Related guide: Card Payments with Sources.
public java.lang.Long getCreated()
public java.lang.String getCurrency()
public java.lang.Boolean getLivemode()
true if the object exists in live mode or the value false if the
object exists in test mode.public java.lang.String getObject()
Equal to three_d_secure.
public java.lang.String getRedirectUrl()
public java.lang.String getStatus()
redirect_pending, succeeded, or failed. When the
cardholder can be authenticated, the object starts with status redirect_pending. When
liability will be shifted to the cardholder's bank (either because the cardholder was
successfully authenticated, or because the bank has not implemented 3D Secure, the object wlil
be in status succeeded. failed indicates that authentication was attempted
unsuccessfully.public void setAmount(java.lang.Long amount)
public void setAuthenticated(java.lang.Boolean authenticated)
public void setCard(Card card)
Related guide: Card Payments with Sources.
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)
true if the object exists in live mode or the value false if the
object exists in test mode.public void setObject(java.lang.String object)
Equal to three_d_secure.
public void setRedirectUrl(java.lang.String redirectUrl)
public void setStatus(java.lang.String status)
redirect_pending, succeeded, or failed. When the
cardholder can be authenticated, the object starts with status redirect_pending. When
liability will be shifted to the cardholder's bank (either because the cardholder was
successfully authenticated, or because the bank has not implemented 3D Secure, the object wlil
be in status succeeded. failed indicates that authentication was attempted
unsuccessfully.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object