Share via


CountryValidationRules Class

Definition

Holds validation information for a single country.

public sealed class CountryValidationRules : Microsoft.Store.PartnerCenter.Models.ResourceBase
type CountryValidationRules = class
    inherit ResourceBase
Public NotInheritable Class CountryValidationRules
Inherits ResourceBase
Inheritance
CountryValidationRules

Constructors

CountryValidationRules()

Properties

Attributes

Gets the attributes.

(Inherited from ResourceBase)
CountryCallingCodesList

Gets or sets the country calling codes.

DefaultCulture

Gets or sets the default culture.

IsCityRequired

Gets or sets a value indicating whether a city is required or not.

Iso2Code

Gets or sets the ISO2 code.

IsPostalCodeRequired

Gets or sets a value indicating whether a postal code is required or not.

IsStateRequired

Gets or sets a value indicating whether the state is required or not.

IsTaxIdOptional

Gets or sets a value indicating whether a tax Id is optional or not.

IsTaxIdSupported

Gets or sets a value indicating whether a tax Id is supported or not.

IsVatIdSupported

Gets or sets a value indicating whether a VAT Id is required or not.

PhoneNumberRegex

Gets or sets the phone number regular expression.

PostalCodeRegex

Gets or sets the postal code regular expression.

SupportedCulturesList

Gets or sets a list of supported cultures.

SupportedLanguagesList

Gets or sets a list of supported languages.

SupportedStatesList

Gets or sets a list of states in the country.

TaxIdFormat

Gets or sets the tax Id format.

TaxIdSample

Gets or sets the tax Id sample.

VatIdRegex

Gets or sets the tax Id regular expression.

Applies to