SecurePaymentConfirmationPrompt Class

The transaction shown by the transaction dialog of Secure Payment Confirmation (UserAgentUIBackend.ShowSecurePaymentConfirmationAsync, https://w3c.github.io/secure-payment-confirmation/#sctn-information-presented).

public sealed class SecurePaymentConfirmationPrompt : UserAgentPrompt
Inheritance
UserAgentPrompt SecurePaymentConfirmationPrompt

Properties

NameDescription
CredentialCountGets the number of credentials of the request that are available on the authenticators of the user agent: when it is 0, the user can only authenticate another way (SecurePaymentConfirmationChoice.AuthenticateAnotherWay) or decline.
InstrumentGets the payment instrument; its icon is an empty string when it cannot be fetched (and does not have to be shown).
PayeeNameGets the name of the payee, or null.
PayeeOriginGets the origin of the payee (e.g. https://merchant.example), or null.
PaymentEntitiesLogosGets the logos of the entities that facilitate the payment; the URL of a logo that cannot be fetched is an empty string.
RpIdGets the relying party identifier of the credentials.
ShowOptOutGets whether the dialog lets the user opt out of the process for the relying party (SecurePaymentConfirmationChoice.OptOut).
TotalGets the total of the transaction (its currency code is in upper case).

Gets the number of credentials of the request that are available on the authenticators of the user agent: when it is 0, the user can only authenticate another way (SecurePaymentConfirmationChoice.AuthenticateAnotherWay) or decline.

public int CredentialCount { get; }

Property value

int

Gets the payment instrument; its icon is an empty string when it cannot be fetched (and does not have to be shown).

public PaymentCredentialInstrument Instrument { get; }

Gets the name of the payee, or null.

public string? PayeeName { get; }

Property value

string?

Gets the origin of the payee (e.g. https://merchant.example), or null.

public string? PayeeOrigin { get; }

Property value

string?

Gets the logos of the entities that facilitate the payment; the URL of a logo that cannot be fetched is an empty string.

public IReadOnlyList<PaymentEntityLogo> PaymentEntitiesLogos { get; }

Gets the relying party identifier of the credentials.

public string RpId { get; }

Property value

string

Gets whether the dialog lets the user opt out of the process for the relying party (SecurePaymentConfirmationChoice.OptOut).

public bool ShowOptOut { get; }

Property value

bool

Gets the total of the transaction (its currency code is in upper case).

public PaymentCurrencyAmount Total { get; }

Property value

PaymentCurrencyAmount