Table of Contents

Interface IAddressState

Namespace
XENBIT.ResQueServe.Abstractions.Interfaces
Assembly
RQS.Abstractions.dll

Represents the state or region information within an address package, including its association with a specific country.

public interface IAddressState

Properties

AddressPackageId

int AddressPackageId { get; set; }

Property Value

int

Country

The country to which this state belongs. The Country class encapsulates details like the country's name, its ISO codes, and other pertinent information.

Country Country { get; set; }

Property Value

Country

StateId

int StateId { get; set; }

Property Value

int

StateName

The name of the state.

string StateName { get; set; }

Property Value

string

Methods

ToString(string, string?)

Returns a string that represents the current address based on the specified format.

string ToString(string format, string? houseNumber = null)

Parameters

format string

Use "s" for short, the "l" format (long) includes additional address components. "td" is also available for "top-down".

houseNumber string

Place the house number inside the address, if applicable.

Returns

string

A string containing the address components based on the specified format.