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")); } }
public void translateFromMap() { noOpIn = PIDObjectHelper.fromMap(inputMap, "PlanIdDiscount"); }
/** * Retrieves the PIDObjectData passed into the constructor * * @return Simulated response */ public PIDObjectData getOutput() { return PIDObjectHelper.fromMap(outputMap, "PlanIdDiscount"); }