ModelInvoices module

PayPalDonatePaymentMethod

PayPal Donate Payment Method

A model in the Invoices module, with 16 members for templates, 13 API properties and 21 members for admin templates.

Invoices\Models\Frontend\PayPalDonatePaymentMethod Invoices\Models\Api\PayPalDonatePaymentMethod Invoices\Models\Backend\PayPalDonatePaymentMethod Also in Invoices: Invoice InvoiceCustomFieldValue Item MockPayPaymentMethod PayPalPaymentMethod Refund RefundItem StripePaymentMethod Transaction
View
What Smarty and Twig templates receive. Properties in REST API responses and job payloads. What admin screen templates receive when you override them.

Templates view

Properties 16

Take no arguments.

# getBusinessEmail()
?string
Get the PayPal business email / account ID
# getHostedButtonId()
?string
Get the PayPal hosted button ID
# isAuthorizationSupported()
bool
# getPaymentServiceProviderName()
string
Get the name of the payment service provider.
# getPaymentServiceProviderType()
string
Get the payment service provider type. Integrators can use this to determine what payment service provider this payment method belongs to.
# getId()
?int
# getName()
?string
# getPosition()
?int
# isTestMode()
bool
# getCreated()
?DateTime
Date the record was created.
# getModified()
?DateTime
Last modification date for the record.
# isActive()
bool
# getSite()
?Site
# isNewRecord() Not in API & Jobs
bool
Check if the record is a new record
# isHierarchicalModel() Not in API & Jobs
bool
Check whether a model is a hierarchical model, i.e. can have children
# isVersionedModel() Not in API & Jobs
bool
Check whether a model is versioned

API & Jobs view

API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.

Properties 13

Read-only values on the record.

# businessEmail
?string
Get the PayPal business email / account ID
# hostedButtonId
?string
Get the PayPal hosted button ID
# authorizationSupported
bool
# paymentServiceProviderName
string
Get the name of the payment service provider.
# paymentServiceProviderType
string
Get the payment service provider type. Integrators can use this to determine what payment service provider this payment method belongs to.
# id
?int
# name
?string
# position
?int
# testMode
bool
# created
?DateTime
Date the record was created.
# modified
?DateTime
Last modification date for the record.
# active
bool
# site
?Site

Admin view

AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.

Properties 21

Take no arguments.

# getBusinessEmail()
?string
Get the PayPal business email / account ID
# getHostedButtonId()
?string
Get the PayPal hosted button ID
# isAuthorizationSupported()
bool
# getPaymentServiceProviderName()
string
Get the name of the payment service provider.
# getPaymentServiceProviderType()
string
Get the payment service provider type. Integrators can use this to determine what payment service provider this payment method belongs to.
# getId()
?int
# getName()
?string
# getPosition()
?int
# isTestMode()
bool
# getCreated()
?DateTime
Date the record was created.
# getModified()
?DateTime
Last modification date for the record.
# isActive()
bool
# getSite()
?Site
# isNewRecord() Not in API & Jobs
bool
Check if the record is a new record
# isHierarchicalModel() Not in API & Jobs
bool
Check whether a model is a hierarchical model, i.e. can have children
# isVersionedModel() Not in API & Jobs
bool
Check whether a model is versioned
# getEditUrl() Admin only
?string
Get the url for editing the record.
# getMoveUrl() Admin only
?string
Get the url for moving the record.
# getDeleteUrl() Admin only
?string
Get the url for deleting the record.
# getManageUrl() Admin only
?string
Get the url for managing records.