RetailCRM API Client

SerializedEntityOrder

Class SerializedEntityOrder

Tags
category

SerializedEntityOrder

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
JMS\Type

("bool")

JMS\SerializedName

("applyRound")

$externalId

public string $externalId
Tags
JMS\Type

("string")

JMS\SerializedName

("externalId")

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
$this

withExternalId()

Returns this entity with specified external ID

public static withExternalId(string $externalId) : self
Parameters
$externalId : string
Return values
self

withId()

Returns this entity with specified ID

public static withId(int $id) : self
Parameters
$id : int
Return values
self

withNumber()

Returns this entity with specified order number

public static withNumber(string $number) : self
Parameters
$number : string
Return values
self

        
On this page

Search results