Class ProductVariantUpdate

Description

This Class represents a dataobject for updating a ProductVariant.

Either Id or ItemNumber is required, remaining fields will be updated if they are set in the object. To update ItemNumber, set both Id and Itemnumber.



			
Variable Summary
double $BuyingPrice
boolean $DisableOnEmpty
double $Discount
string $DiscountType
string $Ean
int $Id
string $ItemNumber
double $Price
int $Sorting
boolean $Status
int $Stock
int $UnitId
double $Weight
Variables
double $BuyingPrice

The internal purchase price of the ProductVariant

int $DeliveryTimeId

the id of the DeliveryTime, (0 to display amount of product in stock. -1 for no information at all)

boolean $DisableOnEmpty

Indicates whether or not the ProductVariant should be hidden in the shop when it is not in stock

double $Discount

The discount on the ProductVariant

string $DiscountType

The type of discount given in Discount, either 'p' for percent or 'a' for a amount

string $Ean

The Ean number of the Product

int $Id

The id of the ProductVariant

string $ItemNumber

The item number of the ProductVariant

string $ItemNumberSupplier

The supplier item number of the Product

int $MinAmount

The minimum amount which can be ordered this product

int $PictureId

The id of the Picture of the ProductVariant

double $Price

The price of this ProductVariant

int $ProductId

The id of the Product of the ProductVariant

int $Sorting

The position of the ProductVariant amongst its siblings

boolean $Status

Indicates wether or not this ProductVariant is visible in the shop

int $Stock

Indicates the amount of this variant in stock

int $UnitId

The id of the ProductUnit of the Product

int[] $VariantTypeValues

The IDs of the VariantTypeValues associated with the Variant

double $Weight

The weight of the ProductVariant

Documentation generated on Mon, 22 May 2017 15:41:31 +0200 by phpDocumentor 1.4.4