Package | Description |
---|---|
com.neurosys.ecom.orders.domain |
Modifier and Type | Method and Description |
---|---|
TransactionAmount |
TransactionAmount.add(TransactionAmount amt)
Will add the amount to the current amount and return the updated current amount;
parameter null values are skipped
|
TransactionAmount |
TransactionAmount.clone() |
TransactionAmount |
TransactionAmount.deduct(TransactionAmount amt)
Will deduct the amount to the current amount and return the updated current amount;
parameter null values are skipped
|
TransactionAmount |
Transaction.getAmount()
Transaction amount
We want to maintain the details @ the transaction level in addition to Order because Orders may be modified.We can tract at the point in time, what was the exact amount transacted. |
TransactionAmount |
Transaction.getFee()
An optional transaction fee
|
Modifier and Type | Method and Description |
---|---|
TransactionAmount |
TransactionAmount.add(TransactionAmount amt)
Will add the amount to the current amount and return the updated current amount;
parameter null values are skipped
|
TransactionAmount |
TransactionAmount.deduct(TransactionAmount amt)
Will deduct the amount to the current amount and return the updated current amount;
parameter null values are skipped
|
void |
Transaction.setAmount(TransactionAmount amount)
Transaction amount
We want to maintain the details @ the transaction level in addition to Order because Orders may be modified.We can tract at the point in time, what was the exact amount transacted. |
void |
Transaction.setFee(TransactionAmount fee)
An optional transaction fee
|
Copyright © 2018. All rights reserved.