if (UtilValidate.isNotEmpty(sellingManagerSoldOrders)) {
for (SellingManagerSoldOrderType solditem : sellingManagerSoldOrders) {
SellingManagerOrderStatusType orderStatus = solditem.getOrderStatus();
if (orderStatus != null && !orderStatus.isFeedbackSent()) {
SellingManagerPaidStatusCodeType paidStatus = orderStatus.getPaidStatus();
CommentTypeCodeType commentType = orderStatus.getFeedbackReceived();
//Buyer has paid for this item.
if ("PAYMENT_RECEIVED".equals(feedbackEventCode) && SellingManagerPaidStatusCodeType.PAID.equals(paidStatus)) {
items.add(solditem);
}
//Buyer has paid for this item and left me positive feedback.