public function getCard( CustomerVault\Card $card )
    {
        $card->setRequiredFields(array(
            'profileID',
            'id'
        ));
        $card->checkRequiredFields();

        $request = new Request(array(
            'method' => Request::GET,
            'uri' => $this->prepareURI("/profiles/" . $card->profileID . "/cards/" . $card->id),
        ));
        $response = $this->client->processRequest($request);
        $response['profileID'] = $card->profileID;

        return new CustomerVault\Card($response);
    }
public function getCard( CustomerVault\Card $card )
    {
        $card->setRequiredFields(array(
            'profileID',
            'id'
        ));
        $card->checkRequiredFields();

        $request = new Request(array(
            'method' => Request::GET,
            'uri' => $this->prepareURI("/profiles/" . $card->profileID . "/cards/" . $card->id),
        ));
        $response = $this->client->processRequest($request);
        $response['profileID'] = $card->profileID;

        return new CustomerVault\Card($response);
    }
public function getCard ( CustomerVault \ Card $ card ) { $ card -> setRequiredFields ( array ( 'profileID' , 'id' ) ) ; $ card -> checkRequiredFields ( ) ; $ request = new Request ( array ( 'method' => Request :: GET , 'uri' => $ this -> prepareURI ( "/profiles/" . $ card -> profileID . "/cards/" . $ card -> id ) , ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; $ response [ 'profileID' ] = $ card -> profileID ; return new CustomerVault \ Card ( $ response ) ; }
Get the card.

@param \Paysafe\CustomerVault\Card $card
@return bool
@throws PaysafeException
Get the card .