Méthode | Description | |
---|---|---|
__construct ( ) | Cretes a new part->distributor link. Initializes the packaging unit with a quantity of "1". | |
getDistributor ( ) : |
Returns the distributor. | |
getOrderNumber ( ) : string | Returns the order number. | |
getPackagingUnit ( ) : integer | Returns the packaging unit. | |
getPart ( ) : |
Returns the part. | |
getPrice ( ) | Returns the price. | |
getSku ( ) : string | Returns the SKU (stock keeping unit). | |
setDistributor ( |
Sets the distributor. | |
setOrderNumber ( string $orderNumber ) | Sets the order number. | |
setPackagingUnit ( integer $packagingUnit ) | Sets the packaging unit for a specific distributor. | |
setPart ( |
Sets the part. | |
setPrice ( float $price ) | Sets the price. | |
setSku ( string $sku ) | Sets the SKU (stock keeping unit). |
public __construct ( ) |
public getDistributor ( ) : |
||
Résultat | The distributor |
public getOrderNumber ( ) : string | ||
Résultat | string | The order number |
public getPackagingUnit ( ) : integer | ||
Résultat | integer | The packaging unit |
public setDistributor ( |
||
$distributor | The distributor |
public setOrderNumber ( string $orderNumber ) | ||
$orderNumber | string | The order number |
public setPackagingUnit ( integer $packagingUnit ) | ||
$packagingUnit | integer | The amount of items in one package |