PaymentOptionPresence Enum

Definition

An enumeration that indicates whether the option is required or optional.

public enum class PaymentOptionPresence
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class PaymentOptionPresence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum PaymentOptionPresence
var value = Windows.ApplicationModel.Payments.PaymentOptionPresence.none
Public Enum PaymentOptionPresence
Inheritance
PaymentOptionPresence
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

None 0

Property is not needed or used by the merchant.

Optional 1

Property is not needed by the merchant, but they will accept it if provided. For example, a merchant could optionally send you a receipt to your email address.

Required 2

The merchant can't (or is unwilling to) process the transaction without this information.

Applies to