ZMPaymentType
public interface ZMPaymentType
| Method Summary | |
|---|---|
| string | Get the description. |
| string | getError() Get the payment error (if any). |
| array | Get the payment form fields. |
| string | getFormValidationJS(ZMRequest request) Get form validation javaScript for this payment type. |
| int | getId() Get the payment type id. |
| string | getInfo() Get the info field. |
| string | getName() Get the payment UI name. |
| string | getOrderFormContent(ZMRequest request) Get the content (HTML) for the actual order form (button). |
| string | getOrderFormUrl(ZMRequest request) Get the url to be used for the actual order form. |
| string | getTitle() Get the payment title. |
public string getDescription()
Get the description.
This may contain HTML, depending on the module.
public string getError()
Get the payment error (if any).
public array getFields()
Get the payment form fields.
ZMPaymentField instances.public string getFormValidationJS(ZMRequest request)
Get form validation javaScript for this payment type.
public int getId()
Get the payment type id.
public string getInfo()
Get the info field.
null.public string getName()
Get the payment UI name.
This may contain HTML, depending on the module.
public string getOrderFormContent(ZMRequest request)
Get the content (HTML) for the actual order form (button).
public string getOrderFormUrl(ZMRequest request)
Get the url to be used for the actual order form.
This is mostly relevant for payment types with externally hosted payment forms.
null.public string getTitle()
Get the payment title.
This may contain HTML, depending on the module.
A payment type.