| Package | Description |
|---|---|
| com.networknt.saga.customer.domain | |
| com.networknt.saga.customer.service |
| Modifier and Type | Method and Description |
|---|---|
<S extends Customer> |
CustomerRepository.save(S entity)
Saves a given entity.
|
| Modifier and Type | Method and Description |
|---|---|
Customer |
MapCustomerRepository.findOne(Long id) |
Customer |
CustomerRepository.findOne(Long id)
Retrieves an entity by its id.
|
Customer |
MapCustomerRepository.save(Customer customer) |
| Modifier and Type | Method and Description |
|---|---|
Map<Long,Customer> |
MapCustomerRepository.findAll() |
Map<Long,Customer> |
CustomerRepository.findAll()
Returns all instances of the type.
|
| Modifier and Type | Method and Description |
|---|---|
Customer |
MapCustomerRepository.save(Customer customer) |
| Modifier and Type | Method and Description |
|---|---|
Customer |
CustomerService.createCustomer(String name,
Money creditLimit) |
Copyright © 2020. All rights reserved.