Interface C4CCustomerService

  • All Known Implementing Classes:
    C4CCustomerServiceImpl

    public interface C4CCustomerService
    Ticket service to interact with C4C
    • Method Detail

      • getIndividualCustomerByExternalId

        IndividualCustomer getIndividualCustomerByExternalId​(java.lang.String customerId)
                                                      throws C4CServiceException
        Get Individual Customer by external ID
        Parameters:
        customerId - commerce customer id
        Returns:
        Individual Customer by External ID
        Throws:
        C4CServiceException - when error occurs due to invalid data
      • getContactByExternalId

        Contact getContactByExternalId​(java.lang.String customerId)
                                throws C4CServiceException
        Get Contact by external ID
        Parameters:
        customerId - commerce c4c customerId
        Returns:
        Contact by External ID
        Throws:
        C4CServiceException - when error occurs due to invalid data