public class PaymentMethods
extends java.lang.Object
PaymentMethods
.
PaymentMethods
is made up with one or more PaymentMethod
.Constructor and Description |
---|
PaymentMethods()
This method creates a new PaymentMethods object.
|
Modifier and Type | Method and Description |
---|---|
PaymentMethod |
getPaymentMethod(int index)
This method returns the payment method.
|
int |
getPaymentMethodCount()
This method returns the count payment method.
|
void |
setPaymentMethod(int index,
PaymentMethod PaymentMethod)
This method sets the payment method.
|
java.lang.String |
toString()
This method creates a string representation of the object.
|
public PaymentMethods()
public void setPaymentMethod(int index, PaymentMethod PaymentMethod)
index
- The index.PaymentMethod
- The payment method to set.public PaymentMethod getPaymentMethod(int index)
index
- The index.public int getPaymentMethodCount()
public java.lang.String toString()
toString
in class java.lang.Object