Class CreateFedExSmartPost
Parameters for FedEx SmartPost CarrierAccount creation API calls.
Inherited Members
Namespace: EasyPost.Parameters.CarrierAccount
Assembly: EasyPost.dll
Syntax
public class CreateFedExSmartPost : ACreate, IBaseParameters, ICarrierAccountParameter, IParameter
Constructors
| Improve this Doc View SourceCreateFedExSmartPost()
Initializes a new instance of the CreateFedExSmartPost class.
Declaration
public CreateFedExSmartPost()
Properties
| Improve this Doc View SourceAccountNumber
The FedEx account number.
Declaration
public string? AccountNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporateAddressCity
The city of the address of the corporate contact.
Declaration
public string? CorporateAddressCity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporateAddressCountryCode
The country code of the address of the corporate contact.
Declaration
public string? CorporateAddressCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporateAddressPostalCode
The postal code of the address of the corporate contact.
Declaration
public string? CorporateAddressPostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporateAddressState
The state of the address of the corporate contact.
Declaration
public string? CorporateAddressState { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporateAddressStreet
The street of the address of the corporate contact.
Declaration
public string? CorporateAddressStreet { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporateCompanyName
The company name of the corporate contact.
Declaration
public string? CorporateCompanyName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporateEmailAddress
The email address of the corporate contact.
Declaration
public string? CorporateEmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporateFirstName
The first name of the corporate contact.
Declaration
public string? CorporateFirstName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporateJobTitle
The job title of the corporate contact.
Declaration
public string? CorporateJobTitle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporateLastName
The last name of the corporate contact.
Declaration
public string? CorporateLastName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CorporatePhoneNumber
The phone number of the corporate contact.
Declaration
public string? CorporatePhoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Description
Description for the new CarrierAccount.
Declaration
public string? Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
HubId
The FedEx Hub ID.
Declaration
public string? HubId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Reference
Reference name for the new CarrierAccount.
Declaration
public string? Reference { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
ShippingAddressCity
The city of the address of the shipping origin.
Declaration
public string? ShippingAddressCity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
ShippingAddressCountryCode
The country code of the address of the shipping origin.
Declaration
public string? ShippingAddressCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
ShippingAddressPostalCode
The postal code of the address of the shipping origin.
Declaration
public string? ShippingAddressPostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
ShippingAddressState
The state of the address of the shipping origin.
Declaration
public string? ShippingAddressState { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
ShippingAddressStreet
The street of the address of the shipping origin.
Declaration
public string? ShippingAddressStreet { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Type
Type of CarrierAccount to create.
Declaration
public override string? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Overrides
Methods
| Improve this Doc View SourceToDictionary()
Convert this parameter object to a dictionary for an HTTP request.
Declaration
public override Dictionary<string, object> ToDictionary()
Returns
| Type | Description |
|---|---|
| Dictionary<System.String, System.Object> |