/** * @param int $idProductAttributeTypeUsage * * @return string|null */ public function getEffectiveTaxRateForTypeUsage($idProductAttributeTypeUsage) { return $this->queryContainer->queryEffectiveTaxRateForTypeUsage($idProductAttributeTypeUsage); }
/** * @param int $idProductOptionValueUsageSource * @param int $idProductOptionValueUsage * * @return bool */ protected function hasProductOptionValueUsageConstraints($idProductOptionValueUsageSource, $idProductOptionValueUsage) { return $this->queryContainer->queryProductOptionValueUsageConstraintsByFks($idProductOptionValueUsageSource, $idProductOptionValueUsage)->count() > 0; }
/** * @param int[] $allIdOptionValueUsages * @param string $countryIso2Code * * @return \Orm\Zed\Shipment\Persistence\SpyShipmentMethod[]|\Propel\Runtime\Collection\ObjectCollection */ protected function findTaxRatesByIdOptionValueUsageAndCountryIso2Code($allIdOptionValueUsages, $countryIso2Code) { return $this->queryContainer->queryTaxSetByIdProductOptionValueUsagesAndCountryIso2Code($allIdOptionValueUsages, $countryIso2Code)->find()->toArray(); }