@Entity
public class Customer
extends java.lang.Object
| Constructor and Description |
|---|
Customer() |
Customer(java.lang.String name,
Money creditLimit) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getId() |
void |
reserveCredit(java.lang.Long orderId,
Money orderTotal) |