PaymentAddress Constructors

Definition

Overloads

PaymentAddress()

Initializes a new instance of the PaymentAddress class.

PaymentAddress(String, IList<String>, String, String, String, String, String, String, String, String, String)

Initializes a new instance of the PaymentAddress class.

PaymentAddress()

Initializes a new instance of the PaymentAddress class.

public PaymentAddress ();
Public Sub New ()

Applies to

PaymentAddress(String, IList<String>, String, String, String, String, String, String, String, String, String)

Initializes a new instance of the PaymentAddress class.

public PaymentAddress (string country = default, System.Collections.Generic.IList<string> addressLine = default, string region = default, string city = default, string dependentLocality = default, string postalCode = default, string sortingCode = default, string languageCode = default, string organization = default, string recipient = default, string phone = default);
new Microsoft.Bot.Schema.PaymentAddress : string * System.Collections.Generic.IList<string> * string * string * string * string * string * string * string * string * string -> Microsoft.Bot.Schema.PaymentAddress
Public Sub New (Optional country As String = Nothing, Optional addressLine As IList(Of String) = Nothing, Optional region As String = Nothing, Optional city As String = Nothing, Optional dependentLocality As String = Nothing, Optional postalCode As String = Nothing, Optional sortingCode As String = Nothing, Optional languageCode As String = Nothing, Optional organization As String = Nothing, Optional recipient As String = Nothing, Optional phone As String = Nothing)

Parameters

country
String

This is the CLDR (Common Locale Data Repository) region code. For example, US, GB, CN, or JP.

addressLine
IList<String>

This is the most specific part of the address. It can include, for example, a street name, a house number, apartment number, a rural delivery route, descriptive instructions, or a post office box number.

region
String

This is the top level administrative subdivision of the country. For example, this can be a state, a province, an oblast, or a prefecture.

city
String

This is the city/town portion of the address.

dependentLocality
String

This is the dependent locality or sublocality within a city. For example, used for neighborhoods, boroughs, districts, or UK dependent localities.

postalCode
String

This is the postal code or ZIP code, also known as PIN code in India.

sortingCode
String

This is the sorting code as used in, for example, France.

languageCode
String

This is the BCP-47 language code for the address. It's used to determine the field separators and the order of fields when formatting the address for display.

organization
String

This is the organization, firm, company, or institution at this address.

recipient
String

This is the name of the recipient or contact person.

phone
String

This is the phone number of the recipient or contact person.

Applies to