Class GatewayResponse
- All Implemented Interfaces:
Serializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThis field is used to communicate an overall status for the transaction.Response code describing the result of address verification.The card brand of the card submitted by the customer.If "Y", the card submitted by the customer is a commercial card and supports Level 2 data.If the HPS submission was successful and a profile was successfully created, this is the reference number of the profile.Response code describing the result of CVV verification.The Orbital Gateway runs various validations on every request message, to ensure the request is valid in format and business logic.Text message associated withgetProcStatus()Communicates the success or failure of a Profile Management request.Text message associated withgetProfileProcStatus()If all the Orbital-local validations pass ingetProcStatus(), then the transaction will proceed to the 'Host', AKA Stratus or Tandem.Text message associated withgetRespCode().inthashCode()voidsetApprovalStatus(String approvalStatus) This field is used to communicate an overall status for the transaction.voidsetAvsRespCode(String avsRespCode) Response code describing the result of address verification.voidsetCardBrand(String cardBrand) The card brand of the card submitted by the customer.voidsetCtiCommercialCard(String ctiCommercialCard) If "Y", the card submitted by the customer is a commercial card and supports Level 2 data.voidsetCustomerRefNum(String customerRefNum) If the HPS submission was successful and a profile was successfully created, this is the reference number of the profile.voidsetCvvRespCode(String cvvRespCode) Response code describing the result of CVV verification.voidsetProcStatus(String procStatus) The Orbital Gateway runs various validations on every request message, to ensure the request is valid in format and business logic.voidsetProcStatusMessage(String procStatusMessage) Text message associated withgetProcStatus()voidsetProfileProcStatus(String profileProcStatus) Communicates the success or failure of a Profile Management request.voidsetProfileProcStatusMsg(String profileProcStatusMsg) Text message associated withgetProfileProcStatus()voidsetRespCode(String respCode) If all the Orbital-local validations pass ingetProcStatus(), then the transaction will proceed to the 'Host', AKA Stratus or Tandem.voidsetRespCodeMessage(String respCodeMessage) Text message associated withgetRespCode().toString()Methods inherited from class com.broadleafcommerce.vendor.chasepayment.service.support.AbstractAdditionalPropertiesAwareDTO
addAttribute, getAttributes
-
Constructor Details
-
GatewayResponse
public GatewayResponse()
-
-
Method Details
-
getProcStatus
The Orbital Gateway runs various validations on every request message, to ensure the request is valid in format and business logic. These validations happen prior to communication with the Hosts (Tandem / Stratus) and should therefore be verified first. The procStatus element is returned in all response types to communicate the result of all validations done by the Orbital Gateway.
This is the only element that is returned in all response scenarios.
-
getProcStatusMessage
Text message associated withgetProcStatus() -
getProfileProcStatus
Communicates the success or failure of a Profile Management request. 0 means success, >0 is an error. -
getProfileProcStatusMsg
Text message associated withgetProfileProcStatus() -
getApprovalStatus
This field is used to communicate an overall status for the transaction. The
getRespCode()might have the specific error, but this field allows for a general understanding of the category of the error.- See Also:
-
getRespCode
If all the Orbital-local validations pass in
getProcStatus(), then the transaction will proceed to the 'Host', AKA Stratus or Tandem.Chase provides normalized response data from the Host in this field (for consistency between Stratus and Tandem). This will identify approval, or the reason for decline or error. Business logic should always use this field for its normalized representation.
-
getRespCodeMessage
Text message associated withgetRespCode(). -
getAvsRespCode
Response code describing the result of address verification.- See Also:
-
getCvvRespCode
Response code describing the result of CVV verification.- See Also:
-
getCustomerRefNum
If the HPS submission was successful and a profile was successfully created, this is the reference number of the profile. This is important to harvest, as it's the value necessary to provide in subsequent transaction requests. -
getCardBrand
The card brand of the card submitted by the customer. -
getCtiCommercialCard
If "Y", the card submitted by the customer is a commercial card and supports Level 2 data. -
setProcStatus
The Orbital Gateway runs various validations on every request message, to ensure the request is valid in format and business logic. These validations happen prior to communication with the Hosts (Tandem / Stratus) and should therefore be verified first. The procStatus element is returned in all response types to communicate the result of all validations done by the Orbital Gateway.
This is the only element that is returned in all response scenarios.
-
setProcStatusMessage
Text message associated withgetProcStatus() -
setProfileProcStatus
Communicates the success or failure of a Profile Management request. 0 means success, >0 is an error. -
setProfileProcStatusMsg
Text message associated withgetProfileProcStatus() -
setApprovalStatus
This field is used to communicate an overall status for the transaction. The
getRespCode()might have the specific error, but this field allows for a general understanding of the category of the error.- See Also:
-
setRespCode
If all the Orbital-local validations pass in
getProcStatus(), then the transaction will proceed to the 'Host', AKA Stratus or Tandem.Chase provides normalized response data from the Host in this field (for consistency between Stratus and Tandem). This will identify approval, or the reason for decline or error. Business logic should always use this field for its normalized representation.
-
setRespCodeMessage
Text message associated withgetRespCode(). -
setAvsRespCode
Response code describing the result of address verification.- See Also:
-
setCvvRespCode
Response code describing the result of CVV verification.- See Also:
-
setCustomerRefNum
If the HPS submission was successful and a profile was successfully created, this is the reference number of the profile. This is important to harvest, as it's the value necessary to provide in subsequent transaction requests. -
setCardBrand
The card brand of the card submitted by the customer. -
setCtiCommercialCard
If "Y", the card submitted by the customer is a commercial card and supports Level 2 data. -
equals
- Overrides:
equalsin classAbstractAdditionalPropertiesAwareDTO
-
canEqual
- Overrides:
canEqualin classAbstractAdditionalPropertiesAwareDTO
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAdditionalPropertiesAwareDTO
-
toString
- Overrides:
toStringin classAbstractAdditionalPropertiesAwareDTO
-