Class Status
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThis field is used to communicate an overall status for the transaction.This field contains the actual, raw response code from the 'Host', AKA Stratus or Tandem.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()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.voidsetHostRespCode(String hostRespCode) This field contains the actual, raw response code from the 'Host', AKA Stratus or Tandem.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()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
-
Status
public Status()
-
-
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() -
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. Note that
getHostRespCode()will contain the raw value from the host in case the consumer needs that info, but business logic should almost always usegetRespCode()instead for its normalized representation. -
getRespCodeMessage
Text message associated withgetRespCode(). -
getHostRespCode
This field contains the actual, raw response code from the 'Host', AKA Stratus or Tandem. This is provided for completeness, but generally speaking any logic should target the normalized value ingetRespCode()instead. -
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:
-
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() -
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. Note that
getHostRespCode()will contain the raw value from the host in case the consumer needs that info, but business logic should almost always usegetRespCode()instead for its normalized representation. -
setRespCodeMessage
Text message associated withgetRespCode(). -
setHostRespCode
This field contains the actual, raw response code from the 'Host', AKA Stratus or Tandem. This is provided for completeness, but generally speaking any logic should target the normalized value ingetRespCode()instead. -
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:
-
equals
- Overrides:
equalsin classAbstractAdditionalPropertiesAwareDTO
-
canEqual
- Overrides:
canEqualin classAbstractAdditionalPropertiesAwareDTO
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAdditionalPropertiesAwareDTO
-
toString
- Overrides:
toStringin classAbstractAdditionalPropertiesAwareDTO
-