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

$AdditionalDescriptionFields  : array<string|int, mixed>
$AgeGroup  : int|null
$Anr  : float|null
$Attributes  : array<string|int, mixed>
$AvailableShop  : int|null
$BasepriceFactor  : float|null
$BaseProductFlag  : int
$BaseProducts  : array<string|int, mixed>
$Catalogs  : array<string|int, mixed>
$Condition  : int|null
$CountryOfOrigin  : string|null
$CustomsTariffNumber  : string|null
$DealerPrice  : float|null
$DeliveryTime  : string|null
$Description  : string|null
$Discontinued  : bool|null
$Discounts  : array<string|int, mixed>
$EAN  : string
$Features  : array<string|int, mixed>
$FreeValue1  : string|null
$FreeValue10  : string|null
$FreeValue2  : string|null
$FreeValue3  : string|null
$FreeValue4  : string|null
$FreeValue5  : string|null
$FreeValue6  : string|null
$FreeValue7  : string|null
$FreeValue8  : string|null
$FreeValue9  : string|null
$Gender  : int|null
$GoogleProductCategory  : string|null
$ImageLargeURL  : string|null
$ImageSmallURL  : string|null
$Keywords  : string|null
$Level  : int|null
$ManufacturerPartNumber  : string|null
$ManufacturerStandardProductIDType  : string|null
$ManufacturerStandardProductIDValue  : string|null
$MergeStock  : bool|null
$MinimumOrderQuantity  : int|null
$ModDate  : DateTimeImmutable|null
$MultiLanguage  : array<string|int, mixed>
$Name  : string
$originalXml  : string
$Position  : int|null
$ProductBrand  : string|null
$ProductID  : int|null
$ProductPictures  : array<string|int, mixed>
$productSetProducts  : array<string|int, mixed>
$ProductShopOption  : int
$Quantity  : int|null
$ScaledDiscounts  : array<string|int, mixed>
$SellingPrice  : float|null
$SeoName  : string|null
$ShippingGroup  : string|null
$ShopShippingGroup  : string|null
$ShortDescription  : string|null
$Stock  : bool|null
$TaxRate  : float|null
$UnitOfQuantity  : string|null
$variantProducts  : array<string|int, mixed>
$VariationName  : string|null
$Weight  : float|null
__construct()  : mixed
addAdditionalDescriptionField()  : void
addAttribut()  : void
addBaseProduct()  : void
addCatalogID()  : void
addDiscount()  : void
addFeature()  : void
addMultiLanguage()  : void
addProductPicture()  : void
addProductSetProduct()  : void
addScaledDiscount()  : void
addVariantProduct()  : void
getAdditionalDescriptionFields()  : array<string|int, mixed>
getAgeGroup()  : int|null
getAnr()  : float|null
getAttributes()  : array<string|int, mixed>
getAvailableShop()  : int|null
getBasepriceFactor()  : float|null
getBaseProductFlag()  : int
getBaseProducts()  : array<string|int, mixed>
getCatalogs()  : array<string|int, mixed>
getCondition()  : int|null
getCountryOfOrigin()  : string|null
getCustomsTariffNumber()  : string|null
getDealerPrice()  : float|null
getDeliveryTime()  : string|null
getDescription()  : string|null
getDiscontinued()  : bool|null
getDiscounts()  : array<string|int, mixed>
getEAN()  : string
getFeatures()  : array<string|int, mixed>
getFreeValue1()  : string|null
getFreeValue10()  : string|null
getFreeValue2()  : string|null
getFreeValue3()  : string|null
getFreeValue4()  : string|null
getFreeValue5()  : string|null
getFreeValue6()  : string|null
getFreeValue7()  : string|null
getFreeValue8()  : string|null
getFreeValue9()  : string|null
getGender()  : int|null
getGoogleProductCategory()  : string|null
getImageLargeURL()  : string|null
getImageSmallURL()  : string|null
getKeywords()  : string|null
getLevel()  : int|null
getManufacturerPartNumber()  : string|null
getManufacturerStandardProductIDType()  : string|null
getManufacturerStandardProductIDValue()  : string|null
getMergeStock()  : bool|null
getMinimumOrderQuantity()  : int|null
getModDate()  : DateTimeImmutable|null
getMultiLanguage()  : MultiLanguage|null
getName()  : string
getOriginalXml()  : string
getPosition()  : int|null
getProductBrand()  : string|null
getProductID()  : int|null
getProductPictures()  : array<string|int, mixed>
getProductSetProduct()  : AfterbuyProduct|null
getProductSetProducts()  : array<string|int, mixed>
getProductShopOption()  : int
getQuantity()  : int|null
getScaledDiscounts()  : array<string|int, mixed>
getSellingPrice()  : float|null
getSeoName()  : string|null
getShippingGroup()  : string|null
getShopShippingGroup()  : string|null
getShortDescription()  : string|null
getStock()  : bool|null
getTaxRate()  : float|null
getUnitOfQuantity()  : string|null
getVariantProduct()  : AfterbuyProduct|null
getVariationName()  : string|null
getWeight()  : float|null
setAdditionalDescriptionFields()  : void
setAgeGroup()  : void
setAnr()  : void
setAttributes()  : void
setAvailableShop()  : void
setBasepriceFactor()  : void
setBaseProductFlag()  : void
setBaseProducts()  : void
setCatalogs()  : void
setCondition()  : void
setCountryOfOrigin()  : void
setCustomsTariffNumber()  : void
setDealerPrice()  : void
setDeliveryTime()  : void
setDescription()  : void
setDiscontinued()  : void
setDiscounts()  : void
setEAN()  : void
setFeatures()  : void
setFreeValue1()  : void
setFreeValue10()  : void
setFreeValue2()  : void
setFreeValue3()  : void
setFreeValue4()  : void
setFreeValue5()  : void
setFreeValue6()  : void
setFreeValue7()  : void
setFreeValue8()  : void
setFreeValue9()  : void
setGender()  : void
setGoogleProductCategory()  : void
setImageLargeURL()  : void
setImageSmallURL()  : void
setKeywords()  : void
setLevel()  : void
setManufacturerPartNumber()  : void
setManufacturerStandardProductIDType()  : void
setManufacturerStandardProductIDValue()  : void
setMergeStock()  : void
setMinimumOrderQuantity()  : void
setModDate()  : void
setMultiLanguage()  : void
setName()  : void
setOriginalXml()  : void
setPosition()  : void
setProductBrand()  : void
setProductID()  : void
setProductPictures()  : void
setProductShopOption()  : void
setQuantity()  : void
setScaledDiscounts()  : void
setSellingPrice()  : void
setSeoName()  : void
setShippingGroup()  : void
setShopShippingGroup()  : void
setShortDescription()  : void
setStock()  : void
setTaxRate()  : void
setUnitOfQuantity()  : void
setVariationName()  : void
setWeight()  : void
toArray()  : array<string|int, mixed>

