src/PaymentSlipData.php
public function setWithAccountNumber($withAccountNumber = true)
    {
        $this->isBool($withAccountNumber, 'withAccountNumber');
        $this->withAccountNumber = $withAccountNumber;

        if ($withAccountNumber === false) {
            $this->accountNumber = '';
        }

        return $this;
    }
public function setWithAccountNumber($withAccountNumber = true)
    {
        $this->isBool($withAccountNumber, 'withAccountNumber');
        $this->withAccountNumber = $withAccountNumber;

        if ($withAccountNumber === false) {
            $this->accountNumber = '';
        }

        return $this;
    }
public function setWithAccountNumber ( $ withAccountNumber = true ) { $ this -> isBool ( $ withAccountNumber , 'withAccountNumber' ) ; $ this -> withAccountNumber = $ withAccountNumber ; if ( $ withAccountNumber === false ) { $ this -> accountNumber = '' ; } return $ this ; }
Set if payment slip has an account number specified

Resets the account number when disabling.

@param bool $withAccountNumber True if yes, false if no.
@return $this The current instance for a fluent interface.
Set if payment slip has an account number specified