public final class Cash extends PaymentMethod
PaymentMethod is used to designate all payments made in cash.| Modifier and Type | Field and Description | 
|---|---|
static Cash | 
CASH
A convenience instance  
CASH is defined in this class, which can be reused, instead of instantiating a
 new instance every time one is needed. | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
canEqual(Object other)  | 
boolean | 
equals(Object o)  | 
int | 
hashCode()  | 
String | 
toString()  | 
@Generated(value="lombok") public String toString()
toString in class PaymentMethod@Generated(value="lombok") public boolean equals(Object o)
equals in class PaymentMethod@Generated(value="lombok") protected boolean canEqual(Object other)
canEqual in class PaymentMethod@Generated(value="lombok") public int hashCode()
hashCode in class PaymentMethodCopyright © 2018 Pivotal Software, Inc.. All rights reserved.