Permalink
Browse files

Tell whether partner is paying by credit card

  • Loading branch information...
1 parent fa1e541 commit e3dabc04a80da848ff05fbcd25287b35da9a37c6 @jcroll jcroll committed with iampersistent Jan 24, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 lib/Vespolina/Entity/Partner/Partner.php
@@ -38,6 +38,7 @@ class Partner implements PartnerInterface
protected $primaryContact;
protected $roles;
protected $type;
+ protected $payByCreditCard = true;
public function __construct()
{
@@ -310,4 +311,14 @@ public function setOrganisationDetails($organisationDetails)
return $this;
}
+
+ public function setPayByCreditCard($payByCreditCard)
+ {
+ $this->payByCreditCard = $payByCreditCard;
+ }
+
+ public function isPayByCreditCard()
+ {
+ return $this->payByCreditCard;
+ }
}

0 comments on commit e3dabc0

Please sign in to comment.