Class EndShipper
Class representing an EasyPost EndShipper.
Inherited Members
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class EndShipper : EasyPostObject, IEasyPostObject, IEndShipperParameter, IAddressParameter, IParameter
Properties
| Improve this Doc View SourceCity
The city the end shipper 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 end shipper is located in. Code must be "US" for a valid end shipper.
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 end shipper.
Declaration
public string? Error { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Message
A human-readable message for any errors that occurred during the end shipper'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> |
State
The state the end shipper is located in.
Declaration
public string? State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Street1
The first line of the end shipper street address.
Declaration
public string? Street1 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Street2
The second line of the end shipper street address.
Declaration
public string? Street2 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Zip
The zip code the end shipper is located in.
Declaration
public string? Zip { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |