stringField = MyStringField.new("string")
priceField = MyPriceField.new(14.54)

message.setField(stringField)
message.setField(priceField)

message.getField(stringField)
message.getField(priceField)