Show / Hide Table of Contents

Class CreateFedExSmartPost

Parameters for FedEx SmartPost CarrierAccount creation API calls.

Inheritance
System.Object
BaseParameters<CarrierAccount>
ACreate
CreateFedExSmartPost
Implements
IBaseParameters
ICarrierAccountParameter
IParameter
Inherited Members
BaseParameters<CarrierAccount>.MatchFunction
BaseParameters<CarrierAccount>.Matches(CarrierAccount)
BaseParameters<CarrierAccount>.ToSubDictionary(Type)
Namespace: EasyPost.Parameters.CarrierAccount
Assembly: EasyPost.dll
Syntax
public class CreateFedExSmartPost : ACreate, IBaseParameters, ICarrierAccountParameter, IParameter

Constructors

| Improve this Doc View Source

CreateFedExSmartPost()

Initializes a new instance of the CreateFedExSmartPost class.

Declaration
public CreateFedExSmartPost()

Properties

| Improve this Doc View Source

AccountNumber

The FedEx account number.

Declaration
public string? AccountNumber { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

CorporateAddressCity

The city of the address of the corporate contact.

Declaration
public string? CorporateAddressCity { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

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>
| Improve this Doc View Source

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>
| Improve this Doc View Source

CorporateAddressState

The state of the address of the corporate contact.

Declaration
public string? CorporateAddressState { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

CorporateAddressStreet

The street of the address of the corporate contact.

Declaration
public string? CorporateAddressStreet { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

CorporateCompanyName

The company name of the corporate contact.

Declaration
public string? CorporateCompanyName { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

CorporateEmailAddress

The email address of the corporate contact.

Declaration
public string? CorporateEmailAddress { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

CorporateFirstName

The first name of the corporate contact.

Declaration
public string? CorporateFirstName { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

CorporateJobTitle

The job title of the corporate contact.

Declaration
public string? CorporateJobTitle { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

CorporateLastName

The last name of the corporate contact.

Declaration
public string? CorporateLastName { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

CorporatePhoneNumber

The phone number of the corporate contact.

Declaration
public string? CorporatePhoneNumber { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

Description

Description for the new CarrierAccount.

Declaration
public string? Description { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

HubId

The FedEx Hub ID.

Declaration
public string? HubId { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

Reference

Reference name for the new CarrierAccount.

Declaration
public string? Reference { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

ShippingAddressCity

The city of the address of the shipping origin.

Declaration
public string? ShippingAddressCity { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

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>
| Improve this Doc View Source

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>
| Improve this Doc View Source

ShippingAddressState

The state of the address of the shipping origin.

Declaration
public string? ShippingAddressState { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

ShippingAddressStreet

The street of the address of the shipping origin.

Declaration
public string? ShippingAddressStreet { get; set; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

Type

Type of CarrierAccount to create.

Declaration
public override string? Type { get; set; }
Property Value
Type Description
System.Nullable<System.String>
Overrides
ACreate.Type

Methods

| Improve this Doc View Source

ToDictionary()

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>

of parameters.

Overrides
EasyPost.Parameters.BaseParameters<EasyPost.Models.API.CarrierAccount>.ToDictionary()

Implements

IBaseParameters
ICarrierAccountParameter
IParameter
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX