Helper/CustomerAddress.php
<?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);
}
}