phpDocumentor

AfterbuyProduct
in package

Representation of an Afterbuy product.

Please note: Naming and capitalization of properties in this class follows the tag names in Afterbuy’s XML API. Do not refactor!

Table of Contents

$Anr  : float|null
$Description  : string|null
$EAN  : string
$ManufacturerPartNumber  : string|null
$Name  : string
$ProductID  : int|null
$Quantity  : int|null
$SellingPrice  : float|null
$ShortDescription  : string|null
$TaxRate  : float|null
__construct()  : mixed
getAnr()  : float|null
getDescription()  : string|null
getEAN()  : string
getManufacturerPartNumber()  : string|null
getName()  : string
getProductID()  : int|null
getQuantity()  : int|null
getSellingPrice()  : float|null
getShortDescription()  : string|null
getTaxRate()  : float|null
setAnr()  : void
setDescription()  : void
setEAN()  : void
setManufacturerPartNumber()  : void
setName()  : void
setProductID()  : void
setQuantity()  : void
setSellingPrice()  : void
setShortDescription()  : void
setTaxRate()  : void
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(string $externalProductId, string $Name) : mixed
Parameters
$externalProductId : string
$Name : string
Return values
mixed

getDescription()

public getDescription() : string|null
Return values
string|null

getManufacturerPartNumber()

public getManufacturerPartNumber() : string|null
Return values
string|null

getProductID()

public getProductID() : int|null
Return values
int|null

getQuantity()

public getQuantity() : int|null
Return values
int|null

getSellingPrice()

public getSellingPrice() : float|null
Return values
float|null

getShortDescription()

public getShortDescription() : string|null
Return values
string|null

getTaxRate()

public getTaxRate() : float|null
Return values
float|null

setAnr()

public setAnr(float|null $Anr) : void
Parameters
$Anr : float|null
Return values
void

setDescription()

public setDescription(string|null $Description) : void
Parameters
$Description : string|null
Return values
void

setEAN()

public setEAN(string $EAN) : void
Parameters
$EAN : string
Return values
void

setManufacturerPartNumber()

public setManufacturerPartNumber(string|null $ManufacturerPartNumber) : void
Parameters
$ManufacturerPartNumber : string|null
Return values
void

setName()

public setName(string $Name) : void
Parameters
$Name : string
Return values
void

setProductID()

public setProductID(int|null $ProductID) : void
Parameters
$ProductID : int|null
Return values
void

setQuantity()

public setQuantity(int|null $Quantity) : void
Parameters
$Quantity : int|null
Return values
void

setSellingPrice()

public setSellingPrice(float|null $SellingPrice) : void
Parameters
$SellingPrice : float|null
Return values
void

setShortDescription()

public setShortDescription(string|null $ShortDescription) : void
Parameters
$ShortDescription : string|null
Return values
void

setTaxRate()

public setTaxRate(float|null $TaxRate) : void
Parameters
$TaxRate : float|null
Return values
void

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results