public class PaymentMethod
extends java.lang.Object
PaymentMethod
.
One PaymentMethod
may have one or more Property
.Constructor and Description |
---|
PaymentMethod()
This method creates a new PaymentMethod object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKeepPendingStatus()
This method returns the keep pending status.
|
java.lang.String |
getName()
This method returns the name of payment method.
|
java.lang.String |
getPaymentConfiguration()
This method returns the payment configuration.
|
Property |
getProperty(int index)
This method returns the property with specified index in the list.
|
int |
getPropertyCount()
This method returns the count of the properties.
|
void |
setKeepPendingStatus(java.lang.String keepPendingStatus)
This method sets the keep pending status.
|
void |
setName(java.lang.String name)
This method sets the name of payment method.
|
void |
setPaymentConfiguration(java.lang.String paymentConfiguration)
This method sets the payment configuration.
|
void |
setProperty(int index,
Property Property)
This method sets the property.
|
java.lang.String |
toString()
This method creates a string representation of the object.
|
public PaymentMethod()
public void setKeepPendingStatus(java.lang.String keepPendingStatus)
keepPendingStatus
- The keep pending status.public java.lang.String getKeepPendingStatus()
public void setName(java.lang.String name)
name
- The name of payment method.public java.lang.String getName()
public void setPaymentConfiguration(java.lang.String paymentConfiguration)
paymentConfiguration
- The payment configuration.public java.lang.String getPaymentConfiguration()
public void setProperty(int index, Property Property)
index
- The index of the property is in the list.Property
- A Property
that represents the property to set.public Property getProperty(int index)
index
- The index of the property is in the list.public int getPropertyCount()
public java.lang.String toString()
toString
in class java.lang.Object