ZMObject
└─ZMPaymentType
public class ZMPaymentType
extends ZMObject
| Fields inherited from org.zenmagick.core.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMPaymentType(int id, string name, string instructions) Create a new payment type. |
|
| Method Summary | |
|---|---|
| void | addField(ZMPaymentField field) Add a form field to this payment type. |
| string | getError() Get the payment error (if any). |
| array | Get the payment form fields. |
| int | getId() Get the payment type id. |
| string | Get the optional payment instructions. |
| string | getName() Get the payment name. |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMPaymentType(int id, string name, string instructions)
Create a new payment type.
public void addField(ZMPaymentField field)
Add a form field to this payment type.
public string getError()
Get the payment error (if any).
public array getFields()
Get the payment form fields.
ZMPaymentField instances.public int getId()
Get the payment type id.
public string getInstructions()
Get the optional payment instructions.
This may contain HTML, depending on the module.
public string getName()
Get the payment name.
This may contain HTML, depending on the module.
A single payment type including all required information and settings.