Initial commit
This commit is contained in:
358
core/lib/Thelia/Model/PickupLocationAddress.php
Normal file
358
core/lib/Thelia/Model/PickupLocationAddress.php
Normal file
@@ -0,0 +1,358 @@
|
||||
<?php
|
||||
|
||||
namespace Thelia\Model;
|
||||
|
||||
class PickupLocationAddress
|
||||
{
|
||||
/** @var integer */
|
||||
protected $id;
|
||||
|
||||
/** @var boolean */
|
||||
protected $isDefault;
|
||||
|
||||
/** @var string */
|
||||
protected $label;
|
||||
|
||||
/** @var string */
|
||||
protected $title;
|
||||
|
||||
/** @var string */
|
||||
protected $firstName;
|
||||
|
||||
/** @var string */
|
||||
protected $lastName;
|
||||
|
||||
/** @var string */
|
||||
protected $cellphoneNumber;
|
||||
|
||||
/** @var string */
|
||||
protected $phoneNumber;
|
||||
|
||||
/** @var string */
|
||||
protected $company;
|
||||
|
||||
/** @var string */
|
||||
protected $address1;
|
||||
|
||||
/** @var string */
|
||||
protected $address2;
|
||||
|
||||
/** @var string */
|
||||
protected $address3;
|
||||
|
||||
/** @var string */
|
||||
protected $zipCode;
|
||||
|
||||
/** @var string */
|
||||
protected $city;
|
||||
|
||||
/** @var string */
|
||||
protected $countryCode;
|
||||
|
||||
/** @var array */
|
||||
protected $additionalData;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isDefault()
|
||||
{
|
||||
return $this->isDefault;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $isDefault
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setIsDefault($isDefault)
|
||||
{
|
||||
$this->isDefault = $isDefault;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLabel()
|
||||
{
|
||||
return $this->label;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $label
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setLabel($label)
|
||||
{
|
||||
$this->label = $label;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $title
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFirstName()
|
||||
{
|
||||
return $this->firstName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $firstName
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setFirstName($firstName)
|
||||
{
|
||||
$this->firstName = $firstName;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLastName()
|
||||
{
|
||||
return $this->lastName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $lastName
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setLastName($lastName)
|
||||
{
|
||||
$this->lastName = $lastName;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCellphoneNumber()
|
||||
{
|
||||
return $this->cellphoneNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $cellphoneNumber
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setCellphoneNumber($cellphoneNumber)
|
||||
{
|
||||
$this->cellphoneNumber = $cellphoneNumber;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPhoneNumber()
|
||||
{
|
||||
return $this->phoneNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $phoneNumber
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setPhoneNumber($phoneNumber)
|
||||
{
|
||||
$this->phoneNumber = $phoneNumber;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCompany()
|
||||
{
|
||||
return $this->company;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $company
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setCompany($company)
|
||||
{
|
||||
$this->company = $company;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAddress1()
|
||||
{
|
||||
return $this->address1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $address1
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setAddress1($address1)
|
||||
{
|
||||
$this->address1 = $address1;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAddress2()
|
||||
{
|
||||
return $this->address2;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $address2
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setAddress2($address2)
|
||||
{
|
||||
$this->address2 = $address2;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAddress3()
|
||||
{
|
||||
return $this->address3;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $address3
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setAddress3($address3)
|
||||
{
|
||||
$this->address3 = $address3;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getZipCode()
|
||||
{
|
||||
return $this->zipCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $zipCode
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setZipCode($zipCode)
|
||||
{
|
||||
$this->zipCode = $zipCode;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCity()
|
||||
{
|
||||
return $this->city;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $city
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setCity($city)
|
||||
{
|
||||
$this->city = $city;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCountryCode()
|
||||
{
|
||||
return $this->countryCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $countryCode
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setCountryCode($countryCode)
|
||||
{
|
||||
$this->countryCode = $countryCode;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getAdditionalData()
|
||||
{
|
||||
return $this->additionalData;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $additionalData
|
||||
*
|
||||
* @return PickupLocationAddress
|
||||
*/
|
||||
public function setAdditionalData($additionalData)
|
||||
{
|
||||
$this->additionalData = $additionalData;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user