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
UserAgentPromptSecurePaymentConfirmationPrompt
Properties
| Name | Description |
|---|---|
| CredentialCount | 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. |
| Instrument | Gets the payment instrument; its icon is an empty string when it cannot be fetched (and does not have to be shown). |
| PayeeName | Gets the name of the payee, or null. |
| PayeeOrigin | Gets the origin of the payee (e.g. https://merchant.example), or null. |
| PaymentEntitiesLogos | Gets the logos of the entities that facilitate the payment; the URL of a logo that cannot be fetched is an empty string. |
| RpId | Gets the relying party identifier of the credentials. |
| ShowOptOut | Gets whether the dialog lets the user opt out of the process for the relying party (SecurePaymentConfirmationChoice.OptOut). |
| Total | Gets the total of the transaction (its currency code is in upper case). |
CredentialCount
UserAgentUIBackend.SecurePaymentConfirmation.csGets 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
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; }Property value
PaymentEntitiesLogos
UserAgentUIBackend.SecurePaymentConfirmation.csGets 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; }Property value
Gets whether the dialog lets the user opt out of the process for the relying party (SecurePaymentConfirmationChoice.OptOut).
public bool ShowOptOut { get; }Property value
Gets the total of the transaction (its currency code is in upper case).
public PaymentCurrencyAmount Total { get; }