Interface OrbitalGatewayProvider
- All Known Implementing Classes:
DefaultOrbitalGatewayProvider
public interface OrbitalGatewayProvider
Service component responsible for interacting with Chase's Orbital Gateway APIs.
-
Method Summary
Modifier and TypeMethodDescriptionexecuteAuthorize(OrbitalCreatePaymentRequest requestPayload, OrbitalPaymentRequestWrapper orbitalPaymentRequestWrapper) Execute anDefaultTransactionTypes.AUTHORIZEtransaction against the Orbital Gateway.executeAuthorizeAndCapture(OrbitalCreatePaymentRequest requestPayload, OrbitalPaymentRequestWrapper orbitalPaymentRequestWrapper) Execute anDefaultTransactionTypes.AUTHORIZE_AND_CAPTUREtransaction against the Orbital Gateway.executeCapture(OrbitalCaptureRequest requestPayload, OrbitalPaymentRequestWrapper orbitalPaymentRequestWrapper) Execute aDefaultTransactionTypes.CAPTUREtransaction against the Orbital Gateway.executeRefund(OrbitalRefundRequest requestPayload, OrbitalPaymentRequestWrapper orbitalPaymentRequestWrapper) Execute aDefaultTransactionTypes.REFUNDtransaction against the Orbital Gateway.executeReversal(OrbitalReversalRequest requestPayload, OrbitalPaymentRequestWrapper orbitalPaymentRequestWrapper) Execute aDefaultTransactionTypes.REVERSE_AUTHtransaction against the Orbital Gateway.
-
Method Details
-
executeAuthorize
OrbitalCreatePaymentResponse executeAuthorize(OrbitalCreatePaymentRequest requestPayload, OrbitalPaymentRequestWrapper orbitalPaymentRequestWrapper) Execute anDefaultTransactionTypes.AUTHORIZEtransaction against the Orbital Gateway.- Parameters:
requestPayload- a request payload that can be sent to the Orbital API, already populated with details fromorbitalPaymentRequestWrapperorbitalPaymentRequestWrapper- the original payment request details containing additional context about the request- Returns:
- the response payload received from the Orbital API
- Throws:
MissingRequiredConfigurationException- if key system configuration elements were not foundProviderApiException- if something goes wrong
-
executeAuthorizeAndCapture
OrbitalCreatePaymentResponse executeAuthorizeAndCapture(OrbitalCreatePaymentRequest requestPayload, OrbitalPaymentRequestWrapper orbitalPaymentRequestWrapper) Execute anDefaultTransactionTypes.AUTHORIZE_AND_CAPTUREtransaction against the Orbital Gateway.- Parameters:
requestPayload- a request payload that can be sent to the Orbital API, already populated with details fromorbitalPaymentRequestWrapperorbitalPaymentRequestWrapper- the original payment request details containing additional context about the request- Returns:
- the response payload received from the Orbital API
- Throws:
MissingRequiredConfigurationException- if key system configuration elements were not foundProviderApiException- if something goes wrong
-
executeCapture
OrbitalCaptureResponse executeCapture(OrbitalCaptureRequest requestPayload, OrbitalPaymentRequestWrapper orbitalPaymentRequestWrapper) Execute aDefaultTransactionTypes.CAPTUREtransaction against the Orbital Gateway.- Parameters:
requestPayload- a request payload that can be sent to the Orbital API, already populated with details fromorbitalPaymentRequestWrapperorbitalPaymentRequestWrapper- the original payment request details containing additional context about the request- Returns:
- the response payload received from the Orbital API
- Throws:
MissingRequiredConfigurationException- if key system configuration elements were not foundProviderApiException- if something goes wrong
-
executeRefund
OrbitalRefundResponse executeRefund(OrbitalRefundRequest requestPayload, OrbitalPaymentRequestWrapper orbitalPaymentRequestWrapper) Execute aDefaultTransactionTypes.REFUNDtransaction against the Orbital Gateway.- Parameters:
requestPayload- a request payload that can be sent to the Orbital API, already populated with details fromorbitalPaymentRequestWrapperorbitalPaymentRequestWrapper- the original payment request details containing additional context about the request- Returns:
- the response payload received from the Orbital API
- Throws:
MissingRequiredConfigurationException- if key system configuration elements were not foundProviderApiException- if something goes wrong
-
executeReversal
OrbitalReversalResponse executeReversal(OrbitalReversalRequest requestPayload, OrbitalPaymentRequestWrapper orbitalPaymentRequestWrapper) Execute aDefaultTransactionTypes.REVERSE_AUTHtransaction against the Orbital Gateway.- Parameters:
requestPayload- a request payload that can be sent to the Orbital API, already populated with details fromorbitalPaymentRequestWrapperorbitalPaymentRequestWrapper- the original payment request details containing additional context about the request- Returns:
- the response payload received from the Orbital API
- Throws:
MissingRequiredConfigurationException- if key system configuration elements were not foundProviderApiException- if something goes wrong
-