Class HPSOrderAbstractionQueryResponse
java.lang.Object
com.broadleafcommerce.vendor.chasepayment.service.support.AbstractAdditionalPropertiesAwareDTO
com.broadleafcommerce.vendor.chasepayment.service.hps.domain.HPSOrderAbstractionQueryResponse
- All Implemented Interfaces:
Serializable
public class HPSOrderAbstractionQueryResponse
extends AbstractAdditionalPropertiesAwareDTO
implements Serializable
When using Chase Hosted Payment Solutions (HPS), this is the POJO representing the actual response body received from the Chase UID Query API.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe card brand of the card the customer entered.getCity()getEmail()The two-digit expiration month of the card the customer provided.The 4 digit expiration year of the card the customer provided.This will contain all the (variable) response data from the Orbital Gateway.Transaction response code returned by the gateway.Similar togetStatus_message()but will include the message returned by the gateway.getMpan()The masked payment account number submitted by the customer (for example, the card number with many of the digits replaced with 'X').getPhone()Transaction response status.Transaction status code according to the status value.Status message returned by the gateway on success.getUid()Echoes the UID from the request.inthashCode()voidsetAddress(String address) voidsetAddress2(String address2) voidsetBilling_name(String billing_name) voidsetCard_brand(String card_brand) The card brand of the card the customer entered.voidvoidsetCountry(String country) voidsetDescription(String description) voidvoidsetExp_month(String exp_month) The two-digit expiration month of the card the customer provided.voidsetExp_year(String exp_year) The 4 digit expiration year of the card the customer provided.voidsetGateway(GatewayResponse gateway) This will contain all the (variable) response data from the Orbital Gateway.voidsetGateway_code(String gateway_code) Transaction response code returned by the gateway.voidsetGateway_message(String gateway_message) Similar togetStatus_message()but will include the message returned by the gateway.voidsetMerchant_data1(String merchant_data1) voidsetMerchant_data2(String merchant_data2) voidsetMerchant_data3(String merchant_data3) voidsetMerchant_data4(String merchant_data4) voidsetMerchant_data5(String merchant_data5) voidThe masked payment account number submitted by the customer (for example, the card number with many of the digits replaced with 'X').voidsetOrder_id(String order_id) voidvoidsetPostal_code(String postal_code) voidsetState_province(String state_province) voidTransaction response status.voidsetStatus_code(String status_code) Transaction status code according to the status value.voidsetStatus_message(String status_message) Status message returned by the gateway on success.voidsetTotal_amount(String total_amount) voidEchoes the UID from the request.toString()Methods inherited from class com.broadleafcommerce.vendor.chasepayment.service.support.AbstractAdditionalPropertiesAwareDTO
addAttribute, getAttributes
-
Constructor Details
-
HPSOrderAbstractionQueryResponse
public HPSOrderAbstractionQueryResponse()
-
-
Method Details
-
getUid
Echoes the UID from the request. -
getGateway
This will contain all the (variable) response data from the Orbital Gateway. -
getStatus
Transaction response status. Either "Success" or "Fail" -
getStatus_code
Transaction status code according to the status value. The response code varies when there is an error. On success, the code is 00. If the transaction fails on the gateway end the code will be 2300, and the code will vary for other failures. -
getStatus_message
Status message returned by the gateway on success. If the transaction failed on the gateway end, the message will be "Gateway Error". -
getGateway_code
Transaction response code returned by the gateway. -
getGateway_message
Similar togetStatus_message()but will include the message returned by the gateway. -
getMerchant_data1
-
getMerchant_data2
-
getMerchant_data3
-
getMerchant_data4
-
getMerchant_data5
-
getOrder_id
-
getCard_brand
The card brand of the card the customer entered. -
getBilling_name
-
getAddress
-
getAddress2
-
getCity
- See Also:
-
getState_province
-
getCountry
-
getPostal_code
-
getEmail
-
getPhone
-
getDescription
-
getMpan
The masked payment account number submitted by the customer (for example, the card number with many of the digits replaced with 'X'). -
getExp_month
The two-digit expiration month of the card the customer provided. -
getExp_year
The 4 digit expiration year of the card the customer provided. -
getTotal_amount
-
setUid
Echoes the UID from the request. -
setGateway
This will contain all the (variable) response data from the Orbital Gateway. -
setStatus
Transaction response status. Either "Success" or "Fail" -
setStatus_code
Transaction status code according to the status value. The response code varies when there is an error. On success, the code is 00. If the transaction fails on the gateway end the code will be 2300, and the code will vary for other failures. -
setStatus_message
Status message returned by the gateway on success. If the transaction failed on the gateway end, the message will be "Gateway Error". -
setGateway_code
Transaction response code returned by the gateway. -
setGateway_message
Similar togetStatus_message()but will include the message returned by the gateway. -
setMerchant_data1
-
setMerchant_data2
-
setMerchant_data3
-
setMerchant_data4
-
setMerchant_data5
-
setOrder_id
-
setCard_brand
The card brand of the card the customer entered. -
setBilling_name
-
setAddress
-
setAddress2
-
setCity
- See Also:
-
setState_province
-
setCountry
-
setPostal_code
-
setEmail
-
setPhone
-
setDescription
-
setMpan
The masked payment account number submitted by the customer (for example, the card number with many of the digits replaced with 'X'). -
setExp_month
The two-digit expiration month of the card the customer provided. -
setExp_year
The 4 digit expiration year of the card the customer provided. -
setTotal_amount
-
equals
- Overrides:
equalsin classAbstractAdditionalPropertiesAwareDTO
-
canEqual
- Overrides:
canEqualin classAbstractAdditionalPropertiesAwareDTO
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAdditionalPropertiesAwareDTO
-
toString
- Overrides:
toStringin classAbstractAdditionalPropertiesAwareDTO
-