RecurringTemplate service

 Methods

Constructor

__construct(\Moneybird\ApiConnector $connector) 

Parameters

Deletes a template

delete(\Moneybird\RecurringTemplate $template) : \Moneybird\self

Parameters

Returns

\Moneybird\self

Get all templates

getAll(string $filter, \Moneybird\RecurringTemplate_Subject $parent) : \Moneybird\RecurringTemplate_Array

Get template by id

getById(int $id) : \Moneybird\RecurringTemplate

Parameters

$id

int

Returns

Updates or inserts a template

save(\Moneybird\RecurringTemplate $template) : \Moneybird\RecurringTemplate

 Properties

 

ApiConnector object

$connector : \Moneybird\ApiConnector