ParcelServiceInterface
in
Interface ParcelServiceInterface
Table of Contents
- id() : int|null
- Returns the ID of the parcel service if set. Otherwise null will be returned.
- isDefault() : bool
- Checks if the parcel service is set as default.
- name() : string
- Returns the name of the parcel service.
- parcelServiceDescriptions() : ParcelServiceDescriptionCollection
- Returns the parcel service descriptions as a ParcelServiceDescriptionCollection.
Methods
id()
Returns the ID of the parcel service if set. Otherwise null will be returned.
public
id() : int|null
Return values
int|null —isDefault()
Checks if the parcel service is set as default.
public
isDefault() : bool
Return values
bool —name()
Returns the name of the parcel service.
public
name() : string
Return values
string —parcelServiceDescriptions()
Returns the parcel service descriptions as a ParcelServiceDescriptionCollection.
public
parcelServiceDescriptions() : ParcelServiceDescriptionCollection