public function setPricingMethod($pricingMethod) { if (!empty($pricingMethod) && ctype_print($pricingMethod)) { $this->pricingMethod = trim($pricingMethod); } return $this; }