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
ConstructorsConstructorDescriptionPaymentMethod(@NonNull String description) Creates a newPaymentMethodinstance. -
Method Summary
-
Constructor Details
-
PaymentMethod
Creates a newPaymentMethodinstance.- Parameters:
description- Description of thePaymentMethodin human-readable form. Is not null.
-
-
Method Details