public void translateToMap() {
   if (ppuIn != null) {
     ppuIn.resetFlags(true, true);
     addInput(
         "PaymentProfile",
         PaymentProfileObjectHelper.toMap(ppuIn, new HashMap(), "PaymentProfile")
             .get("PaymentProfile"));
   }
   if (payment_protocol2 != null) {
     addInput("PaymentProtocol2", payment_protocol2);
   }
 }
 public void translateFromMap() {
   ppuIn = PaymentProfileObjectHelper.fromMap(inputMap, "PaymentProfile");
   payment_protocol2 = (Integer) inputMap.get("PaymentProtocol2");
 }