\AcceptedPaymentMethod
Synopsis
class AcceptedPaymentMethod
extends DataObject
{
- // members
- private static string $singular_name = 'Accepted payment method';
- private static string $plural_name = 'Accepted payment methods';
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- // methods
- public void getCMSFields()
- public string getIcon()
- public void HasFileOrImage()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $has_one
- $plural_name
- $singular_name
- $summary_fields
Methods
public
- HasFileOrImage()
- getCMSFields()
- getIcon() — Return whatevers set in the DB on this object else fallback to images/payment-methods in themes with the default names from the config