Properties

$AdditionalDescriptionFields

private array<string|int, mixed> $AdditionalDescriptionFields = []

$ManufacturerStandardProductIDType

private string|null $ManufacturerStandardProductIDType

$ManufacturerStandardProductIDValue

private string|null $ManufacturerStandardProductIDValue

$ProductPictures

private array<string|int, mixed> $ProductPictures = []

$productSetProducts

private array<string|int, mixed> $productSetProducts = []

$ScaledDiscounts

private array<string|int, mixed> $ScaledDiscounts = []

$variantProducts

private array<string|int, mixed> $variantProducts = []

Methods

__construct()

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

addCatalogID()

public addCatalogID(int $catalogID) : void
Parameters
$catalogID : int
Return values
void

getAdditionalDescriptionFields()

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

getAgeGroup()

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

getAttributes()

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

getAvailableShop()

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

getBasepriceFactor()

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

getBaseProductFlag()

public getBaseProductFlag() : int
Return values
int

getBaseProducts()

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

getCatalogs()

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

getCondition()

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

getCountryOfOrigin()

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

getCustomsTariffNumber()

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

getDealerPrice()

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

getDeliveryTime()

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

getDescription()

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

getDiscontinued()

public getDiscontinued() : bool|null
Return values
bool|null

getDiscounts()

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

getFeatures()

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

getFreeValue1()

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

getFreeValue10()

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

getFreeValue2()

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

getFreeValue3()

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

getFreeValue4()

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

getFreeValue5()

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

getFreeValue6()

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

getFreeValue7()

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

getFreeValue8()

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

getFreeValue9()

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

getGender()

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

getGoogleProductCategory()

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

getImageLargeURL()

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

