protected function setOffersAttribute($values)
    {
        if (is_array($values)) {
            foreach($values as $key => $value) {
                $values[$key] = $this->mapProperty([
                    'name' => '',
                    'price' => '',
                    'url' => '',
                ], $value);
            }
        }

        return $values;
    }
protected function setOffersAttribute($values)
    {
        if (is_array($values)) {
            foreach($values as $key => $value) {
                $values[$key] = $this->mapProperty([
                    'name' => '',
                    'price' => '',
                    'url' => '',
                ], $value);
            }
        }

        return $values;
    }
protected function setOffersAttribute ( $ values ) { if ( is_array ( $ values ) ) { foreach ( $ values as $ key => $ value ) { $ values [ $ key ] = $ this -> mapProperty ( [ 'name' => '' , 'price' => '' , 'url' => '' , ] , $ value ) ; } } return $ values ; }
Set offers attributes.

@param  mixed $values
@return array
Set offers attributes .