public function setTaxDocument(TaxDocument $taxDocument)
    {
        $taxDocument->setContext(Moip::PAYMENT);
        $this->data->taxDocument = $taxDocument->getData();

        return $this;
    }
public function setTaxDocument(TaxDocument $taxDocument)
    {
        $taxDocument->setContext(Moip::PAYMENT);
        $this->data->taxDocument = $taxDocument->getData();

        return $this;
    }
public function setTaxDocument ( TaxDocument $ taxDocument ) { $ taxDocument -> setContext ( Moip :: PAYMENT ) ; $ this -> data -> taxDocument = $ taxDocument -> getData ( ) ; return $ this ; }
Set customer tax document

@param  \Softpampa\Moip\Helpers\TaxDocument  $taxDocument
@return $this
Set customer tax document