mundipagg/magento2

View on GitHub
Helper/CustomerAddress.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Class CustomerAddress
 *
 * @author      MundiPagg Embeddables Team <embeddables@mundipagg.com>
 * @copyright   2017 MundiPagg (http://www.mundipagg.com)
 * @license     http://www.mundipagg.com Copyright
 *
 * @link        http://www.mundipagg.com
 */

namespace MundiPagg\MundiPagg\Helper;


class CustomerAddress extends AbstractHelper implements CustomerAddressInterface
{
    /**
     * {@inheritdoc}
     */
    public function getStreetAttribute()
    {
        return $this->getConfigValue(static::PATH_STREET_ATTRIBUTE);
    }

    /**
     * {@inheritdoc}
     */
    public function getNumberAttribute()
    {
        return $this->getConfigValue(static::PATH_NUMBER_ATTRIBUTE);
    }

    /**
     * {@inheritdoc}
     */
    public function getComplementAttribute()
    {
        return $this->getConfigValue(static::PATH_COMPLEMENT_ATTRIBUTE);
    }

    /**
     * {@inheritdoc}
     */
    public function getDistrictAttribute()
    {
        return $this->getConfigValue(static::PATH_DISTRICT_ATTRIBUTE);
    }
}