src/OrangePaymentSlipData.php
public function setWithReferenceNumber($withReferenceNumber = true)
    {
        $this->isBool($withReferenceNumber, 'withReferenceNumber');
        $this->withReferenceNumber = $withReferenceNumber;

        if ($withReferenceNumber === false) {
            $this->referenceNumber = '';
        }

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

        if ($withReferenceNumber === false) {
            $this->referenceNumber = '';
        }

        return $this;
    }
public function setWithReferenceNumber ( $ withReferenceNumber = true ) { $ this -> isBool ( $ withReferenceNumber , 'withReferenceNumber' ) ; $ this -> withReferenceNumber = $ withReferenceNumber ; if ( $ withReferenceNumber === false ) { $ this -> referenceNumber = '' ; } return $ this ; }
Set if payment slip has a reference number specified

Resets the reference number when disabling.

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