phpDocumentor

GXParcelService
in package
implements ParcelServiceInterface

Class GXParcelService

Interfaces, Classes and Traits

ParcelServiceInterface
Interface ParcelServiceInterface

Table of Contents

$descriptions  : ParcelServiceDescriptionCollection
$id  : int|null
$isDefault  : bool
$name  : string
__construct()  : mixed
GXParcelService constructor.
create()  : GXParcelService
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.

Properties

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

Search results