public final class Cash extends PaymentMethod
PaymentMethod
is used to designate all payments made in cash.Modifier and Type | Field and Description |
---|---|
static Cash |
CASH
A convenience instance
CASH is defined in this class, which can be reused, instead of instantiating a
new instance every time one is needed. |
Constructor and Description |
---|
Cash()
Creates a new cash instance.
|
public Cash()
CASH
instead of instantiating a new one.Copyright © 2014 Pivotal Software, Inc.. All rights reserved.