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
ContractParty
Union type representing the subject that entered into a contract, either an Account or Business.
Possible types
Example
AccountType
Possible types
Example
ElectricityConsumptionStandard
Possible types
Example
ProductTariffInformationLabelStandard
Possible types
Example
StandardTariff
Possible types
Example
StandardTariff
Possible types
Example
JoinSupplierProcessType
Possible types
Example
SerializerErrorType
Possible types
Example
InkEmail
ItemType
Items are sections making up a screen. They can be different types, hence Union.
Possible types
Example
TextType
Possible types
Example
LineTextMessage
Possible types
Example
LineLinkRedirectResponse
Possible types
Example
ElectricityMeterPointType
OrderCustomerType
Union type representing a customer, either an account or a business.
Possible types
Example
AccountType
OrderLinePeriodType
Union type representing either a date range or a duration for an order line period.
Possible types
Example
OrderLineDateRangeType
PaymentPreferenceUnion
One of PreferredInstructionType or UserManagedPaymentType
Possible types
Example
PreferredInstruction
Possible types
Example
DecimalType
Possible types
Example
ADCSensorConfiguration
Possible types
Example
SmartFlexChargingError
Example
SpecialCircumstanceRecordType
Possible types
Example
TariffInformationLabelStandard
Possible types
Example
LineUnlinkedResponse
Possible types
Example
ElectricityFiltersOutput