Modifier and Type | Method and Description |
---|---|
PaymentRequest |
PaymentRequest.additionalField(String key,
Object value) |
PaymentRequest |
PaymentRequest.adjustmentsTotal(javax.money.MonetaryAmount adjustmentsTotal) |
PaymentRequest |
PaymentRequest.completeCheckoutOnCallback(boolean completeCheckoutOnCallback) |
PaymentRequest |
LineItem.done() |
PaymentRequest |
PaymentRequest.gatewayRequestType(PaymentGatewayRequestType gatewayRequestType) |
PaymentRequest |
LineItem.getParent() |
PaymentRequest |
PaymentRequest.orderDescription(String orderDescription) |
PaymentRequest |
PaymentRequest.orderId(String orderId) |
PaymentRequest |
PaymentRequest.orderSubtotal(javax.money.MonetaryAmount orderSubtotal) |
PaymentRequest |
PaymentRequest.paymentId(String paymentId) |
PaymentRequest |
PaymentRequest.paymentType(PaymentType paymentType) |
PaymentRequest |
PaymentRequest.shippingTotal(javax.money.MonetaryAmount shippingTotal) |
PaymentRequest |
PaymentRequest.sourceId(String sourceId) |
PaymentRequest |
PaymentRequest.sourceType(String sourceType) |
PaymentRequest |
PaymentRequest.taxTotal(javax.money.MonetaryAmount taxTotal) |
PaymentRequest |
PaymentRequest.transactionReferenceId(String transactionReferenceId) |
PaymentRequest |
PaymentRequest.transactionTotal(javax.money.MonetaryAmount transactionTotal) |
Modifier and Type | Method and Description |
---|---|
Address<PaymentRequest> |
PaymentRequest.billTo()
You should only call this once, as it will create a new bill to address if called more than
once.
|
CreditCard<PaymentRequest> |
PaymentRequest.creditCard()
You should only call this once, as it will create a new credit card if called more than once.
|
GatewayCustomer<PaymentRequest> |
PaymentRequest.customer()
You should only call this once, as it will create a new customer if called more than once.
|
CustomerCredit<PaymentRequest> |
PaymentRequest.customerCredit()
You should only call this once, as it will create a new gift card if called more than once.
|
Address<PaymentRequest> |
PaymentRequest.getBillTo()
The billing address associated with this transaction
|
CreditCard<PaymentRequest> |
PaymentRequest.getCreditCard()
For sale/authorize transactions, this will be the Credit Card object that was charged.
|
GatewayCustomer<PaymentRequest> |
PaymentRequest.getCustomer()
Any customer information that relates to this transaction
|
List<CustomerCredit<PaymentRequest>> |
PaymentRequest.getCustomerCredits()
Any customer credit accounts that have been processed.
|
List<GiftCard<PaymentRequest>> |
PaymentRequest.getGiftCards()
Any gift cards that have been processed.
|
Address<PaymentRequest> |
PaymentRequest.getShipTo()
If shipping information is captured on the gateway, the values sent back will be put here
|
Subscription<PaymentRequest> |
PaymentRequest.getSubscription()
Any information required to execute recurring billing
|
GiftCard<PaymentRequest> |
PaymentRequest.giftCard()
You should only call this once, as it will create a new gift card if called more than once.
|
Address<PaymentRequest> |
PaymentRequest.shipTo()
You should only call this once, as it will create a new customer if called more than once.
|
Subscription<PaymentRequest> |
PaymentRequest.subscription()
You should only call this once, as it will create a new subscription if called more than
once.
|
Constructor and Description |
---|
LineItem(PaymentRequest parent) |
Modifier and Type | Method and Description |
---|---|
PaymentRequest |
CurrentCustomerPaymentRequestService.getPaymentRequestFromCurrentCustomer()
Returns a
PaymentRequest based on all the information from the current customer in
the system, like one on threadlocal |
Modifier and Type | Method and Description |
---|---|
default PaymentResponse |
PaymentGatewayTransactionService.authorize(PaymentRequest paymentRequest)
Responsible for executing a
DefaultTransactionTypes.AUTHORIZE transaction against the
payment gateway, based on the provided PaymentRequest , & returning the transaction's
results in the form of a PaymentResponse . |
default PaymentResponse |
PaymentGatewayTransactionService.authorizeAndCapture(PaymentRequest paymentRequest)
Responsible for executing a
DefaultTransactionTypes.AUTHORIZE_AND_CAPTURE transaction
against the payment gateway, based on the provided PaymentRequest , & returning the
transaction's results in the form of a PaymentResponse . |
default PaymentResponse |
PaymentGatewaySubscriptionService.cancelGatewaySubscription(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayTransactionService.capture(PaymentRequest paymentRequest)
Responsible for executing a
DefaultTransactionTypes.CAPTURE transaction against the
payment gateway, based on the provided PaymentRequest , & returning the transaction's
results in the form of a PaymentResponse . |
default PaymentResponse |
PaymentGatewayTransactionConfirmationService.confirmTransaction(PaymentRequest paymentRequest) |
default PaymentResponse |
PaymentGatewayTransparentRedirectService.createAuthorizeAndCaptureForm(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayTransparentRedirectService.createAuthorizeForm(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayTransparentRedirectService.createCustomerPaymentTokenForm(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayCreditCardService.createGatewayCreditCard(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayCustomerService.createGatewayCustomer(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewaySubscriptionService.createGatewaySubscription(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayCreditCardService.deleteGatewayCreditCard(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayCustomerService.deleteGatewayCustomer(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayReportingService.findDetailsByTransaction(PaymentRequest paymentRequest) |
default PaymentResponse |
PaymentGatewayClientTokenService.generateClientToken(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayTransactionService.refund(PaymentRequest paymentRequest)
Responsible for executing a
DefaultTransactionTypes.REFUND transaction against the
payment gateway, based on the provided PaymentRequest , & returning the transaction's
results in the form of a PaymentResponse . |
default PaymentResponse |
PaymentGatewayHostedService.requestHostedEndpoint(PaymentRequest paymentRequest) |
default PaymentResponse |
PaymentGatewayFraudService.requestPayerAuthentication(PaymentRequest paymentRequest)
Certain Gateways integrate with Visa's Verified by Visa and MasterCard's SecureCode API If
the buyer is enrolled in such a service, we will need to redirect the buyer's browser to the
ACS ( Access Control Server, eg.
|
default PaymentResponse |
PaymentGatewayTransactionService.reverseAuthorize(PaymentRequest paymentRequest)
Responsible for executing a
DefaultTransactionTypes.REVERSE_AUTH transaction against
the payment gateway, based on the provided PaymentRequest , & returning the
transaction's results in the form of a PaymentResponse . |
default PaymentResponse |
PaymentGatewayRollbackService.rollbackAuthorize(PaymentRequest transactionToBeRolledBack) |
default PaymentResponse |
PaymentGatewayRollbackService.rollbackAuthorizeAndCapture(PaymentRequest transactionToBeRolledBack) |
default PaymentResponse |
PaymentGatewayRollbackService.rollbackCapture(PaymentRequest transactionToBeRolledBack) |
default PaymentResponse |
PaymentGatewayRollbackService.rollbackRefund(PaymentRequest transactionToBeRolledBack) |
default PaymentResponse |
PaymentGatewayTransparentRedirectService.updateCustomerPaymentTokenForm(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayCreditCardService.updateGatewayCreditCard(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayCustomerService.updateGatewayCustomer(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewaySubscriptionService.updateGatewaySubscription(PaymentRequest requestDTO) |
default PaymentResponse |
PaymentGatewayTransactionService.voidPayment(PaymentRequest paymentRequest)
Responsible for executing a
DefaultTransactionTypes.VOID transaction against the
payment gateway, based on the provided PaymentRequest , & returning the transaction's
results in the form of a PaymentResponse . |
Modifier and Type | Method and Description |
---|---|
PaymentResponse |
DefaultPassthroughTransactionService.authorize(PaymentRequest paymentRequest) |
PaymentResponse |
DefaultPassthroughTransactionService.authorizeAndCapture(PaymentRequest paymentRequest) |
PaymentResponse |
DefaultPassthroughTransactionService.capture(PaymentRequest paymentRequest) |
PaymentResponse |
DefaultPassthroughTransactionService.refund(PaymentRequest paymentRequest) |
PaymentResponse |
DefaultPassthroughTransactionService.reverseAuthorize(PaymentRequest paymentRequest) |
PaymentResponse |
DefaultPassthroughTransactionService.voidPayment(PaymentRequest paymentRequest) |
Modifier and Type | Method and Description |
---|---|
PaymentResponse |
DefaultPaymentResponseUtil.buildPaymentResponse(@NonNull PaymentRequest paymentRequest,
@NonNull PaymentGatewayType gatewayType,
@NonNull TransactionType transactionType) |
PaymentResponse |
PaymentResponseUtil.buildPaymentResponse(@NonNull PaymentRequest paymentRequest,
@NonNull PaymentGatewayType gatewayType,
@NonNull TransactionType transactionType)
Builds and populates a
PaymentResponse based on the provided PaymentRequest |
Copyright © 2021. All rights reserved.