Class Address
Class representing an EasyPost address.
Inherited Members
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class Address : EasyPostObject, IEasyPostObject, IAddressParameter, IParameter
Properties
| Improve this Doc View SourceCarrierFacility
The specific designation for the address (only relevant if the address is a carrier facility).
Declaration
public string? CarrierFacility { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
City
The city the address is located in.
Declaration
public string? City { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Company
The name of the company.
Declaration
public string? Company { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Country
The ISO 3166 code of the country the address is located in.
Declaration
public string? Country { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
The email address of the person or organization.
Declaration
public string? Email { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Error
Potential error encountered while processing the address.
Declaration
public string? Error { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
FederalTaxId
The federal tax ID of the person or organization.
Declaration
public string? FederalTaxId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Message
A human-readable message for any errors that occurred during the address's life cycle.
Declaration
public string? Message { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Name
The name of the person or organization.
Declaration
public string? Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Phone
The phone number of the person or organization.
Declaration
public string? Phone { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Residential
Whether the address is a residential address.
Declaration
public bool? Residential { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
State
The state the address is located in.
Declaration
public string? State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
StateTaxId
The state tax ID of the person or organization.
Declaration
public string? StateTaxId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Street1
The first line of the street address.
Declaration
public string? Street1 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Street2
The second line of the street address.
Declaration
public string? Street2 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Verifications
The result of any verifications.
Declaration
public Verifications Verifications { get; set; }
Property Value
| Type | Description |
|---|---|
| Verifications |
Zip
The zip code the address is located in.
Declaration
public string? Zip { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |