Skip to content

Commit

Permalink
Merge 45429a2 into 2e96fe3
Browse files Browse the repository at this point in the history
  • Loading branch information
adamaltman committed Jan 4, 2019
2 parents 2e96fe3 + 45429a2 commit 7a20fe9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Security - in case of vulnerabilities.
_TBD_

### Added
- [x] Added new write-only property to set payment instrument from `token` for the `Customer` Resource.
- [x] Added new property to `RiskMetadata`: `region`
- [x] Added new properties to `Customer`: `averageValue`, `paymentCount`, `lastPaymentTime`
- [x] Added new service `WebhookCredentials`
Expand Down
10 changes: 10 additions & 0 deletions src/Entities/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,4 +359,14 @@ public function getInvoiceCount()
{
return $this->getAttribute('invoiceCount');
}

/**
* @param $value
*
* @return $this
*/
public function setPaymentToken($value)
{
return $this->setAttribute('paymentToken', $value);
}
}

0 comments on commit 7a20fe9

Please sign in to comment.