- Like in Java, MapType is a also a collection of key/value pairs.
- For each key (referred to as argument), there is a corresponding value (referred to as return type).

A very common use of MapTypes is localized values – values that may differ in every language available in the system, like product descriptions in German, English and French.
Syntax
<maptype code="localized:java.lang.String" argumenttype="Language"
returntype="java.lang.String"
autocreate="true"
generate="false"/>
Map in Java | MapType in SAP Commerce Cloud |
Key | argumenttype |
Value | returntype |