About Unions
Unions are abstract types that can be used to return one of a number of different objects. They are useful for defining a common set of fields that objects can implement.
AccessibleEntityUnion
Union type representing entities like account, business or portfolio an accessor has access to.
Possible types
Example
TelcoAccountTypeExample
EmailEventTypeActionType
Actions are things to do upon a user interaction, such as tapping a button.
Possible types
Example
DeeplinkActionTypeBackendScreenType
A backend screen is the top-level container for mobile UI.
Example
ComponentListTypeCardItemType
Items are sections making up a card.
Example
TextTypeExample
StringCharacteristicValueTypeCompensationSubjectType
The compensation subject - either a Delay or a MissedAppointment.
Possible types
Example
DelayTypeContractParty
Union type representing the subject that entered into a contract, either an Account or Business.
Possible types
Example
TelcoAccountTypePossible types
Example
JoinSupplierProcessTypePossible types
Example
InkEmailItemType
Items are sections making up a screen. They can be different types, hence Union.
Example
TextTypeLegacyOrderCustomerType
Union type representing a customer, either an account or a business.
Possible types
Example
TelcoAccountTypeLegacyOrderLinePeriodType
Union type representing either a date range or a duration for an order line period.
Possible types
Example
LegacyOrderLineDateRangeTypeExample
LineLinkRedirectResponsePaymentPreferenceUnion
One of PreferredInstructionType or UserManagedPaymentType
Possible types
Example
PreferredInstructionPossible types
Example
DecimalTypeSalesRecordType
A union type representing different kinds of sales records.
Example
KrakenDrivenSalesInfoTypeExample
SpecialCircumstanceRecordTypePossible types
Example
LineUnlinkedResponsePossible types
Example
ElectricityFiltersOutput