public function setDetailsByCreator(AmazonMerchantShipmentCreator $obj) {
        $this->resetDetails();

        $options = $obj->getOptions();
        foreach($options as $op=>$val){
            if(preg_match("#ShipmentRequestDetails#",$op)){
                $this->options[$op] = $val;
            }
        }
    }
public function setDetailsByCreator(AmazonMerchantShipmentCreator $obj) {
        $this->resetDetails();

        $options = $obj->getOptions();
        foreach($options as $op=>$val){
            if(preg_match("#ShipmentRequestDetails#",$op)){
                $this->options[$op] = $val;
            }
        }
    }
public function setDetailsByCreator ( AmazonMerchantShipmentCreator $ obj ) { $ this -> resetDetails ( ) ; $ options = $ obj -> getOptions ( ) ; foreach ( $ options as $ op => $ val ) { if ( preg_match ( "#ShipmentRequestDetails#" , $ op ) ) { $ this -> options [ $ op ] = $ val ; } } }
Sets all of the same Shipment details used by the given Amazon Merchant Shipment Creator object.
@param AmazonMerchantShipmentCreator $obj <p>Shipment Creator object with options already set</p>
Sets all of the same Shipment details used by the given Amazon Merchant Shipment Creator object .