Skip to content

Commit

Permalink
Merge pull request #90 from felipemarques/master
Browse files Browse the repository at this point in the history
Add reference field to method sendPreApprovalRequest
  • Loading branch information
fernandobandeira authored Feb 2, 2018
2 parents e3da67d + 5e591ad commit 014e3ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Artistas/PagSeguroRecorrente.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public function sendPreApprovalRequest(array $preApprovalRequest)
'preApprovalExpirationValue' => $this->sanitizeNumber($preApprovalRequest, 'preApprovalExpirationValue'),
'preApprovalExpirationUnit' => $this->sanitize($preApprovalRequest, 'preApprovalExpirationUnit'),
'maxUses' => $this->sanitizeNumber($preApprovalRequest, 'maxUses'),
'reference' => $this->reference,
];

$this->validatePreApprovalRequest($preApprovalRequest);
Expand Down

0 comments on commit 014e3ae

Please sign in to comment.