Magento 2, Customer module have comes with extension attributes, getVertexCustomerCode( ) and getIsSubscribed( ).
If you have created your customer extension attributes and you want to fetch customer extension attributes value using Customer Object, You need to first get Customer Object and based on Customer object you can find your custom extension attributes value. Continue reading “Get Customer Extension Attribute value Magento 2.”