Skip to content

Commit

Permalink
CS-3723 allow setting card validation mode at the gateway level (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
rushi authored Apr 19, 2019
1 parent 647c187 commit 431d274
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/CIMGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ public function getDefaultBillTo()
return $this->getParameter('defaultBillTo');
}

public function setValidationMode($validationMode)
{
return $this->setParameter('validationMode', $validationMode);
}

public function getValidationMode()
{
return $this->getParameter('validationMode');
}

/**
* Create a new debit or credit card
*
Expand Down

0 comments on commit 431d274

Please sign in to comment.