Defining optional_field_mappings Tags

The <optional_field_mappings/> tags include all optional fields in a request that require special handling.

Each combination of optional fields is added in the <fields_present/> tags. Each <fields_present id="x">...</fields_present> set of tags represents mutually exclusive cases of fields that are present. The attribute that holds the list of fields is id="x". The x value is a set of defined field names (for example, GroupBA GroupRA SubscriberOfferPurchase are field names in the request MATRIXX Data Container (MDC).

This tag checks if the set of fields specified by the id attribute exist. If all fields listed in this attribute exist, then the code generation within these tags is performed and option field mapping code generation ends.

Replace x with the set of field names from the request MDC that trigger the selection of the steps listed within the <fields_present/> tags.

The order of the statements is the order in which the conditions are evaluated.