Esempio n. 1
0
 /**
  * Returns the price for the product in the PriceGroup
  * If no special price is found then the sales price is returned instead
  * @param  integer $groupNo
  * @param  string   $productNo
  * @return float
  */
 public function getPrice($groupNo, $productNo)
 {
     return $this->client->PriceGroup_GetPrice(array('priceGroupHandle' => array('Number' => $groupNo), 'productHandle' => array('Number' => $productNo)))->PriceGroup_GetPriceResult;
 }