public abstract class PaymentMethod extends Object implements Serializable
PaymentMethod
specifies a medium by which a payment has or will be made.Constructor and Description |
---|
PaymentMethod(String description)
Constructor which takes a String, describing the
PaymentMethod in human-readable form. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString()
The string representation of this
PaymentMethod . |
public PaymentMethod(String description)
PaymentMethod
in human-readable form.description
- Description of the PaymentMethod
in human-readable form. Must be non-null.public String toString()
PaymentMethod
. It's the description that was given to the
constructor.Copyright © 2014 Pivotal Software, Inc.. All rights reserved.