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.
ActionType
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.
Possible types
Example
ComponentListTypePossible types
Example
StringCharacteristicValueTypeContractParty
Union type representing the subject that entered into a contract, either an Account or Business.
Possible types
Example
AccountTypePossible types
Example
ElectricityConsumptionStandardPossible types
Example
ProductTariffInformationLabelStandardPossible types
Example
StandardTariffPossible types
Example
StandardTariffPossible types
Example
JoinSupplierProcessTypePossible types
Example
SerializerErrorTypePossible types
Example
InkEmailItemType
Items are sections making up a screen. They can be different types, hence Union.
Possible types
Example
TextTypePossible types
Example
LineTextMessagePossible types
Example
LineLinkRedirectResponsePossible types
Example
ElectricityMeterPointTypeOrderCustomerType
Union type representing a customer, either an account or a business.
Possible types
Example
AccountTypeOrderLinePeriodType
Union type representing either a date range or a duration for an order line period.
Possible types
Example
OrderLineDateRangeTypePaymentPreferenceUnion
One of PreferredInstructionType or UserManagedPaymentType
Possible types
Example
PreferredInstructionPossible types
Example
DecimalTypeSalesRecordType
A union type representing different kinds of sales records.
Example
KrakenDrivenSalesInfoTypePossible types
Example
ADCSensorConfigurationPossible types
Example
SmartFlexChargingErrorExample
SpecialCircumstanceRecordTypePossible types
Example
TariffInformationLabelStandardPossible types
Example
LineUnlinkedResponsePossible types
Example
ElectricityFiltersOutput