Frontend | Backend | Api

Invoices\Models\Frontend\MockPayPaymentMethod

Class MockPayPaymentMethod

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