Package org.salespointframework.payment
Class Cash
- java.lang.Object
-
- org.salespointframework.payment.PaymentMethod
-
- org.salespointframework.payment.Cash
-
- All Implemented Interfaces:
Serializable
public final class Cash extends PaymentMethod
The cashPaymentMethodis used to designate all payments made in cash.- Author:
- Hannes Weisbach
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)inthashCode()StringtoString()
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classPaymentMethod
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classPaymentMethod
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classPaymentMethod
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPaymentMethod
-
-