private void fromJSONAmount(JSONValue json_value, bool ignore_extras) { Debug.Assert(json_value != null); AmountJSON convert_classy = AmountJSON.from_json(json_value, ignore_extras, true); setAmount(convert_classy); }
public void setAmount(AmountJSON new_value) { if (flagHasAmount) { } flagHasAmount = true; storeAmount = new_value; }
public void setValue(AmountJSON new_value) { if (flagHasValue) { } flagHasValue = true; storeValue = new_value; }
public static MonetaryAmountJSON from_AmountJSON_json(AmountJSON ancestor, bool ignore_extras) { Debug.Assert(ancestor != null); MonetaryAmountJSON result; { HoldingGenerator handler = new HoldingGenerator("Type MonetaryAmount", ignore_extras); ancestor.write_as_json(handler); result = handler.value; } return(result); }
protected override void handle_result(AmountJSON new_result) { handle_result((MonetaryAmountJSON )new_result); }
protected override void handle_result(AmountJSON new_result) { handle_result((UnitOfMeasureAmountJSON )new_result); }