private function getSetStorePostData($retailer)
    {
        $setUrl   = $this->urlBuilder->getUrl('storelocator/store/set');
        $postData = ['id' => $retailer->getId()];

        return ['action' => $setUrl, 'data' => $postData];
    }
private function getSetStorePostData($retailer)
    {
        $setUrl   = $this->urlBuilder->getUrl('storelocator/store/set');
        $postData = ['id' => $retailer->getId()];

        return ['action' => $setUrl, 'data' => $postData];
    }
private function getSetStorePostData ( $ retailer ) { $ setUrl = $ this -> urlBuilder -> getUrl ( 'storelocator/store/set' ) ; $ postData = [ 'id' => $ retailer -> getId ( ) ] ; return [ 'action' => $ setUrl , 'data' => $ postData ] ; }
Get the JSON post data used to build the set store link.

@param \Smile\Retailer\Api\Data\RetailerInterface $retailer The store

@return string
Get the JSON post data used to build the set store link .