public void translateToMap() { if (noOpIn != null) { noOpIn.resetFlags(true, true); addInput( "PlanIdDiscount", PIDObjectHelper.toMap(noOpIn, new HashMap(), "PlanIdDiscount").get("PlanIdDiscount")); } }
/** * Constructor to create a PlanIdDiscountUpdateNoOpRequest * * @param id Unique request name * @param noOpIn Simulated response object */ public PlanIdDiscountUpdateNoOpRequest(String id, PIDObjectData noOpIn) { super(id, "PlanIdDiscountUpdateNoOpRequest"); if (noOpIn != null) { addInput( "PlanIdDiscount", PIDObjectHelper.toMap(noOpIn, new HashMap(), "PlanIdDiscount").get("PlanIdDiscount")); } }