Frontend | Backend | Api

Shipping\Models\Api\TemplateMethod

Template method allows programming its own way to create the rates.

Property Description Returns
displayType Returns the nice name of a method type string
type Returns the type of condition string
snakeType Returns the type of condition in the snake case format: lowercase and connected by underline string
slugType Returns the type of condition in the slug format: lowercase and connected by hyphen string
templateCode Gets the template code for this method. string
hateoasLinks Get the HATEOAS links for the record array
editUrl Get the url for editing the record. string
deleteUrl Get the url for deleting the record. string
manageUrl Get the url for managing records. string
id int
name string
configuration array
created Date the record was created. DateTime
modified Last modification date for the record. DateTime
active bool
requestHook Hook
responseHook Hook
group Group
site Site
categories Collection
warehouses Collection (Warehouse)
zones Collection