private function createAddress(Address $address, Order $order, array $plentyCustomer, $addressType = 1)
    {
        $params = $this->addressReuqestGenerator->generate($address, $order, $addressType);

        return $this->client->request('POST', 'accounts/contacts/' . $plentyCustomer['id'] . '/addresses', $params);
    }
private function createAddress(Address $address, Order $order, array $plentyCustomer, $addressType = 1)
    {
        $params = $this->addressReuqestGenerator->generate($address, $order, $addressType);

        return $this->client->request('POST', 'accounts/contacts/' . $plentyCustomer['id'] . '/addresses', $params);
    }
@param Address $address
@param Order   $order
@param array   $plentyCustomer
@param int     $addressType

@return array