private OrderPayment createCaptureOrderPayment() {
   OrderPayment orderPayment = createApprovedOrderPayment();
   orderPayment.setTransactionType(OrderPayment.CAPTURE_TRANSACTION);
   return orderPayment;
 }
 private OrderPayment createRefundOrderPayment() {
   OrderPayment orderPayment = createApprovedOrderPayment();
   orderPayment.setTransactionType(OrderPayment.CREDIT_TRANSACTION);
   return orderPayment;
 }