ZMObject
|
+--ZMPayments
public class ZMPayments
extends ZMObject
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| array | Get the available payment types. |
| string | getPaymentsJavaScript(boolean echo) Generate the JavaScript for the payment form validation. |
| ZMPaymentType | Get the selected payment type. |
| void | Get the zen-cart payment modules. |
| static void | instance() Get instance. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| backtrace, create, log, singleton | |
public ZMPayments()
Create new instance. /
public array getPaymentTypes()
Get the available payment types.
ZMPaymentType instances.public string getPaymentsJavaScript(boolean echo)
Generate the JavaScript for the payment form validation.
true, echo the code.public ZMPaymentType getSelectedPaymentType()
Get the selected payment type.
null.public void getZenModules()
Get the zen-cart payment modules. /
public static void instance()
Get instance. /
Payments.