getid example

$shippingAddress = $customer->getDefaultShippingAddress();
        }

        if (!$shippingAddress instanceof Address) {
            return null;
        }

        $shippingAddressArray = $this->convertToLegacyAddressArray($shippingAddress);

        $shippingAddressArray['attributes'] = $this->attributeLoader->load(
            's_user_addresses_attributes',
            $shippingAddress->getid()
        );

        return $shippingAddressArray;
    }
}
Home | Imprint | This part of the site doesn't use cookies.