protected function cardValidate()
    {

        if ($this->getOpaqueDataDescriptor() && $this->getOpaqueDataValue()) {
            return;
        }

        /** @var CreditCard $card */
        $card = $this->getCard();
        $card->validate();
    }
protected function cardValidate()
    {

        if ($this->getOpaqueDataDescriptor() && $this->getOpaqueDataValue()) {
            return;
        }

        /** @var CreditCard $card */
        $card = $this->getCard();
        $card->validate();
    }
protected function cardValidate ( ) { if ( $ this -> getOpaqueDataDescriptor ( ) && $ this -> getOpaqueDataValue ( ) ) { return ; } /** @var CreditCard $card */ $ card = $ this -> getCard ( ) ; $ card -> validate ( ) ; }
Validate card or skip if opaque data is available

@throws \Omnipay\Common\Exception\InvalidCreditCardException
Validate card or skip if opaque data is available