class CartManager {

    @NonNull
    static String generateUuidForRole(int role) {
        String baseId = UUID.randomUUID().toString();
        String base = null;
        if (role == LineItem.Role.REGULAR) {
            base = REGULAR_ID;
        } else if (role == LineItem.Role.SHIPPING) {
            base = SHIPPING_ID;
        }

        StringBuilder builder = new StringBuilder();
        if (base != null) {
            return builder.append(base)
                    .append('-')
                    .append(baseId.substring(base.length()))
                    .toString();
        }
        return baseId;
    }

    public  CartManager();
    public  CartManager(String currencyCode);
    public  CartManager(@NonNull Cart oldCart);
    public  CartManager(@NonNull Cart oldCart, boolean shouldKeepShipping, boolean shouldKeepTax);

}