getImageSmallURL()

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

getKeywords()

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

getManufacturerPartNumber()

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

getManufacturerStandardProductIDType()

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

getManufacturerStandardProductIDValue()

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

getMergeStock()

public getMergeStock() : bool|null
Return values
bool|null

getMinimumOrderQuantity()

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

getModDate()

public getModDate() : DateTimeImmutable|null
Return values
DateTimeImmutable|null

getOriginalXml()

public getOriginalXml() : string
Return values
string

getPosition()

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

getProductBrand()

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

getProductID()

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

getProductPictures()

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

getProductSetProducts()

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

getProductShopOption()

public getProductShopOption() : int
Return values
int

getQuantity()

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

getScaledDiscounts()

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

getSellingPrice()

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

getSeoName()

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

getShippingGroup()

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

getShopShippingGroup()

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

getShortDescription()

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

getStock()

public getStock() : bool|null
Return values
bool|null

getTaxRate()

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

getUnitOfQuantity()

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

getVariationName()

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

getWeight()

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

setAdditionalDescriptionFields()

public setAdditionalDescriptionFields(array<string|int, mixed> $AdditionalDescriptionFields) : void
Parameters
$AdditionalDescriptionFields : array<string|int, mixed>
Return values
void

setAgeGroup()

public setAgeGroup(int|null $AgeGroup) : void
Parameters
$AgeGroup : int|null
Return values
void

setAnr()

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

setAttributes()

public setAttributes(array<string|int, mixed> $Attributes) : void
Parameters
$Attributes : array<string|int, mixed>
Return values
void

setAvailableShop()

public setAvailableShop(int|null $AvailableShop) : void
Parameters
$AvailableShop : int|null
Return values
void

setBasepriceFactor()

public setBasepriceFactor(float|null $BasepriceFactor) : void
Parameters
$BasepriceFactor : float|null
Return values
void

setBaseProductFlag()

public setBaseProductFlag(int $BaseProductFlag) : void
Parameters
$BaseProductFlag : int
Return values
void

setBaseProducts()

public setBaseProducts(array<string|int, mixed> $BaseProducts) : void
Parameters
$BaseProducts : array<string|int, mixed>
Return values
void

setCatalogs()

public setCatalogs(array<string|int, mixed> $Catalogs) : void
Parameters
$Catalogs : array<string|int, mixed>
Return values
void

setCondition()

public setCondition(int|null $Condition) : void
Parameters
$Condition : int|null
Return values
void

setCountryOfOrigin()

public setCountryOfOrigin(string|null $CountryOfOrigin) : void
Parameters
$CountryOfOrigin : string|null
Return values
void

setCustomsTariffNumber()

public setCustomsTariffNumber(string|null $CustomsTariffNumber) : void
Parameters
$CustomsTariffNumber : string|null
Return values
void

setDealerPrice()

public setDealerPrice(float|null $DealerPrice) : void
Parameters
$DealerPrice : float|null
Return values
void

setDeliveryTime()

public setDeliveryTime(string|null $DeliveryTime) : void
Parameters
$DeliveryTime : string|null
Return values
void

setDescription()

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

setDiscontinued()

public setDiscontinued(bool|null $Discontinued) : void
Parameters
$Discontinued : bool|null
Return values
void

setDiscounts()

public setDiscounts(array<string|int, mixed> $Discounts) : void
Parameters
$Discounts : array<string|int, mixed>
Return values
void

setEAN()

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

setFeatures()

public setFeatures(array<string|int, mixed> $Features) : void
Parameters
$Features : array<string|int, mixed>
Return values
void

setFreeValue1()

public setFreeValue1(string|null $FreeValue1) : void
Parameters
$FreeValue1 : string|null
Return values
void

setFreeValue10()

public setFreeValue10(string|null $FreeValue10) : void
Parameters
$FreeValue10 : string|null
Return values
void

setFreeValue2()

public setFreeValue2(string|null $FreeValue2) : void
Parameters
$FreeValue2 : string|null
Return values
void

setFreeValue3()

public setFreeValue3(string|null $FreeValue3) : void
Parameters
$FreeValue3 : string|null
Return values
void

setFreeValue4()

public setFreeValue4(string|null $FreeValue4) : void
Parameters
$FreeValue4 : string|null
Return values
void

setFreeValue5()

