|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / vendor / vertex / sdk / src / Data / |
Filename | /home/dev2.destoffenstraat.com/vendor/vertex/sdk/src/Data/Address.php |
Size | 2.19 kb |
Permission | rw-rw-rw- |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 23-Sep-2020 09:46 |
Last accessed | 23-Aug-2025 03:56 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
/**
* @copyright Vertex. All rights reserved. https://www.vertexinc.com/
* @author Mediotype Development <diveinto@mediotype.com>
*/
namespace Vertex\Data;
/**
* {@inheritDoc}
*/
class Address implements AddressInterface
{
/** @var string */
private $city;
/** @var string Three character country code */
private $countryCode;
/** @var string */
private $mainDivision;
/** @var string */
private $postalCode;
/** @var string[] */
private $streetAddress = [];
/** @var string */
private $subDivision;
/**
* @inheritdoc
*/
public function getCity()
{
return $this->city;
}
/**
* @inheritdoc
*/
public function getCountry()
{
return $this->countryCode;
}
/**
* @inheritdoc
*/
public function getMainDivision()
{
return $this->mainDivision;
}
/**
* @inheritdoc
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* @inheritdoc
*/
public function getStreetAddress()
{
return $this->streetAddress;
}
/**
* @inheritdoc
*/
public function getSubDivision()
{
return $this->subDivision;
}
/**
* @inheritdoc
*/
public function setCity($city)
{
$this->city = $city;
return $this;
}
/**
* @inheritdoc
*/
public function setCountry($countryCode)
{
$this->countryCode = $countryCode;
return $this;
}
/**
* @inheritdoc
*/
public function setMainDivision($mainDivision)
{
$this->mainDivision = $mainDivision;
return $this;
}
/**
* @inheritdoc
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
return $this;
}
/**
* @inheritdoc
*/
public function setStreetAddress(array $streetAddress)
{
$this->streetAddress = $streetAddress;
return $this;
}
/**
* @inheritdoc
*/
public function setSubDivision($subDivision)
{
$this->subDivision = $subDivision;
return $this;
}
}
/**
* @copyright Vertex. All rights reserved. https://www.vertexinc.com/
* @author Mediotype Development <diveinto@mediotype.com>
*/
namespace Vertex\Data;
/**
* {@inheritDoc}
*/
class Address implements AddressInterface
{
/** @var string */
private $city;
/** @var string Three character country code */
private $countryCode;
/** @var string */
private $mainDivision;
/** @var string */
private $postalCode;
/** @var string[] */
private $streetAddress = [];
/** @var string */
private $subDivision;
/**
* @inheritdoc
*/
public function getCity()
{
return $this->city;
}
/**
* @inheritdoc
*/
public function getCountry()
{
return $this->countryCode;
}
/**
* @inheritdoc
*/
public function getMainDivision()
{
return $this->mainDivision;
}
/**
* @inheritdoc
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* @inheritdoc
*/
public function getStreetAddress()
{
return $this->streetAddress;
}
/**
* @inheritdoc
*/
public function getSubDivision()
{
return $this->subDivision;
}
/**
* @inheritdoc
*/
public function setCity($city)
{
$this->city = $city;
return $this;
}
/**
* @inheritdoc
*/
public function setCountry($countryCode)
{
$this->countryCode = $countryCode;
return $this;
}
/**
* @inheritdoc
*/
public function setMainDivision($mainDivision)
{
$this->mainDivision = $mainDivision;
return $this;
}
/**
* @inheritdoc
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
return $this;
}
/**
* @inheritdoc
*/
public function setStreetAddress(array $streetAddress)
{
$this->streetAddress = $streetAddress;
return $this;
}
/**
* @inheritdoc
*/
public function setSubDivision($subDivision)
{
$this->subDivision = $subDivision;
return $this;
}
}