Package | Description |
---|---|
com.neurosys.ecom.orders.domain | |
com.neurosys.ecom.orders.exception | |
com.neurosys.ecom.orders.service | |
com.neurosys.ecom.payment.methods |
Modifier and Type | Method and Description |
---|---|
Transaction |
Order.getTransaction()
Last associated successful online
Transaction that occoured to fulfill this order |
Modifier and Type | Method and Description |
---|---|
void |
Order.addTransaction(Transaction transaction)
Add
Transaction and do some basic checks and assignment
TODO: Add Unit test case to avoid duplicates |
void |
Order.setTransaction(Transaction transaction)
Last associated successful online
Transaction that occoured to fulfill this order |
Modifier and Type | Method and Description |
---|---|
Transaction |
WebPageTransactionRequest.getTransaction() |
Transaction |
WebURLPageTransactionRequest.getTransaction() |
Transaction |
TransactionException.getTransaction()
|
Constructor and Description |
---|
TransactionException(Transaction transaction) |
TransactionException(Transaction transaction,
Exception e) |
TransactionException(Transaction transaction,
String str) |
WebPageTransactionRequest(String html,
Transaction t) |
WebURLPageTransactionRequest(String url,
Transaction t) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractOnlineTransactionRequestHandler<T extends Transaction,O extends Order>
Implements some basic common
TransactionService aspects |
class |
DefaultTransactionService<T extends Transaction<O>,O extends Order>
Default implementation for
TransactionService
Since this implements ChangeGenerator ; it will also generate Events of Typesave - Transaction
|
interface |
TransactionRequestHandler<T extends Transaction,O extends Order>
A Service that will realize a
Transaction from an Order and also persist the Transaction
The service to implement this often will have to rely on Third party API depending on the Gateway needs and requirements. |
interface |
TransactionService<T extends Transaction<O>,O extends Order>
|
Modifier and Type | Method and Description |
---|---|
Transaction |
TransactionResponseHandler.handleRequest(R request)
Handle the Reqest response from the Gateway
|
Modifier and Type | Interface and Description |
---|---|
interface |
OnlinePayment<T extends Transaction,O extends Order>
Online payments
|
Copyright © 2018. All rights reserved.