Class Authentication
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
Related guide: Standalone 3DS
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContains additional details about the acquirer for a 3DS Authentication.static classContains details on the channel used (browser, 3RI) for a standalone 3DS Authentication.static classContains details of the flow preference used for a standalone 3DS Authentication.static classContains information about the future authorisations related to this authentication.static classContains details on the result for a standalone 3DS Authentication.static classContains details about the shipping address for a 3DS Authentication.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancel()This endpoint cancels a 3DS Authentication.cancel(RequestOptions options) This endpoint cancels a 3DS Authentication.cancel(AuthenticationCancelParams params) This endpoint cancels a 3DS Authentication.cancel(AuthenticationCancelParams params, RequestOptions options) This endpoint cancels a 3DS Authentication.This endpoint cancels a 3DS Authentication.cancel(Map<String, Object> params, RequestOptions options) This endpoint cancels a 3DS Authentication.protected booleanstatic Authenticationcreate(AuthenticationCreateParams params) This endpoint creates a 3DS Authentication.static Authenticationcreate(AuthenticationCreateParams params, RequestOptions options) This endpoint creates a 3DS Authentication.static AuthenticationThis endpoint creates a 3DS Authentication.static Authenticationcreate(Map<String, Object> params, RequestOptions options) This endpoint creates a 3DS Authentication.booleanContains additional details about the acquirer for a 3DS Authentication.The amount for this 3DS Authentication.The URL for presenting a challenge to your cardholder, present if status is requires_challenge.Contains details on the channel used (browser, 3RI) for a standalone 3DS Authentication.Time at which the object was created.Three-letter ISO currency code, in lowercase.The 3DS directory server with which this 3DS Authentication was processed.The URL for performing issuer fingerprinting, present if fingerprinting is supported for the given payment method.Contains details of the flow preference used for a standalone 3DS Authentication.Contains information about the future authorisations related to this authentication.getId()Unique identifier for the object.If the object exists in live mode, the value istrue.Indicates whether this 3DS Authentication is being performed for a payment or non-payment use case.Set of key-value pairs that you can attach to an object.String representing the object's type.The outcome of this 3DS Authentication.Contains details on the result for a standalone 3DS Authentication.Get ID of expandablepaymentMethodobject.Get expandedpaymentMethod.The reason for invoking this 3DS Authentication.Contains details about the shipping address for a 3DS Authentication.Status of this Authentication.inthashCode()static AuthenticationCollectionlist(AuthenticationListParams params) Returns a list of 3D Secure Authentications.static AuthenticationCollectionlist(AuthenticationListParams params, RequestOptions options) Returns a list of 3D Secure Authentications.static AuthenticationCollectionReturns a list of 3D Secure Authentications.static AuthenticationCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of 3D Secure Authentications.static AuthenticationThis endpoint retrieves a 3DS Authentication.static Authenticationretrieve(String authentication, RequestOptions options) This endpoint retrieves a 3DS Authentication.static Authenticationretrieve(String authentication, AuthenticationRetrieveParams params, RequestOptions options) This endpoint retrieves a 3DS Authentication.static AuthenticationThis endpoint retrieves a 3DS Authentication.voidsetAcquirerDetails(Authentication.AcquirerDetails acquirerDetails) Contains additional details about the acquirer for a 3DS Authentication.voidThe amount for this 3DS Authentication.voidsetChallengeUrl(String challengeUrl) The URL for presenting a challenge to your cardholder, present if status is requires_challenge.voidsetChannel(Authentication.Channel channel) Contains details on the channel used (browser, 3RI) for a standalone 3DS Authentication.voidsetCreated(Long created) Time at which the object was created.voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidsetDirectoryServer(String directoryServer) The 3DS directory server with which this 3DS Authentication was processed.voidsetFingerprintingUrl(String fingerprintingUrl) The URL for performing issuer fingerprinting, present if fingerprinting is supported for the given payment method.voidsetFlowPreference(Authentication.FlowPreference flowPreference) Contains details of the flow preference used for a standalone 3DS Authentication.voidsetFutureUsage(Authentication.FutureUsage futureUsage) Contains information about the future authorisations related to this authentication.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) If the object exists in live mode, the value istrue.voidsetMessageCategory(String messageCategory) Indicates whether this 3DS Authentication is being performed for a payment or non-payment use case.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidsetOutcome(String outcome) The outcome of this 3DS Authentication.voidsetOutcomeDetails(Authentication.OutcomeDetails outcomeDetails) Contains details on the result for a standalone 3DS Authentication.voidvoidsetPaymentMethodObject(PaymentMethod expandableObject) voidThe reason for invoking this 3DS Authentication.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidsetShippingAddress(Authentication.ShippingAddress shippingAddress) Contains details about the shipping address for a 3DS Authentication.voidStatus of this Authentication.submit()This endpoint submits a 3DS Authentication.submit(RequestOptions options) This endpoint submits a 3DS Authentication.submit(AuthenticationSubmitParams params) This endpoint submits a 3DS Authentication.submit(AuthenticationSubmitParams params, RequestOptions options) This endpoint submits a 3DS Authentication.This endpoint submits a 3DS Authentication.submit(Map<String, Object> params, RequestOptions options) This endpoint submits a 3DS Authentication.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Authentication
public Authentication()
-
-
Method Details
-
getPaymentMethod
Get ID of expandablepaymentMethodobject. -
setPaymentMethod
-
getPaymentMethodObject
Get expandedpaymentMethod. -
setPaymentMethodObject
-
cancel
This endpoint cancels a 3DS Authentication. You can cancel a 3DS Authentication object when it’s in a non-final status:requires_submissionorrequires_challenge.- Throws:
StripeException
-
cancel
This endpoint cancels a 3DS Authentication. You can cancel a 3DS Authentication object when it’s in a non-final status:requires_submissionorrequires_challenge.- Throws:
StripeException
-
cancel
This endpoint cancels a 3DS Authentication. You can cancel a 3DS Authentication object when it’s in a non-final status:requires_submissionorrequires_challenge.- Throws:
StripeException
-
cancel
public Authentication cancel(Map<String, Object> params, RequestOptions options) throws StripeExceptionThis endpoint cancels a 3DS Authentication. You can cancel a 3DS Authentication object when it’s in a non-final status:requires_submissionorrequires_challenge.- Throws:
StripeException
-
cancel
This endpoint cancels a 3DS Authentication. You can cancel a 3DS Authentication object when it’s in a non-final status:requires_submissionorrequires_challenge.- Throws:
StripeException
-
cancel
public Authentication cancel(AuthenticationCancelParams params, RequestOptions options) throws StripeException This endpoint cancels a 3DS Authentication. You can cancel a 3DS Authentication object when it’s in a non-final status:requires_submissionorrequires_challenge.- Throws:
StripeException
-
create
This endpoint creates a 3DS Authentication. Refer to the Create a 3DS Authentication object section of the Standalone 3DS guide for more information.You can pass the submit parameter to automatically submit the 3DS Authentication object when you create it. Refer to the Submit at creation section of the Standalone 3DS guide for more information.
- Throws:
StripeException
-
create
public static Authentication create(Map<String, Object> params, RequestOptions options) throws StripeExceptionThis endpoint creates a 3DS Authentication. Refer to the Create a 3DS Authentication object section of the Standalone 3DS guide for more information.You can pass the submit parameter to automatically submit the 3DS Authentication object when you create it. Refer to the Submit at creation section of the Standalone 3DS guide for more information.
- Throws:
StripeException
-
create
This endpoint creates a 3DS Authentication. Refer to the Create a 3DS Authentication object section of the Standalone 3DS guide for more information.You can pass the submit parameter to automatically submit the 3DS Authentication object when you create it. Refer to the Submit at creation section of the Standalone 3DS guide for more information.
- Throws:
StripeException
-
create
public static Authentication create(AuthenticationCreateParams params, RequestOptions options) throws StripeException This endpoint creates a 3DS Authentication. Refer to the Create a 3DS Authentication object section of the Standalone 3DS guide for more information.You can pass the submit parameter to automatically submit the 3DS Authentication object when you create it. Refer to the Submit at creation section of the Standalone 3DS guide for more information.
- Throws:
StripeException
-
list
Returns a list of 3D Secure Authentications.- Throws:
StripeException
-
list
public static AuthenticationCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of 3D Secure Authentications.- Throws:
StripeException
-
list
Returns a list of 3D Secure Authentications.- Throws:
StripeException
-
list
public static AuthenticationCollection list(AuthenticationListParams params, RequestOptions options) throws StripeException Returns a list of 3D Secure Authentications.- Throws:
StripeException
-
retrieve
This endpoint retrieves a 3DS Authentication.- Throws:
StripeException
-
retrieve
public static Authentication retrieve(String authentication, RequestOptions options) throws StripeException This endpoint retrieves a 3DS Authentication.- Throws:
StripeException
-
retrieve
public static Authentication retrieve(String authentication, Map<String, Object> params, RequestOptions options) throws StripeExceptionThis endpoint retrieves a 3DS Authentication.- Throws:
StripeException
-
retrieve
public static Authentication retrieve(String authentication, AuthenticationRetrieveParams params, RequestOptions options) throws StripeException This endpoint retrieves a 3DS Authentication.- Throws:
StripeException
-
submit
This endpoint submits a 3DS Authentication. You can submit a 3DS Authentication object when it has statusrequires_submission. Refer to the Submit the 3DS Authentication object section of the Standalone 3DS guide for more information.- Throws:
StripeException
-
submit
This endpoint submits a 3DS Authentication. You can submit a 3DS Authentication object when it has statusrequires_submission. Refer to the Submit the 3DS Authentication object section of the Standalone 3DS guide for more information.- Throws:
StripeException
-
submit
This endpoint submits a 3DS Authentication. You can submit a 3DS Authentication object when it has statusrequires_submission. Refer to the Submit the 3DS Authentication object section of the Standalone 3DS guide for more information.- Throws:
StripeException
-
submit
public Authentication submit(Map<String, Object> params, RequestOptions options) throws StripeExceptionThis endpoint submits a 3DS Authentication. You can submit a 3DS Authentication object when it has statusrequires_submission. Refer to the Submit the 3DS Authentication object section of the Standalone 3DS guide for more information.- Throws:
StripeException
-
submit
This endpoint submits a 3DS Authentication. You can submit a 3DS Authentication object when it has statusrequires_submission. Refer to the Submit the 3DS Authentication object section of the Standalone 3DS guide for more information.- Throws:
StripeException
-
submit
public Authentication submit(AuthenticationSubmitParams params, RequestOptions options) throws StripeException This endpoint submits a 3DS Authentication. You can submit a 3DS Authentication object when it has statusrequires_submission. Refer to the Submit the 3DS Authentication object section of the Standalone 3DS guide for more information.- Throws:
StripeException
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getAcquirerDetails
Contains additional details about the acquirer for a 3DS Authentication. -
getAmount
The amount for this 3DS Authentication. -
getChallengeUrl
The URL for presenting a challenge to your cardholder, present if status is requires_challenge. -
getChannel
Contains details on the channel used (browser, 3RI) for a standalone 3DS Authentication. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getDirectoryServer
The 3DS directory server with which this 3DS Authentication was processed.One of
american_express,cartes_bancaires,discover,mastercard, orvisa. -
getFingerprintingUrl
The URL for performing issuer fingerprinting, present if fingerprinting is supported for the given payment method. -
getFlowPreference
Contains details of the flow preference used for a standalone 3DS Authentication. -
getFutureUsage
Contains information about the future authorisations related to this authentication. -
getLivemode
If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse. -
getMessageCategory
Indicates whether this 3DS Authentication is being performed for a payment or non-payment use case.One of
non_payment_authentication, orpayment_authentication. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
three_d_secure.authentication. -
getOutcome
The outcome of this 3DS Authentication.One of
abandoned,attempt_acknowledged,authenticated,canceled,denied,informational,internal_error,not_supported,not_triggered,processing_error, orrejected. -
getOutcomeDetails
Contains details on the result for a standalone 3DS Authentication. -
getReason
The reason for invoking this 3DS Authentication.One of
cardholder_authentication,issuer_requested,liability_shift,processing_costs, orregulatory_compliance. -
getShippingAddress
Contains details about the shipping address for a 3DS Authentication. -
getStatus
Status of this Authentication.One of
canceled,error,failed,requires_challenge,requires_submission, orsucceeded. -
setAcquirerDetails
Contains additional details about the acquirer for a 3DS Authentication. -
setAmount
The amount for this 3DS Authentication. -
setChallengeUrl
The URL for presenting a challenge to your cardholder, present if status is requires_challenge. -
setChannel
Contains details on the channel used (browser, 3RI) for a standalone 3DS Authentication. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setDirectoryServer
The 3DS directory server with which this 3DS Authentication was processed.One of
american_express,cartes_bancaires,discover,mastercard, orvisa. -
setFingerprintingUrl
The URL for performing issuer fingerprinting, present if fingerprinting is supported for the given payment method. -
setFlowPreference
Contains details of the flow preference used for a standalone 3DS Authentication. -
setFutureUsage
Contains information about the future authorisations related to this authentication. -
setId
Unique identifier for the object. -
setLivemode
If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse. -
setMessageCategory
Indicates whether this 3DS Authentication is being performed for a payment or non-payment use case.One of
non_payment_authentication, orpayment_authentication. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
three_d_secure.authentication. -
setOutcome
The outcome of this 3DS Authentication.One of
abandoned,attempt_acknowledged,authenticated,canceled,denied,informational,internal_error,not_supported,not_triggered,processing_error, orrejected. -
setOutcomeDetails
Contains details on the result for a standalone 3DS Authentication. -
setReason
The reason for invoking this 3DS Authentication.One of
cardholder_authentication,issuer_requested,liability_shift,processing_costs, orregulatory_compliance. -
setShippingAddress
Contains details about the shipping address for a 3DS Authentication. -
setStatus
Status of this Authentication.One of
canceled,error,failed,requires_challenge,requires_submission, orsucceeded. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-