def set_eway_header(self):
        eway_header = self.client.factory.create("eWAYHeader")
        eway_header.eWAYCustomerID = self.customer_id
        eway_header.Username = self.username
        eway_header.Password = self.password
        self.client.set_options(soapheaders=eway_header)
creates eway header containing login credentials
dataset/ETHPy150Open agiliq/merchant/billing/gateways/eway_gateway/eway_api/client.py/RebillEwayClient.set_eway_header