Package org.salespointframework.payment
Class PaymentMethod
java.lang.Object
org.salespointframework.payment.PaymentMethod
- All Implemented Interfaces:
Serializable
,org.jmolecules.ddd.types.ValueObject
- Direct Known Subclasses:
Cash
,Cheque
,PaymentCard
public abstract class PaymentMethod
extends Object
implements Serializable, org.jmolecules.ddd.types.ValueObject
A
PaymentMethod
specifies a medium by which a payment has or will be made.- Author:
- Hannes Weisbach
- See Also:
-
Constructor Summary
ConstructorDescriptionPaymentMethod
(@NonNull String description) Creates a newPaymentMethod
instance. -
Method Summary
-
Constructor Details
-
PaymentMethod
Creates a newPaymentMethod
instance.- Parameters:
description
- Description of thePaymentMethod
in human-readable form. Is not null.
-
-
Method Details