AddressInit Class

An address given by a payment handler (https://w3c.github.io/web-based-payment-handler/#addressinit-dictionary).

public sealed class AddressInit

Constructors

NameDescription
AddressInit()

AddressInit()

PaymentHandler.cs
public AddressInit()

No documentation is available.

Properties

NameDescription
AddressLineGets the lines of the street address.
CityGets the city.
CountryGets the country code.
DependentLocalityGets the dependent locality.
OrganizationGets the organization.
PhoneGets the phone number.
PostalCodeGets the postal code.
RecipientGets the recipient.
RegionGets the region.
SortingCodeGets the sorting code.

Gets the lines of the street address.

public IReadOnlyList<string> AddressLine { get; init; }

Gets the city.

public string City { get; init; }

Gets the country code.

public string Country { get; init; }

DependentLocality

PaymentHandler.cs

Gets the dependent locality.

public string DependentLocality { get; init; }

Organization

PaymentHandler.cs

Gets the organization.

public string Organization { get; init; }

Gets the phone number.

public string Phone { get; init; }

Gets the postal code.

public string PostalCode { get; init; }

Gets the recipient.

public string Recipient { get; init; }

Gets the region.

public string Region { get; init; }

Gets the sorting code.

public string SortingCode { get; init; }