public void translateToMap() { if (DTTUpdateIn != null) { DTTUpdateIn.resetFlags(true, true); addInput( "DiscountThreshTierId", DTTObjectHelper.toMap(DTTUpdateIn, new HashMap(), "DiscountThreshTierId") .get("DiscountThreshTierId")); } }
/** * Constructor to create a DiscountThreshTierIdDeleteNoOpRequest * * @param id Unique request name * @param noOpIn Simulated response object */ public DiscountThreshTierIdDeleteNoOpRequest(String id, DTTObjectData noOpIn) { super(id, "DiscountThreshTierIdDeleteNoOpRequest"); if (noOpIn != null) { addInput( "DiscountThreshTierId", DTTObjectHelper.toMap(noOpIn, new HashMap(), "DiscountThreshTierId") .get("DiscountThreshTierId")); } }
public void translateToMap() { if (DTTFindIn != null) { Integer index = DTTFindIn.getIndex(); if (index != null) addInput("Index", index); addInput( "DiscountThreshTierId", DTTObjectHelper.toMap(DTTFindIn, new HashMap(), "DiscountThreshTierId") .get("DiscountThreshTierId")); } }
public void translateFromMap() { DTTUpdateIn = DTTObjectHelper.fromMap(inputMap, "DiscountThreshTierId"); }
public void translateFromMap() { DTTFindIn = DTTObjectHelper.fromMapFilter(inputMap, "DiscountThreshTierId"); }
/** * Retrieves the DTTObjectData passed into the constructor * * @return Simulated response */ public DTTObjectData getOutput() { return DTTObjectHelper.fromMap(outputMap, "DiscountThreshTierId"); }