TransactionDataContext
What an application's org.multipaz.prompt.TransactionDataRenderer needs to draw one type's items in the consent prompt.
The consent prompt creates this for each group of transaction data items of the same TransactionType for a credential, and passes it to the renderer found for that type in the org.multipaz.prompt.TransactionDataRendererRepository.
The transaction data comes from the relying party, so a renderer must treat it as untrusted:
Show strings from a payload as plain text: don't interpret markup, limit their length, and don't make links tappable without validating them.
The prompt always shows the requester. A renderer may leave out a domain equal to the requester's origin, but a merchant or payee that differs from the requester must be shown.
Constructors
Properties
called when the user changes their input.
the inferred PresentmentPurposes for the current selection.
the items, all of the same TransactionType, in request order.
the requester's trust status, or null if not trusted.
the input the user has given for this type so far, or null.