public function getCard(string $token)
    {
        // Lof Debug
        $this->flow->getLogger()->debug("Retrieving Card with token $token");

        $resource = $this->make(
            $this->flow->send(
                'get',
                $this->endpoint . '/getRegisterStatus',
                ['token' => $token]
            )
        );

        $resource->setExists((int)$resource->status === 1);

        return $resource;
    }
public function getCard(string $token)
    {
        // Lof Debug
        $this->flow->getLogger()->debug("Retrieving Card with token $token");

        $resource = $this->make(
            $this->flow->send(
                'get',
                $this->endpoint . '/getRegisterStatus',
                ['token' => $token]
            )
        );

        $resource->setExists((int)$resource->status === 1);

        return $resource;
    }
public function getCard ( string $ token ) { // Lof Debug $ this -> flow -> getLogger ( ) -> debug ( "Retrieving Card with token $token" ) ; $ resource = $ this -> make ( $ this -> flow -> send ( 'get' , $ this -> endpoint . '/getRegisterStatus' , [ 'token' => $ token ] ) ) ; $ resource -> setExists ( ( int ) $ resource -> status === 1 ) ; return $ resource ; }
Returns the Credit Card Registration Resource Status

@param string $token
@return BasicResource & CustomerResource
@throws \Exception
Returns the Credit Card Registration Resource Status