DeliveryMode Model
The DeliveryMode model represents a mode of delivery that is defined for your shop.
Model Attributes
- id
-
Unique numeric ID of the delivery mode.
Methods:
integer getId()
object setId( integer ) - code
-
The code that the shop assigned to the delivery mode.
Methods:
string getCode()
object setCode( string ) - name
-
The name of the delivery mode.
Methods:
string getName()
object setName( string ) - contact
-
Contact url or information for delivery mode provider.
Methods:
string getContact()
object setContact( string )
API Calls
- array DeliveryMode::all()
-
Get all delivery modes defined for your shop.
Returns:
Array containing the list of DeliveryMode objects that are defined for to your shop. - object DeliveryMode::get( integer $id )
-
Get the delivery mode identified by the unique id.
Returns:
The DeliveryMode object identified by the unique id.