GDS\Gateway\ProtoBuf::applyTransaction PHP Method

applyTransaction() private method

Apply a transaction to an object
private applyTransaction ( $obj ) : mixed
$obj
return mixed
    private function applyTransaction($obj)
    {
        if (null !== $this->str_next_transaction) {
            $obj->setTransaction($this->str_next_transaction);
            $this->str_next_transaction = null;
        }
        return $obj;
    }