SerializedOrderProductOffer
in package
Class SerializedOrderProductOffer
Tags
Table of Contents
Properties
- $externalId : string
- $id : int
- $xmlId : string
Methods
- __construct() : mixed
- SerializedOrderProductOffer constructor.
- withExternalId() : self
- Returns product offer with specified external ID.
- withId() : self
- Returns product offer with specified ID.
- withXmlId() : self
- Returns product offer with specified XML ID.
Properties
$externalId
public
string
$externalId
Tags
$id
public
int
$id
Tags
$xmlId
public
string
$xmlId
Tags
Methods
__construct()
SerializedOrderProductOffer constructor.
public
__construct([int $id = 0 ][, string $externalId = '' ][, string $xmlId = '' ]) : mixed
Parameters
- $id : int = 0
- $externalId : string = ''
- $xmlId : string = ''
withExternalId()
Returns product offer with specified external ID.
public
static withExternalId(string $externalId) : self
Parameters
- $externalId : string
Return values
selfwithId()
Returns product offer with specified ID.
public
static withId(int $id) : self
Parameters
- $id : int
Return values
selfwithXmlId()
Returns product offer with specified XML ID.
public
static withXmlId(string $xmlId) : self
Parameters
- $xmlId : string