Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More address properties

  • Loading branch information...
commit 8da4a7bc7e3d076a752604be24a6c8236a62973e 1 parent d4a54b9
@jcroll jcroll authored iampersistent committed
Showing with 59 additions and 12 deletions.
  1. +59 −12 lib/Vespolina/Entity/Partner/PaymentProfile.php
View
71 lib/Vespolina/Entity/Partner/PaymentProfile.php
@@ -17,7 +17,12 @@ class PaymentProfile implements PaymentProfileInterface
protected $id;
protected $reference;
protected $partner;
- protected $address;
+ protected $billingCity;
+ protected $billingCountry;
+ protected $billingState;
+ protected $billingAddress;
+ protected $billingZipCode;
+ protected $billingPhone;
/**
* @inheritdoc
@@ -63,21 +68,63 @@ public function getReference()
return $this->reference;
}
- /**
- * @inheritdoc
- */
- public function setAddress($address)
+ public function setBillingAddress($billingAddress)
{
- $this->address = $address;
+ $this->billingAddress = $billingAddress;
+ }
- return $this;
+ public function getBillingAddress()
+ {
+ return $this->billingAddress;
}
- /**
- * @inheritdoc
- */
- public function getAddress()
+ public function setBillingZipCode($billingZipCode)
+ {
+ $this->billingZipCode = $billingZipCode;
+ }
+
+ public function getBillingZipCode()
+ {
+ return $this->billingZipCode;
+ }
+
+ public function setBillingCity($billingCity)
+ {
+ $this->billingCity = $billingCity;
+ }
+
+ public function getBillingCity()
+ {
+ return $this->billingCity;
+ }
+
+ public function setBillingCountry($billingCountry)
+ {
+ $this->billingCountry = $billingCountry;
+ }
+
+ public function getBillingCountry()
+ {
+ return $this->billingCountry;
+ }
+
+ public function setBillingPhone($billingPhone)
+ {
+ $this->billingPhone = $billingPhone;
+ }
+
+ public function getBillingPhone()
+ {
+ return $this->billingPhone;
+ }
+
+ public function setBillingState($billingState)
+ {
+ $this->billingState = $billingState;
+ }
+
+ public function getBillingState()
{
- return $this->address;
+ return $this->billingState;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.