/** * Counts all associated FedexShipmentsAsHoldAtLocationState * @return int */ public function CountFedexShipmentsAsHoldAtLocationState() { if (is_null($this->intStateProvinceId)) { return 0; } return FedexShipment::CountByHoldAtLocationState($this->intStateProvinceId); }