public setFreeValue5(string|null $FreeValue5) : void
Parameters
$FreeValue5 : string|null
Return values
void

setFreeValue6()

public setFreeValue6(string|null $FreeValue6) : void
Parameters
$FreeValue6 : string|null
Return values
void

setFreeValue7()

public setFreeValue7(string|null $FreeValue7) : void
Parameters
$FreeValue7 : string|null
Return values
void

setFreeValue8()

public setFreeValue8(string|null $FreeValue8) : void
Parameters
$FreeValue8 : string|null
Return values
void

setFreeValue9()

public setFreeValue9(string|null $FreeValue9) : void
Parameters
$FreeValue9 : string|null
Return values
void

setGender()

public setGender(int|null $Gender) : void
Parameters
$Gender : int|null
Return values
void

setGoogleProductCategory()

public setGoogleProductCategory(string|null $GoogleProductCategory) : void
Parameters
$GoogleProductCategory : string|null
Return values
void

setImageLargeURL()

public setImageLargeURL(string|null $ImageLargeURL) : void
Parameters
$ImageLargeURL : string|null
Return values
void

setImageSmallURL()

public setImageSmallURL(string|null $ImageSmallURL) : void
Parameters
$ImageSmallURL : string|null
Return values
void

setKeywords()

public setKeywords(string|null $Keywords) : void
Parameters
$Keywords : string|null
Return values
void

setLevel()

public setLevel(int|null $Level) : void
Parameters
$Level : int|null
Return values
void

setManufacturerPartNumber()

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

setManufacturerStandardProductIDType()

public setManufacturerStandardProductIDType(string|null $ManufacturerStandardProductIDType) : void
Parameters
$ManufacturerStandardProductIDType : string|null
Return values
void

setManufacturerStandardProductIDValue()

public setManufacturerStandardProductIDValue(string|null $ManufacturerStandardProductIDValue) : void
Parameters
$ManufacturerStandardProductIDValue : string|null
Return values
void

setMergeStock()

public setMergeStock(bool|null $MergeStock) : void
Parameters
$MergeStock : bool|null
Return values
void

setMinimumOrderQuantity()

public setMinimumOrderQuantity(int|null $MinimumOrderQuantity) : void
Parameters
$MinimumOrderQuantity : int|null
Return values
void

setModDate()

public setModDate(DateTimeImmutable|null $ModDate) : void
Parameters
$ModDate : DateTimeImmutable|null
Return values
void

setName()

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

setOriginalXml()

public setOriginalXml(string $originalXml) : void
Parameters
$originalXml : string
Return values
void

setPosition()

public setPosition(int|null $Position) : void
Parameters
$Position : int|null
Return values
void

setProductBrand()

public setProductBrand(string|null $ProductBrand) : void
Parameters
$ProductBrand : string|null
Return values
void

setProductID()

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

setProductPictures()

public setProductPictures(array<string|int, mixed> $ProductPictures) : void
Parameters
$ProductPictures : array<string|int, mixed>
Return values
void

setProductShopOption()

public setProductShopOption(int $ProductShopOption) : void
Parameters
$ProductShopOption : int
Return values
void

setQuantity()

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

setScaledDiscounts()

public setScaledDiscounts(array<string|int, mixed> $ScaledDiscounts) : void
Parameters
$ScaledDiscounts : array<string|int, mixed>
Return values
void

setSellingPrice()

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

setSeoName()

public setSeoName(string|null $SeoName) : void
Parameters
$SeoName : string|null
Return values
void

setShippingGroup()

public setShippingGroup(string|null $ShippingGroup) : void
Parameters
$ShippingGroup : string|null
Return values
void

setShopShippingGroup()

public setShopShippingGroup(string|null $ShopShippingGroup) : void
Parameters
$ShopShippingGroup : string|null
Return values
void

setShortDescription()

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

setStock()

public setStock(bool|null $Stock) : void
Parameters
$Stock : bool|null
Return values
void

setTaxRate()

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

setUnitOfQuantity()

public setUnitOfQuantity(string|null $UnitOfQuantity) : void
Parameters
$UnitOfQuantity : string|null
Return values
void

setVariationName()

public setVariationName(string|null $VariationName) : void
Parameters
$VariationName : string|null
Return values
void

setWeight()

public setWeight(float|null $Weight) : void
Parameters
$Weight : float|null
Return values
void

toArray()

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

Search results