src/MarketplaceWebService/Model/TypeList.php
public function setType($type)
    {
        if (!$this->isNumericArray($type)) {
            $type = array($type);
        }
        $this->fields['Type']['FieldValue'] = $type;
        return $this;
    }
public function setType($type)
    {
        if (!$this->isNumericArray($type)) {
            $type = array($type);
        }
        $this->fields['Type']['FieldValue'] = $type;
        return $this;
    }
public function setType ( $ type ) { if ( ! $ this -> isNumericArray ( $ type ) ) { $ type = array ( $ type ) ; } $ this -> fields [ 'Type' ] [ 'FieldValue' ] = $ type ; return $ this ; }
Sets the value of the Type.

@param string $type or an array of string Type
@return $this This instance
Sets the value of the Type .