ParcelServiceShipmentTypeUpdated
in package
Class ParcelServiceShipmentTypeUpdated
Tags
Table of Contents
- $id : ParcelServiceId
- $newShipmentType : string
- create() : ParcelServiceShipmentTypeUpdated
- newShipmentType() : string
- parcelServiceId() : ParcelServiceId
- __construct() : mixed
- ParcelServiceShipmentTypeUpdated constructor.
Properties
$id
private
ParcelServiceId
$id
$newShipmentType
private
string
$newShipmentType
Methods
create()
public
static create(ParcelServiceId $id, string $newShipmentType) : ParcelServiceShipmentTypeUpdated
Parameters
- $id : ParcelServiceId
- $newShipmentType : string
Return values
ParcelServiceShipmentTypeUpdated —newShipmentType()
public
newShipmentType() : string
Return values
string —parcelServiceId()
public
parcelServiceId() : ParcelServiceId
Return values
ParcelServiceId —__construct()
ParcelServiceShipmentTypeUpdated constructor.
private
__construct(ParcelServiceId $id, string $newShipmentType) : mixed
Parameters
- $id : ParcelServiceId
- $newShipmentType : string