We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87d07ae commit 989feddCopy full SHA for 989fedd
src/Message/CIMCreateCardRequest.php
@@ -14,7 +14,8 @@ class CIMCreateCardRequest extends CIMAbstractRequest
14
public function getData()
15
{
16
17
- $this->validateCard();
+ $this->validate('card');
18
+ $this->cardValidate();
19
$data = $this->getBaseData();
20
$this->addProfileData($data);
21
$this->addTransactionSettings($data);
@@ -27,15 +28,13 @@ public function getData()
27
28
*
29
* @param \SimpleXMLElement $data
30
*/
- protected function validateCard()
31
+ protected function cardValidate()
32
33
34
if ($this->getOpaqueDataDescriptor() && $this->getOpaqueDataValue()) {
35
return;
36
}
37
- $this->validate('card');
38
-
39
/** @var CreditCard $card */
40
$card = $this->getCard();
41
$card->validate();
0 commit comments