Class Order
- All Implemented Interfaces:
Serializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanForOrbitalReversalRequest, this field is optionally used to specify the amount that needs to be reversed/voided.Only provided in requests.The industry type for the transaction.The ID of the order this transaction is being executed for.Only returned in responses.Only returned in responses.Merchant generated number to determine the uniqueness of a refund transaction by recognizing subsequent retries of the same request.In partialDefaultTransactionTypes.CAPTUREtransactions, Orbital will return a value in this field which is the "Transaction Reference Number of Split Transaction", or "the transaction reference number of the partial capture request".Only received in responses from the gateway.Gateway Transaction Index - used to identify the unique components of transactions adjusted more than once.Orbital Gateway Transaction Reference Number - a unique Orbital-generated value for each transaction.inthashCode()voidsetAdjustedAmount(String adjustedAmount) ForOrbitalReversalRequest, this field is optionally used to specify the amount that needs to be reversed/voided.voidOnly provided in requests.voidsetIndustryType(String industryType) The industry type for the transaction.voidsetOrderID(String orderID) The ID of the order this transaction is being executed for.voidsetRedeemedAmount(String redeemedAmount) Only returned in responses.voidsetRequestAmount(String requestAmount) Only returned in responses.voidsetRetryTrace(String retryTrace) Merchant generated number to determine the uniqueness of a refund transaction by recognizing subsequent retries of the same request.voidsetSplitTxRefIdx(String splitTxRefIdx) In partialDefaultTransactionTypes.CAPTUREtransactions, Orbital will return a value in this field which is the "Transaction Reference Number of Split Transaction", or "the transaction reference number of the partial capture request".voidOnly received in responses from the gateway.voidsetTxRefIdx(String txRefIdx) Gateway Transaction Index - used to identify the unique components of transactions adjusted more than once.voidsetTxRefNum(String txRefNum) Orbital Gateway Transaction Reference Number - a unique Orbital-generated value for each transaction.toString()Methods inherited from class com.broadleafcommerce.vendor.chasepayment.service.support.AbstractAdditionalPropertiesAwareDTO
addAttribute, getAttributes
-
Constructor Details
-
Order
public Order()
-
-
Method Details
-
getOrderID
The ID of the order this transaction is being executed for. This is a merchant-provided value. -
getRetryTrace
Merchant generated number to determine the uniqueness of a refund transaction by recognizing subsequent retries of the same request. -
getAmount
Only provided in requests.
A special-format string representing the amount of the transaction. The last two digits of this value are interpreted as the decimal. For example, to represent $1.00, the value would be "100", and to represent $123.00, the value would be "12300".
From Chase documentation: "Note: Currency and currency code are not passed in the request. It is implied by the Currency setup for the Merchant ID."
- See Also:
-
getAdjustedAmount
For
OrbitalReversalRequest, this field is optionally used to specify the amount that needs to be reversed/voided.OrbitalReversalRequestuses this field instead ofgetAmount()to specify the amount.From Chase documentation:
- When a specific amount is included with this field, that amount will be voided/reversed (assuming that the amount is not greater than the transaction amount remaining).
- If the amount is equal to the original transaction amount then a full void/reversal is performed
- If the amount is greater than the original amount then an error will be generated
-
getRequestAmount
Only returned in responses.
Echoes the amount from the request.
- See Also:
-
getRedeemedAmount
Only returned in responses.
Indicates the amount returned in the response from the host. Essentially, the actual amount transacted.
- See Also:
-
getIndustryType
The industry type for the transaction.- See Also:
-
getStatus
Only received in responses from the gateway. Not used in requests. -
getTxRefNum
Orbital Gateway Transaction Reference Number - a unique Orbital-generated value for each transaction.
Can be supplied in a request (for example, when attempting to capture/reverse/refund against a previous transaction). Requests that don't need to reference a previous transaction should leave this blank (Chase docs state it will be ignored anyway).
The Orbital gateway will return a value in this field for the value it generates for this transaction.
-
getTxRefIdx
Gateway Transaction Index - used to identify the unique components of transactions adjusted more than once. -
getSplitTxRefIdx
In partial
DefaultTransactionTypes.CAPTUREtransactions, Orbital will return a value in this field which is the "Transaction Reference Number of Split Transaction", or "the transaction reference number of the partial capture request". This is different from the maingetTxRefNum()that would have been submitted in the original request.At the time of writing, this value is recorded mainly for auditing purposes, and is not leveraged anywhere for business logic.
-
setOrderID
The ID of the order this transaction is being executed for. This is a merchant-provided value. -
setRetryTrace
Merchant generated number to determine the uniqueness of a refund transaction by recognizing subsequent retries of the same request. -
setAmount
Only provided in requests.
A special-format string representing the amount of the transaction. The last two digits of this value are interpreted as the decimal. For example, to represent $1.00, the value would be "100", and to represent $123.00, the value would be "12300".
From Chase documentation: "Note: Currency and currency code are not passed in the request. It is implied by the Currency setup for the Merchant ID."
- See Also:
-
setAdjustedAmount
For
OrbitalReversalRequest, this field is optionally used to specify the amount that needs to be reversed/voided.OrbitalReversalRequestuses this field instead ofgetAmount()to specify the amount.From Chase documentation:
- When a specific amount is included with this field, that amount will be voided/reversed (assuming that the amount is not greater than the transaction amount remaining).
- If the amount is equal to the original transaction amount then a full void/reversal is performed
- If the amount is greater than the original amount then an error will be generated
-
setRequestAmount
Only returned in responses.
Echoes the amount from the request.
- See Also:
-
setRedeemedAmount
Only returned in responses.
Indicates the amount returned in the response from the host. Essentially, the actual amount transacted.
- See Also:
-
setIndustryType
The industry type for the transaction.- See Also:
-
setStatus
Only received in responses from the gateway. Not used in requests. -
setTxRefNum
Orbital Gateway Transaction Reference Number - a unique Orbital-generated value for each transaction.
Can be supplied in a request (for example, when attempting to capture/reverse/refund against a previous transaction). Requests that don't need to reference a previous transaction should leave this blank (Chase docs state it will be ignored anyway).
The Orbital gateway will return a value in this field for the value it generates for this transaction.
-
setTxRefIdx
Gateway Transaction Index - used to identify the unique components of transactions adjusted more than once. -
setSplitTxRefIdx
In partial
DefaultTransactionTypes.CAPTUREtransactions, Orbital will return a value in this field which is the "Transaction Reference Number of Split Transaction", or "the transaction reference number of the partial capture request". This is different from the maingetTxRefNum()that would have been submitted in the original request.At the time of writing, this value is recorded mainly for auditing purposes, and is not leveraged anywhere for business logic.
-
equals
- Overrides:
equalsin classAbstractAdditionalPropertiesAwareDTO
-
canEqual
- Overrides:
canEqualin classAbstractAdditionalPropertiesAwareDTO
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAdditionalPropertiesAwareDTO
-
toString
- Overrides:
toStringin classAbstractAdditionalPropertiesAwareDTO
-