public function getTotalWeight($only = false){
        if (isset($this->contents['Details']['TotalWeight'])){
            if ($only){
                return $this->contents['Details']['TotalWeight']['Value'];
            } else {
                return $this->contents['Details']['TotalWeight'];
            }
        } else {
            return false;
        }
    }