Class SalesforceCardTransactionDetails
dw.extensions.payments
Class SalesforceCardTransactionDetails
Object
dw.extensions.payments.SalesforceTransactionDetails
dw.extensions.payments.SalesforceCardTransactionDetails
Payment transaction details for credit card payments, including those via wallets like Apple Pay and Google Pay.
Constants
AVS_RESULT_MATCH  :  String = "Y"
Constant representing an AVS full match (address and zip).
AVS_RESULT_NO_MATCH  :  String = "N"
Constant representing an AVS no-match result.
AVS_RESULT_NOT_SUPPORTED  :  String = "S"
Constant representing an AVS not-supported result.
AVS_RESULT_PARTIAL_MATCH_ADDRESS  :  String = "A"
Constant representing an AVS partial match on address only.
AVS_RESULT_PARTIAL_MATCH_ZIP  :  String = "Z"
Constant representing an AVS partial match on zip code only.
AVS_RESULT_RETRY  :  String = "R"
Constant representing an AVS retry result.
AVS_RESULT_UNAVAILABLE  :  String = "U"
Constant representing an AVS unavailable result.
CVC_RESULT_MATCH  :  String = "MATCH"
Constant representing a CVC match result.
CVC_RESULT_NO_MATCH  :  String = "NO_MATCH"
Constant representing a CVC no-match result.
CVC_RESULT_NOT_PROCESSED  :  String = "NOT_PROCESSED"
Constant representing a CVC not-processed result.
CVC_RESULT_UNAVAILABLE  :  String = "UNAVAILABLE"
Constant representing a CVC unavailable result.
THREE_DS_RESULT_ATTEMPTED  :  String = "ATTEMPTED"
Constant representing a 3D Secure attempted result.
THREE_DS_RESULT_AUTHENTICATED  :  String = "AUTHENTICATED"
Constant representing a 3D Secure authenticated result.
THREE_DS_RESULT_FAILED  :  String = "FAILED"
Constant representing a 3D Secure failed result.
THREE_DS_RESULT_REJECTED  :  String = "REJECTED"
Constant representing a 3D Secure rejected result.
THREE_DS_RESULT_UNAVAILABLE  :  String = "UNAVAILABLE"
Constant representing a 3D Secure unavailable result.
THREE_DS_VERSION_V1  :  String = "V1"
Constant representing 3D Secure version 1.
THREE_DS_VERSION_V2  :  String = "V2"
Constant representing 3D Secure version 2.
Properties
avsResult  :  String
The AVS verification result, or null if not set.
cvcResult  :  String
The CVC verification result, or null if not set.
electronicCommerceIndicator  :  String
The Electronic Commerce Indicator value, or null if not set.
threeDSResult  :  String
The 3D Secure authentication result, or null if not set.
threeDSTransactionId  :  String
The 3D Secure transaction identifier, or null if not set.
threeDSVersion  :  String
The 3D Secure protocol version, or null if not set.
Constructor Summary
SalesforceCardTransactionDetails()
Constructs an empty card transaction details object.
Method Summary
getAvsResult() : String
Returns the AVS verification result, or null if not set.
getCvcResult() : String
Returns the CVC verification result, or null if not set.
getElectronicCommerceIndicator() : String
Returns the Electronic Commerce Indicator value, or null if not set.
getThreeDSResult() : String
Returns the 3D Secure authentication result, or null if not set.
getThreeDSTransactionId() : String
Returns the 3D Secure transaction identifier, or null if not set.
getThreeDSVersion() : String
Returns the 3D Secure protocol version, or null if not set.
setAvsResult(avsResult : String) : void
Sets the AVS verification result.
setCvcResult(cvcResult : String) : void
Sets the CVC verification result.
setElectronicCommerceIndicator(electronicCommerceIndicator : String) : void
Sets the Electronic Commerce Indicator value.
setThreeDSResult(threeDSResult : String) : void
Sets the 3D Secure authentication result.
setThreeDSTransactionId(threeDSTransactionId : String) : void
Sets the 3D Secure transaction identifier.
setThreeDSVersion(threeDSVersion : String) : void
Sets the 3D Secure protocol version.
Constructor Detail
SalesforceCardTransactionDetails
public SalesforceCardTransactionDetails()
Constructs an empty card transaction details object.

Method Detail
getAvsResult
getAvsResult() : String
Returns the AVS verification result, or null if not set.
Returns:
the AVS result

getCvcResult
getCvcResult() : String
Returns the CVC verification result, or null if not set.
Returns:
the CVC result

getElectronicCommerceIndicator
getElectronicCommerceIndicator() : String
Returns the Electronic Commerce Indicator value, or null if not set.
Returns:
the ECI value

getThreeDSResult
getThreeDSResult() : String
Returns the 3D Secure authentication result, or null if not set.
Returns:
the 3DS result

getThreeDSTransactionId
getThreeDSTransactionId() : String
Returns the 3D Secure transaction identifier, or null if not set.
Returns:
the 3DS transaction ID

getThreeDSVersion
getThreeDSVersion() : String
Returns the 3D Secure protocol version, or null if not set.
Returns:
the 3DS version

setAvsResult
setAvsResult(avsResult : String) : void
Sets the AVS verification result.
Parameters:
avsResult - the AVS result

setCvcResult
setCvcResult(cvcResult : String) : void
Sets the CVC verification result.
Parameters:
cvcResult - the CVC result

setElectronicCommerceIndicator
setElectronicCommerceIndicator(electronicCommerceIndicator : String) : void
Sets the Electronic Commerce Indicator value.
Parameters:
electronicCommerceIndicator - the ECI value

setThreeDSResult
setThreeDSResult(threeDSResult : String) : void
Sets the 3D Secure authentication result.
Parameters:
threeDSResult - the 3DS result

setThreeDSTransactionId
setThreeDSTransactionId(threeDSTransactionId : String) : void
Sets the 3D Secure transaction identifier.
Parameters:
threeDSTransactionId - the 3DS transaction ID

setThreeDSVersion
setThreeDSVersion(threeDSVersion : String) : void
Sets the 3D Secure protocol version.
Parameters:
threeDSVersion - the 3DS version