SerializedEntityOrder
in package
Class SerializedEntityOrder
Tags
Table of Contents
Properties
- $applyRound : bool
- $externalId : string
- $id : int
- $number : string
Methods
- __construct() : mixed
- SerializedEntityOrder constructor.
- setApplyRound() : $this
- Set applyRound and return this entity
- withExternalId() : self
- Returns this entity with specified external ID
- withId() : self
- Returns this entity with specified ID
- withNumber() : self
- Returns this entity with specified order number
Properties
$applyRound
public
bool
$applyRound
Tags
$externalId
public
string
$externalId
Tags
$id
public
int
$id
Tags
$number
public
string
$number
Tags
Methods
__construct()
SerializedEntityOrder constructor.
public
__construct([int $id = 0 ][, string $externalId = '' ][, string $number = '' ]) : mixed
Parameters
- $id : int = 0
- $externalId : string = ''
- $number : string = ''
setApplyRound()
Set applyRound and return this entity
public
setApplyRound(bool $applyRound) : $this
Parameters
- $applyRound : bool
Return values
$thiswithExternalId()
Returns this entity with specified external ID
public
static withExternalId(string $externalId) : self
Parameters
- $externalId : string
Return values
selfwithId()
Returns this entity with specified ID
public
static withId(int $id) : self
Parameters
- $id : int
Return values
selfwithNumber()
Returns this entity with specified order number
public
static withNumber(string $number) : self
Parameters
- $number : string