Share via


PaymentAddress Class

Definition

This class represents an address that is used in the Payment Request API. This class reflects the W3C PaymentAddress interface.

public ref class PaymentAddress sealed
/// [Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PaymentAddress final
[Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PaymentAddress
function PaymentAddress()
Public NotInheritable Class PaymentAddress
Inheritance
Object Platform::Object IInspectable PaymentAddress
Attributes

Windows requirements

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

Constructors

PaymentAddress()

Creates a new PaymentAddress object.

Properties

AddressLines

The address lines.

City

The city.

Country

The country. Values must be from the CLDR standard.

DependentLocality

The dependent locality within a city.

LanguageCode

Language code for the address. Values must be valid IETF language tags as specified by the BCP-47 standard.

Organization

Organization in the address.

PhoneNumber

The phone number of the recipient.

PostalCode

The address postal code.

Properties

This field is used to allow extensions to the class. It is not present in the W3C definition.

Recipient

The name of the recipient.

Region

The region of a country.

SortingCode

The sorting code.

Applies to