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
DeeplinkActionType
BackendScreenType
A backend screen is the top-level container for mobile UI.
Possible types
Example
ComponentListType
CardItemType
Items are sections making up a card.
Example
TextType
ContractParty
Union type representing the subject that entered into a contract, either an Account or Business.
Possible types
Example
AccountType
Example
AllDayAnnualConsumptionType
EnergyConsumptionForecastType
Energy consumption forecast.
Example
ElectricityConsumptionForecastType
Possible types
Example
ElectricityConsumptionRateType
Possible types
Example
ElectricityStandingRateType
Possible types
Example
JoinSupplierProcessType
Example
InkEmail
ItemType
Items are sections making up a screen. They can be different types, hence Union.
Example
TextType
Example
LineLinkRedirectResponse
Possible types
Example
SmartFlexChargingError
Example
SpecialCircumstanceRecordType
Possible types
Example
LineUnlinkedResponse
Possible types
Example
ElectricityFiltersOutput