protected function resetDetails() {
        foreach($this->options as $op=>$junk){
            if(preg_match("#ShipmentRequestDetails#",$op)){
                unset($this->options[$op]);
            }
        }
    }
protected function resetDetails() {
        foreach($this->options as $op=>$junk){
            if(preg_match("#ShipmentRequestDetails#",$op)){
                unset($this->options[$op]);
            }
        }
    }
protected function resetDetails ( ) { foreach ( $ this -> options as $ op => $ junk ) { if ( preg_match ( "#ShipmentRequestDetails#" , $ op ) ) { unset ( $ this -> options [ $ op ] ) ; } } }
Resets the shipment detail options.

Since shipment details are required parameters, these options should not be removed
without replacing them, so this method is not public.
Resets the shipment detail options .