TemplateService
class TemplateService extends BaseService (View source)
The template manager class used to handle templates.
Methods
Details
        in BaseService at line         line 28
                            
    __construct(KlaviyoApi $api)
        
    
    The constructor for the list manager class.
        in BaseService at line         line 35
                static            
    create(KlaviyoApi $api)
        
    
    Instantiates a new instance of this class.
        in BaseService at line         line 46
                            string
    getResourcePath($resource)
        
    
    Retrieve the full resource path.
        at line         line 22
                            TemplateModel
    updateTemplate(TemplateModel $template)
        
    
    Update the specified template.