Group

class Firstred\PostNL\Entity\Group
Parent:

Firstred\PostNL\Entity\AbstractEntity

Summary

Methods

Properties

protected static property Firstred\PostNL\Entity\Group::$GroupCount
Amount of shipments in the group.
Type:

string | null

protected static property Firstred\PostNL\Entity\Group::$GroupSequence
Sequence number.
Type:

string | null

protected static property Firstred\PostNL\Entity\Group::$GroupType
The type of group.
Possible values:

- `01`: Collection request
- `03`: Multiple parcels in one shipment (multi-colli)
- `04`: Single parcel in one shipment
Type:

string | null

protected static property Firstred\PostNL\Entity\Group::$MainBarcode
Main barcode for the shipment.
Type:

string | null

Methods

public Firstred\PostNL\Entity\Group::__construct($GroupCount=null, $GroupSequence=null, $GroupType=null, $MainBarcode=null)
Parameters:
  • $GroupCount (string | null)

  • $GroupSequence (string | null)

  • $GroupType (string | null)

  • $MainBarcode (string | null)

public Firstred\PostNL\Entity\Group::getGroupCount()
Returns:

string | null

public Firstred\PostNL\Entity\Group::setGroupCount($GroupCount)
Parameters:
  • $GroupCount (string | null)

Returns:

static

public Firstred\PostNL\Entity\Group::getGroupSequence()
Returns:

string | null

public Firstred\PostNL\Entity\Group::setGroupSequence($GroupSequence)
Parameters:
  • $GroupSequence (string | null)

Returns:

static

public Firstred\PostNL\Entity\Group::getGroupType()
Returns:

string | null

public Firstred\PostNL\Entity\Group::setGroupType($GroupType)
Parameters:
  • $GroupType (string | null)

Returns:

static

public Firstred\PostNL\Entity\Group::getMainBarcode()
Returns:

string | null

public Firstred\PostNL\Entity\Group::setMainBarcode($MainBarcode)
Parameters:
  • $MainBarcode (string | null)

Returns:

static