Package com.adyen.model.checkout
Class PaymentCompletionDetails
- java.lang.Object
-
- com.adyen.model.checkout.PaymentCompletionDetails
-
public class PaymentCompletionDetails extends Object
PaymentCompletionDetails
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AUTHORIZATION_TOKENstatic StringJSON_PROPERTY_BILLING_TOKENstatic StringJSON_PROPERTY_CUPSECUREPLUS_SMSCODEstatic StringJSON_PROPERTY_FACILITATOR_ACCESS_TOKENstatic StringJSON_PROPERTY_M_Dstatic StringJSON_PROPERTY_ONE_TIME_PASSCODEstatic StringJSON_PROPERTY_ORDER_I_Dstatic StringJSON_PROPERTY_PA_REQstatic StringJSON_PROPERTY_PA_RESstatic StringJSON_PROPERTY_PAYER_I_Dstatic StringJSON_PROPERTY_PAYLOADstatic StringJSON_PROPERTY_PAYMENT_I_Dstatic StringJSON_PROPERTY_PAYMENT_STATUSstatic StringJSON_PROPERTY_REDIRECT_RESULTstatic StringJSON_PROPERTY_RESULT_CODEstatic StringJSON_PROPERTY_RETURN_URL_QUERY_STRINGstatic StringJSON_PROPERTY_THREE_D_S_RESULTstatic StringJSON_PROPERTY_THREEDS2_CHALLENGE_RESULTstatic StringJSON_PROPERTY_THREEDS2_FINGERPRINTstatic StringJSON_PROPERTY_VAULT_TOKEN
-
Constructor Summary
Constructors Constructor Description PaymentCompletionDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentCompletionDetailsauthorizationToken(String authorizationToken)PaymentCompletionDetailsbillingToken(String billingToken)PaymentCompletionDetailscupsecureplusSmscode(String cupsecureplusSmscode)booleanequals(Object o)Return true if this PaymentCompletionDetails object is equal to o.PaymentCompletionDetailsfacilitatorAccessToken(String facilitatorAccessToken)static PaymentCompletionDetailsfromJson(String jsonString)Create an instance of PaymentCompletionDetails given an JSON stringStringgetAuthorizationToken()Get authorizationTokenStringgetBillingToken()PayPal-generated token for recurring payments.StringgetCupsecureplusSmscode()The SMS verification code collected from the shopper.StringgetFacilitatorAccessToken()PayPal-generated third party access token.StringgetMD()A payment session identifier returned by the card issuer.StringgetOneTimePasscode()A random number sent to the mobile phone number of the shopper to verify the payment.StringgetOrderID()PayPal-assigned ID for the order.StringgetPaReq()(3D) Payment Authentication Request data for the card issuer.StringgetPaRes()(3D) Payment Authentication Response data by the card issuer.StringgetPayerID()PayPal-assigned ID for the payer (shopper).StringgetPayload()Payload appended to the `returnURL` as a result of the redirect.StringgetPaymentID()PayPal-generated ID for the payment.StringgetPaymentStatus()Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback.StringgetRedirectResult()The result of the redirect as appended to the `returnURL`.StringgetResultCode()Value you received from the WeChat Pay SDK.StringgetReturnUrlQueryString()The query string as appended to the `returnURL` when using direct issuer links .StringgetThreeds2ChallengeResult()Base64-encoded string returned by the Component after the challenge flow.StringgetThreeds2Fingerprint()Base64-encoded string returned by the Component after the challenge flow.StringgetThreeDSResult()Base64-encoded string returned by the Component after the challenge flow.StringgetVaultToken()PayPalv2-generated token for recurring payments.inthashCode()PaymentCompletionDetailsMD(String MD)PaymentCompletionDetailsoneTimePasscode(String oneTimePasscode)PaymentCompletionDetailsorderID(String orderID)PaymentCompletionDetailspaReq(String paReq)PaymentCompletionDetailspaRes(String paRes)PaymentCompletionDetailspayerID(String payerID)PaymentCompletionDetailspayload(String payload)PaymentCompletionDetailspaymentID(String paymentID)PaymentCompletionDetailspaymentStatus(String paymentStatus)PaymentCompletionDetailsredirectResult(String redirectResult)PaymentCompletionDetailsresultCode(String resultCode)PaymentCompletionDetailsreturnUrlQueryString(String returnUrlQueryString)voidsetAuthorizationToken(String authorizationToken)authorizationTokenvoidsetBillingToken(String billingToken)PayPal-generated token for recurring payments.voidsetCupsecureplusSmscode(String cupsecureplusSmscode)The SMS verification code collected from the shopper.voidsetFacilitatorAccessToken(String facilitatorAccessToken)PayPal-generated third party access token.voidsetMD(String MD)A payment session identifier returned by the card issuer.voidsetOneTimePasscode(String oneTimePasscode)A random number sent to the mobile phone number of the shopper to verify the payment.voidsetOrderID(String orderID)PayPal-assigned ID for the order.voidsetPaReq(String paReq)(3D) Payment Authentication Request data for the card issuer.voidsetPaRes(String paRes)(3D) Payment Authentication Response data by the card issuer.voidsetPayerID(String payerID)PayPal-assigned ID for the payer (shopper).voidsetPayload(String payload)Payload appended to the `returnURL` as a result of the redirect.voidsetPaymentID(String paymentID)PayPal-generated ID for the payment.voidsetPaymentStatus(String paymentStatus)Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback.voidsetRedirectResult(String redirectResult)The result of the redirect as appended to the `returnURL`.voidsetResultCode(String resultCode)Value you received from the WeChat Pay SDK.voidsetReturnUrlQueryString(String returnUrlQueryString)The query string as appended to the `returnURL` when using direct issuer links .voidsetThreeds2ChallengeResult(String threeds2ChallengeResult)Base64-encoded string returned by the Component after the challenge flow.voidsetThreeds2Fingerprint(String threeds2Fingerprint)Base64-encoded string returned by the Component after the challenge flow.voidsetThreeDSResult(String threeDSResult)Base64-encoded string returned by the Component after the challenge flow.voidsetVaultToken(String vaultToken)PayPalv2-generated token for recurring payments.PaymentCompletionDetailsthreeds2ChallengeResult(String threeds2ChallengeResult)PaymentCompletionDetailsthreeds2Fingerprint(String threeds2Fingerprint)PaymentCompletionDetailsthreeDSResult(String threeDSResult)StringtoJson()Convert an instance of PaymentCompletionDetails to an JSON stringStringtoString()PaymentCompletionDetailsvaultToken(String vaultToken)
-
-
-
Field Detail
-
JSON_PROPERTY_M_D
public static final String JSON_PROPERTY_M_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PA_REQ
public static final String JSON_PROPERTY_PA_REQ
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PA_RES
public static final String JSON_PROPERTY_PA_RES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTHORIZATION_TOKEN
public static final String JSON_PROPERTY_AUTHORIZATION_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BILLING_TOKEN
public static final String JSON_PROPERTY_BILLING_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CUPSECUREPLUS_SMSCODE
public static final String JSON_PROPERTY_CUPSECUREPLUS_SMSCODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FACILITATOR_ACCESS_TOKEN
public static final String JSON_PROPERTY_FACILITATOR_ACCESS_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ONE_TIME_PASSCODE
public static final String JSON_PROPERTY_ONE_TIME_PASSCODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ORDER_I_D
public static final String JSON_PROPERTY_ORDER_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYER_I_D
public static final String JSON_PROPERTY_PAYER_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYLOAD
public static final String JSON_PROPERTY_PAYLOAD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_I_D
public static final String JSON_PROPERTY_PAYMENT_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_STATUS
public static final String JSON_PROPERTY_PAYMENT_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDIRECT_RESULT
public static final String JSON_PROPERTY_REDIRECT_RESULT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESULT_CODE
public static final String JSON_PROPERTY_RESULT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RETURN_URL_QUERY_STRING
public static final String JSON_PROPERTY_RETURN_URL_QUERY_STRING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_RESULT
public static final String JSON_PROPERTY_THREE_D_S_RESULT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREEDS2_CHALLENGE_RESULT
public static final String JSON_PROPERTY_THREEDS2_CHALLENGE_RESULT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREEDS2_FINGERPRINT
public static final String JSON_PROPERTY_THREEDS2_FINGERPRINT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VAULT_TOKEN
public static final String JSON_PROPERTY_VAULT_TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
MD
public PaymentCompletionDetails MD(String MD)
-
getMD
public String getMD()
A payment session identifier returned by the card issuer.- Returns:
- MD
-
setMD
public void setMD(String MD)
A payment session identifier returned by the card issuer.- Parameters:
MD-
-
paReq
public PaymentCompletionDetails paReq(String paReq)
-
getPaReq
public String getPaReq()
(3D) Payment Authentication Request data for the card issuer.- Returns:
- paReq
-
setPaReq
public void setPaReq(String paReq)
(3D) Payment Authentication Request data for the card issuer.- Parameters:
paReq-
-
paRes
public PaymentCompletionDetails paRes(String paRes)
-
getPaRes
public String getPaRes()
(3D) Payment Authentication Response data by the card issuer.- Returns:
- paRes
-
setPaRes
public void setPaRes(String paRes)
(3D) Payment Authentication Response data by the card issuer.- Parameters:
paRes-
-
authorizationToken
public PaymentCompletionDetails authorizationToken(String authorizationToken)
-
getAuthorizationToken
public String getAuthorizationToken()
Get authorizationToken- Returns:
- authorizationToken
-
setAuthorizationToken
public void setAuthorizationToken(String authorizationToken)
authorizationToken- Parameters:
authorizationToken-
-
billingToken
public PaymentCompletionDetails billingToken(String billingToken)
-
getBillingToken
public String getBillingToken()
PayPal-generated token for recurring payments.- Returns:
- billingToken
-
setBillingToken
public void setBillingToken(String billingToken)
PayPal-generated token for recurring payments.- Parameters:
billingToken-
-
cupsecureplusSmscode
public PaymentCompletionDetails cupsecureplusSmscode(String cupsecureplusSmscode)
-
getCupsecureplusSmscode
public String getCupsecureplusSmscode()
The SMS verification code collected from the shopper.- Returns:
- cupsecureplusSmscode
-
setCupsecureplusSmscode
public void setCupsecureplusSmscode(String cupsecureplusSmscode)
The SMS verification code collected from the shopper.- Parameters:
cupsecureplusSmscode-
-
facilitatorAccessToken
public PaymentCompletionDetails facilitatorAccessToken(String facilitatorAccessToken)
-
getFacilitatorAccessToken
public String getFacilitatorAccessToken()
PayPal-generated third party access token.- Returns:
- facilitatorAccessToken
-
setFacilitatorAccessToken
public void setFacilitatorAccessToken(String facilitatorAccessToken)
PayPal-generated third party access token.- Parameters:
facilitatorAccessToken-
-
oneTimePasscode
public PaymentCompletionDetails oneTimePasscode(String oneTimePasscode)
-
getOneTimePasscode
public String getOneTimePasscode()
A random number sent to the mobile phone number of the shopper to verify the payment.- Returns:
- oneTimePasscode
-
setOneTimePasscode
public void setOneTimePasscode(String oneTimePasscode)
A random number sent to the mobile phone number of the shopper to verify the payment.- Parameters:
oneTimePasscode-
-
orderID
public PaymentCompletionDetails orderID(String orderID)
-
getOrderID
public String getOrderID()
PayPal-assigned ID for the order.- Returns:
- orderID
-
setOrderID
public void setOrderID(String orderID)
PayPal-assigned ID for the order.- Parameters:
orderID-
-
payerID
public PaymentCompletionDetails payerID(String payerID)
-
getPayerID
public String getPayerID()
PayPal-assigned ID for the payer (shopper).- Returns:
- payerID
-
setPayerID
public void setPayerID(String payerID)
PayPal-assigned ID for the payer (shopper).- Parameters:
payerID-
-
payload
public PaymentCompletionDetails payload(String payload)
-
getPayload
public String getPayload()
Payload appended to the `returnURL` as a result of the redirect.- Returns:
- payload
-
setPayload
public void setPayload(String payload)
Payload appended to the `returnURL` as a result of the redirect.- Parameters:
payload-
-
paymentID
public PaymentCompletionDetails paymentID(String paymentID)
-
getPaymentID
public String getPaymentID()
PayPal-generated ID for the payment.- Returns:
- paymentID
-
setPaymentID
public void setPaymentID(String paymentID)
PayPal-generated ID for the payment.- Parameters:
paymentID-
-
paymentStatus
public PaymentCompletionDetails paymentStatus(String paymentStatus)
-
getPaymentStatus
public String getPaymentStatus()
Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`.- Returns:
- paymentStatus
-
setPaymentStatus
public void setPaymentStatus(String paymentStatus)
Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`.- Parameters:
paymentStatus-
-
redirectResult
public PaymentCompletionDetails redirectResult(String redirectResult)
-
getRedirectResult
public String getRedirectResult()
The result of the redirect as appended to the `returnURL`.- Returns:
- redirectResult
-
setRedirectResult
public void setRedirectResult(String redirectResult)
The result of the redirect as appended to the `returnURL`.- Parameters:
redirectResult-
-
resultCode
public PaymentCompletionDetails resultCode(String resultCode)
-
getResultCode
public String getResultCode()
Value you received from the WeChat Pay SDK.- Returns:
- resultCode
-
setResultCode
public void setResultCode(String resultCode)
Value you received from the WeChat Pay SDK.- Parameters:
resultCode-
-
returnUrlQueryString
public PaymentCompletionDetails returnUrlQueryString(String returnUrlQueryString)
-
getReturnUrlQueryString
public String getReturnUrlQueryString()
The query string as appended to the `returnURL` when using direct issuer links .- Returns:
- returnUrlQueryString
-
setReturnUrlQueryString
public void setReturnUrlQueryString(String returnUrlQueryString)
The query string as appended to the `returnURL` when using direct issuer links .- Parameters:
returnUrlQueryString-
-
threeDSResult
public PaymentCompletionDetails threeDSResult(String threeDSResult)
-
getThreeDSResult
public String getThreeDSResult()
Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`.- Returns:
- threeDSResult
-
setThreeDSResult
public void setThreeDSResult(String threeDSResult)
Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`.- Parameters:
threeDSResult-
-
threeds2ChallengeResult
public PaymentCompletionDetails threeds2ChallengeResult(String threeds2ChallengeResult)
-
getThreeds2ChallengeResult
public String getThreeds2ChallengeResult()
Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`.- Returns:
- threeds2ChallengeResult
-
setThreeds2ChallengeResult
public void setThreeds2ChallengeResult(String threeds2ChallengeResult)
Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`.- Parameters:
threeds2ChallengeResult-
-
threeds2Fingerprint
public PaymentCompletionDetails threeds2Fingerprint(String threeds2Fingerprint)
-
getThreeds2Fingerprint
public String getThreeds2Fingerprint()
Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`.- Returns:
- threeds2Fingerprint
-
setThreeds2Fingerprint
public void setThreeds2Fingerprint(String threeds2Fingerprint)
Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`.- Parameters:
threeds2Fingerprint-
-
vaultToken
public PaymentCompletionDetails vaultToken(String vaultToken)
-
getVaultToken
public String getVaultToken()
PayPalv2-generated token for recurring payments.- Returns:
- vaultToken
-
setVaultToken
public void setVaultToken(String vaultToken)
PayPalv2-generated token for recurring payments.- Parameters:
vaultToken-
-
equals
public boolean equals(Object o)
Return true if this PaymentCompletionDetails object is equal to o.
-
fromJson
public static PaymentCompletionDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentCompletionDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentCompletionDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentCompletionDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentCompletionDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-