Class SalesforceCardTransactionDetails

Payment transaction details for credit card payments, including those via wallets like Apple Pay and Google Pay.

Constant Summary 

ConstantDescription
AVS_RESULT_MATCH: String = “Y”Constant representing an AVS full match (address and zip).
AVS_RESULT_NOT_SUPPORTED: String = “S”Constant representing an AVS not-supported result.
AVS_RESULT_NO_MATCH: String = “N”Constant representing an AVS no-match 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_NOT_PROCESSED: String = “NOT_PROCESSED”Constant representing a CVC not-processed result.
CVC_RESULT_NO_MATCH: String = “NO_MATCH”Constant representing a CVC no-match 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.

Property Summary 

PropertyDescription
avsResult: StringReturns the AVS verification result, or null if not set.
cvcResult: StringReturns the CVC verification result, or null if not set.
electronicCommerceIndicator: StringReturns the Electronic Commerce Indicator value, or null if not set.
threeDSResult: StringReturns the 3D Secure authentication result, or null if not set.
threeDSTransactionId: StringReturns the 3D Secure transaction identifier, or null if not set.
threeDSVersion: StringReturns the 3D Secure protocol version, or null if not set.

Constructor Summary 

ConstructorDescription
SalesforceCardTransactionDetails()Constructs an empty card transaction details object.

Method Summary 

MethodDescription
getAvsResult()Returns the AVS verification result, or null if not set.
getCvcResult()Returns the CVC verification result, or null if not set.
getElectronicCommerceIndicator()Returns the Electronic Commerce Indicator value, or null if not set.
getThreeDSResult()Returns the 3D Secure authentication result, or null if not set.
getThreeDSTransactionId()Returns the 3D Secure transaction identifier, or null if not set.
getThreeDSVersion()Returns the 3D Secure protocol version, or null if not set.
setAvsResult(String)Sets the AVS verification result.
setCvcResult(String)Sets the CVC verification result.
setElectronicCommerceIndicator(String)Sets the Electronic Commerce Indicator value.
setThreeDSResult(String)Sets the 3D Secure authentication result.
setThreeDSTransactionId(String)Sets the 3D Secure transaction identifier.
setThreeDSVersion(String)Sets the 3D Secure protocol version.

Methods inherited from class Object 

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Constant Details 

AVS_RESULT_MATCH 

AVS_RESULT_MATCH: String = "Y"

Constant representing an AVS full match (address and zip).


AVS_RESULT_NOT_SUPPORTED 

AVS_RESULT_NOT_SUPPORTED: String = "S"

Constant representing an AVS not-supported result.


AVS_RESULT_NO_MATCH 

AVS_RESULT_NO_MATCH: String = "N"

Constant representing an AVS no-match result.


AVS_RESULT_PARTIAL_MATCH_ADDRESS 

AVS_RESULT_PARTIAL_MATCH_ADDRESS: String = "A"

Constant representing an AVS partial match on address only.


AVS_RESULT_PARTIAL_MATCH_ZIP 

AVS_RESULT_PARTIAL_MATCH_ZIP: String = "Z"

Constant representing an AVS partial match on zip code only.


AVS_RESULT_RETRY 

AVS_RESULT_RETRY: String = "R"

Constant representing an AVS retry result.


AVS_RESULT_UNAVAILABLE 

AVS_RESULT_UNAVAILABLE: String = "U"

Constant representing an AVS unavailable result.


CVC_RESULT_MATCH 

CVC_RESULT_MATCH: String = "MATCH"

Constant representing a CVC match result.


CVC_RESULT_NOT_PROCESSED 

CVC_RESULT_NOT_PROCESSED: String = "NOT_PROCESSED"

Constant representing a CVC not-processed result.


CVC_RESULT_NO_MATCH 

CVC_RESULT_NO_MATCH: String = "NO_MATCH"

Constant representing a CVC no-match result.


CVC_RESULT_UNAVAILABLE 

CVC_RESULT_UNAVAILABLE: String = "UNAVAILABLE"

Constant representing a CVC unavailable result.


THREE_DS_RESULT_ATTEMPTED 

THREE_DS_RESULT_ATTEMPTED: String = "ATTEMPTED"

Constant representing a 3D Secure attempted result.


THREE_DS_RESULT_AUTHENTICATED 

THREE_DS_RESULT_AUTHENTICATED: String = "AUTHENTICATED"

Constant representing a 3D Secure authenticated result.


THREE_DS_RESULT_FAILED 

THREE_DS_RESULT_FAILED: String = "FAILED"

Constant representing a 3D Secure failed result.


THREE_DS_RESULT_REJECTED 

THREE_DS_RESULT_REJECTED: String = "REJECTED"

Constant representing a 3D Secure rejected result.


THREE_DS_RESULT_UNAVAILABLE 

THREE_DS_RESULT_UNAVAILABLE: String = "UNAVAILABLE"

Constant representing a 3D Secure unavailable result.


THREE_DS_VERSION_V1 

THREE_DS_VERSION_V1: String = "V1"

Constant representing 3D Secure version 1.


THREE_DS_VERSION_V2 

THREE_DS_VERSION_V2: String = "V2"

Constant representing 3D Secure version 2.


Property Details 

avsResult 

avsResult: String

Returns the AVS verification result, or null if not set.

See Also:


cvcResult 

cvcResult: String

Returns the CVC verification result, or null if not set.

See Also:


electronicCommerceIndicator 

electronicCommerceIndicator: String

Returns the Electronic Commerce Indicator value, or null if not set.


threeDSResult 

threeDSResult: String

Returns the 3D Secure authentication result, or null if not set.

See Also:


threeDSTransactionId 

threeDSTransactionId: String

Returns the 3D Secure transaction identifier, or null if not set.


threeDSVersion 

threeDSVersion: String

Returns the 3D Secure protocol version, or null if not set.

See Also:


Constructor Details 

SalesforceCardTransactionDetails() 

SalesforceCardTransactionDetails()

Constructs an empty card transaction details object.


Method Details 

getAvsResult() 

getAvsResult(): String

Returns the AVS verification result, or null if not set.

Returns:

  • the AVS result

See Also:


getCvcResult() 

getCvcResult(): String

Returns the CVC verification result, or null if not set.

Returns:

  • the CVC result

See Also:


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

See Also:


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

See Also:


setAvsResult(String) 

setAvsResult(avsResult: String): void

Sets the AVS verification result.

Parameters:

  • avsResult - the AVS result

See Also:


setCvcResult(String) 

setCvcResult(cvcResult: String): void

Sets the CVC verification result.

Parameters:

  • cvcResult - the CVC result

See Also:


setElectronicCommerceIndicator(String) 

setElectronicCommerceIndicator(electronicCommerceIndicator: String): void

Sets the Electronic Commerce Indicator value.

Parameters:

  • electronicCommerceIndicator - the ECI value

setThreeDSResult(String) 

setThreeDSResult(threeDSResult: String): void

Sets the 3D Secure authentication result.

Parameters:

  • threeDSResult - the 3DS result

See Also:


setThreeDSTransactionId(String) 

setThreeDSTransactionId(threeDSTransactionId: String): void

Sets the 3D Secure transaction identifier.

Parameters:

  • threeDSTransactionId - the 3DS transaction ID

setThreeDSVersion(String) 

setThreeDSVersion(threeDSVersion: String): void

Sets the 3D Secure protocol version.

Parameters:

  • threeDSVersion - the 3DS version

See Also: