def search_customer(self, limit=100, offset=0, email_pattern=None, last_name_pattern=None,
            company_name_pattern=None, with_additional_data=False):
        """Search the list of customers."""

        response = self.request(E.searchCustomerRequest(
            E.limit(limit),
            E.offset(offset),
            E.emailPattern(email_pattern or ''),
            E.lastNamePattern(last_name_pattern or ''),
            E.companyNamePattern(company_name_pattern or ''),
            E.withAdditionalData(int(with_additional_data)),
        ))

        return response.as_models(Customer)
def search_customer ( self , limit = 100 , offset = 0 , email_pattern = None , last_name_pattern = None , company_name_pattern = None , with_additional_data = False ) : response = self . request ( E . searchCustomerRequest ( E . limit ( limit ) , E . offset ( offset ) , E . emailPattern ( email_pattern or '' ) , E . lastNamePattern ( last_name_pattern or '' ) , E . companyNamePattern ( company_name_pattern or '' ) , E . withAdditionalData ( int ( with_additional_data ) ) , ) ) return response . as_models ( Customer )
Search the list of customers.