src/Payments/Resources/Payments.php
public function setCreditCardHash($hash, Customers $holder)
    {
        $this->data->fundingInstrument->method = self::METHOD_CREDIT_CARD;
        $this->data->fundingInstrument->creditCard = new stdClass();
        $this->data->fundingInstrument->creditCard->hash = $hash;
        $this->setCreditCardHolder($holder);

        return $this;
    }
public function setCreditCardHash($hash, Customers $holder)
    {
        $this->data->fundingInstrument->method = self::METHOD_CREDIT_CARD;
        $this->data->fundingInstrument->creditCard = new stdClass();
        $this->data->fundingInstrument->creditCard->hash = $hash;
        $this->setCreditCardHolder($holder);

        return $this;
    }
public function setCreditCardHash ( $ hash , Customers $ holder ) { $ this -> data -> fundingInstrument -> method = self :: METHOD_CREDIT_CARD ; $ this -> data -> fundingInstrument -> creditCard = new stdClass ( ) ; $ this -> data -> fundingInstrument -> creditCard -> hash = $ hash ; $ this -> setCreditCardHolder ( $ holder ) ; return $ this ; }
Set credit card hash.

@param  string  $hash
@param  \Softpampa\Moip\Payments\Resources\Customers  $holder
@return $this
Set credit card hash .