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 cashPaymentMethod
is 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 boolean
canEqual(Object other)
boolean
equals(Object o)
int
hashCode()
String
toString()
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classPaymentMethod
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classPaymentMethod
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classPaymentMethod
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPaymentMethod
-
-