| Package | Description |
|---|---|
| com.networknt.saga.common | |
| com.networknt.saga.customer.domain | |
| com.networknt.saga.customer.service | |
| com.networknt.saga.order.domain | |
| com.networknt.saga.order.saga.participants |
| Modifier and Type | Field and Description |
|---|---|
static Money |
Money.ZERO |
| Modifier and Type | Method and Description |
|---|---|
Money |
Money.add(Money other) |
Money |
Money.subtract(Money other) |
| Modifier and Type | Method and Description |
|---|---|
Money |
Money.add(Money other) |
boolean |
Money.isGreaterThanOrEqual(Money other) |
Money |
Money.subtract(Money other) |
| Modifier and Type | Method and Description |
|---|---|
void |
Customer.reserveCredit(Long orderId,
Money orderTotal) |
| Constructor and Description |
|---|
Customer(String name,
Money creditLimit) |
| Modifier and Type | Method and Description |
|---|---|
Customer |
CustomerService.createCustomer(String name,
Money creditLimit) |
| Modifier and Type | Method and Description |
|---|---|
Money |
OrderDetails.getOrderTotal() |
| Constructor and Description |
|---|
OrderDetails(Long customerId,
Money orderTotal) |
| Modifier and Type | Method and Description |
|---|---|
Money |
ReserveCreditCommand.getOrderTotal() |
| Modifier and Type | Method and Description |
|---|---|
void |
ReserveCreditCommand.setOrderTotal(Money orderTotal) |
| Constructor and Description |
|---|
ReserveCreditCommand(Long customerId,
Long orderId,
Money orderTotal) |
Copyright © 2020. All rights reserved.