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 Details

    • PaymentMethod

      public PaymentMethod(@NonNull @NonNull String description)
      Creates a new PaymentMethod instance.
      Parameters:
      description - Description of the PaymentMethod in human-readable form. Is not null.
  • Method Details