for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Daaner\NovaPoshta\Traits;
trait AddressSettlementProperty
{
protected $AreaRef;
protected $RegionRef;
protected $Ref;
protected $Warehouse = false;
/**
* @param string $AreaRef
* @return this
*/
public function filterAreaRef($AreaRef)
$this->AreaRef = $AreaRef;
return $this;
}
public function getAreaRef()
if ($this->AreaRef) {
$this->methodProperties['AreaRef'] = $this->AreaRef;
methodProperties
* @param string $RegionRef
public function filterRegionRef($RegionRef)
$this->RegionRef = $RegionRef;
public function getRegionRef()
if ($this->RegionRef) {
$this->methodProperties['RegionRef'] = $this->RegionRef;
public function filterWarehouse()
$this->Warehouse = true;
public function getWarehouse()
if ($this->Warehouse) {
$this->methodProperties['Warehouse'] = 1;
* @param string $ref
public function filterRef($ref)
$this->Ref = $ref;
public function getRef()
if ($this->Ref) {
$this->methodProperties['Ref'] = $this->Ref;