/** * Counts all associated FedexShipments * @return int */ public function CountFedexShipments() { if (is_null($this->intCurrencyUnitId)) { return 0; } return FedexShipment::CountByCurrencyUnitId($this->intCurrencyUnitId); }