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_THREE_D_S_RESULTstatic StringJSON_PROPERTY_THREEDS2_CHALLENGE_RESULTstatic StringJSON_PROPERTY_THREEDS2_FINGERPRINT
-
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.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.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)voidsetAuthorizationToken(String authorizationToken)voidsetBillingToken(String billingToken)voidsetCupsecureplusSmscode(String cupsecureplusSmscode)voidsetFacilitatorAccessToken(String facilitatorAccessToken)voidsetMD(String MD)voidsetOneTimePasscode(String oneTimePasscode)voidsetOrderID(String orderID)voidsetPaReq(String paReq)voidsetPaRes(String paRes)voidsetPayerID(String payerID)voidsetPayload(String payload)voidsetPaymentID(String paymentID)voidsetPaymentStatus(String paymentStatus)voidsetRedirectResult(String redirectResult)voidsetResultCode(String resultCode)voidsetThreeds2ChallengeResult(String threeds2ChallengeResult)voidsetThreeds2Fingerprint(String threeds2Fingerprint)voidsetThreeDSResult(String threeDSResult)PaymentCompletionDetailsthreeds2ChallengeResult(String threeds2ChallengeResult)PaymentCompletionDetailsthreeds2Fingerprint(String threeds2Fingerprint)PaymentCompletionDetailsthreeDSResult(String threeDSResult)StringtoJson()Convert an instance of PaymentCompletionDetails to an JSON stringStringtoString()
-
-
-
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_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
-
-
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)
-
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)
-
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)
-
authorizationToken
public PaymentCompletionDetails authorizationToken(String authorizationToken)
-
getAuthorizationToken
public String getAuthorizationToken()
Get authorizationToken- Returns:
- authorizationToken
-
setAuthorizationToken
public void setAuthorizationToken(String 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)
-
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)
-
facilitatorAccessToken
public PaymentCompletionDetails facilitatorAccessToken(String facilitatorAccessToken)
-
getFacilitatorAccessToken
public String getFacilitatorAccessToken()
PayPal-generated third party access token.- Returns:
- facilitatorAccessToken
-
setFacilitatorAccessToken
public void setFacilitatorAccessToken(String 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)
-
orderID
public PaymentCompletionDetails orderID(String orderID)
-
getOrderID
public String getOrderID()
PayPal-assigned ID for the order.- Returns:
- orderID
-
setOrderID
public void setOrderID(String 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)
-
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)
-
paymentID
public PaymentCompletionDetails paymentID(String paymentID)
-
getPaymentID
public String getPaymentID()
PayPal-generated ID for the payment.- Returns:
- paymentID
-
setPaymentID
public void setPaymentID(String 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)
-
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)
-
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)
-
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)
-
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)
-
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)
-
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
-
-