| Method | Description | Returns |
|---|---|---|
| getFailureRate() | Get the failure rate | string |
| isAuthorizationSupported() | Is authorization supported? | bool |
| isPartialCaptureSupported() | Is partial capture supported? | bool |
| isRefundsSupported() | Is refunds supported? | bool |
| getPaymentServiceProviderName() | Get the name of the payment service provider. | string |
| getPaymentServiceProviderType() | Get the payment service provider type. Integrators can use this to determine what payment service provider this payment method belongs to. | string |
| getId() | int | |
| getName() | string | |
| getPosition() | int | |
| isTestMode() | bool | |
| getCreated() | Date the record was created. | DateTime |
| getModified() | Last modification date for the record. | DateTime |
| isActive() | bool | |
| getSite() | Site | |
| isNewRecord() | Check if the record is a new record | bool |
| isHierarchicalModel() | Check whether a model is a hierarchical model, i.e. can have children | bool |
| isVersionedModel() | Check whether a model is versioned | bool |
| getAvailableFailureRates() | Get available failure rates | array |
| getHateoasLinks() | Get the HATEOAS links for the record | array |
| getEditUrl() | Get the url for editing the record. | string |
| getMoveUrl() | Get the url for moving the record. | string |
| getDeleteUrl() | Get the url for deleting the record. | string |
| getManageUrl() | Get the url for managing records. | string |
Invoices\Models\Backend\MockPayPaymentMethod
Class MockPayPaymentMethod