Skip to content

Commit

Permalink
Merge pull request #21 from dara123/development
Browse files Browse the repository at this point in the history
rename contact to billingContact
  • Loading branch information
adamaltman committed Feb 26, 2015
2 parents 38ee7c3 + 856d4ce commit e5a4fad
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/v2_1/PaymentCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ class PaymentCard extends RebillyRequest
public $expMonth;
/** @var int $expYear */
public $expYear;
/** @var string $contact */
public $contact;
/** @var string $billingContact */
public $billingContact;
/** @var int $cvv */
public $cvv;
/** @var string $token */
Expand All @@ -73,6 +73,12 @@ class PaymentCard extends RebillyRequest
/** @var string $id */
private $id;

/**
* Set customer's ID and version
* @param string $customerId
* @param null $id
* @throws Exception
*/
public function __construct($customerId, $id = null)
{
$this->customerId = $customerId;
Expand Down

0 comments on commit e5a4fad

Please sign in to comment.