package com.braintree.facade;

import com.braintree.hybris.data.BrainTreeConnectWithPayPalUserExistB2BData;
import com.braintree.hybris.data.BraintreeConnectWithPayPalConnectB2BRegisterData;
import de.hybris.platform.commerceservices.customer.DuplicateUidException;

public interface BraintreeB2BRegistrationUserFacade {

    String registerB2BPayPalUser(BraintreeConnectWithPayPalConnectB2BRegisterData registerData) throws DuplicateUidException;

    BrainTreeConnectWithPayPalUserExistB2BData isCustomerExistAndApprovedByUID(final String email);

}
