src/Resource/Payment.php
public function setCreditCardSaved($creditCardId, $cvc)
    {
        $this->data->fundingInstrument = new stdClass();
        $this->data->fundingInstrument->method = self::METHOD_CREDIT_CARD;
        $this->data->fundingInstrument->creditCard = new stdClass();
        $this->data->fundingInstrument->creditCard->id = $creditCardId;
        $this->data->fundingInstrument->creditCard->cvc = $cvc;

        return $this;
    }
public function setCreditCardSaved($creditCardId, $cvc)
    {
        $this->data->fundingInstrument = new stdClass();
        $this->data->fundingInstrument->method = self::METHOD_CREDIT_CARD;
        $this->data->fundingInstrument->creditCard = new stdClass();
        $this->data->fundingInstrument->creditCard->id = $creditCardId;
        $this->data->fundingInstrument->creditCard->cvc = $cvc;

        return $this;
    }
public function setCreditCardSaved ( $ creditCardId , $ cvc ) { $ this -> data -> fundingInstrument = new stdClass ( ) ; $ this -> data -> fundingInstrument -> method = self :: METHOD_CREDIT_CARD ; $ this -> data -> fundingInstrument -> creditCard = new stdClass ( ) ; $ this -> data -> fundingInstrument -> creditCard -> id = $ creditCardId ; $ this -> data -> fundingInstrument -> creditCard -> cvc = $ cvc ; return $ this ; }
Sets data from a previously saved credit card
Credit card used in a payment.
Used when the credit card was saved with the customer and the payment made in a future date.

@param string $creditCardId MoIP's Credit Card Id.
@param int    $cvc          Card Security Code.

@return $this
Sets data from a previously saved credit card Credit card used in a payment . Used when the credit card was saved with the customer and the payment made in a future date .