Show / Hide Table of Contents

Class Create

Parameters for API calls.

Inheritance
System.Object
BaseParameters<Shipment>
Create
Implements
IBaseParameters
IShipmentParameter
IParameter
Inherited Members
BaseParameters<Shipment>.MatchFunction
BaseParameters<Shipment>.Matches(Shipment)
BaseParameters<Shipment>.ToDictionary()
BaseParameters<Shipment>.ToSubDictionary(Type)
Namespace: EasyPost.Parameters.Shipment
Assembly: EasyPost.dll
Syntax
public class Create : BaseParameters<Shipment>, IBaseParameters, IShipmentParameter, IParameter

Properties

| Improve this Doc View Source

BuyerAddress

The buyer Address (or a Create parameter set) for the new Shipment.

Declaration
public IAddressParameter BuyerAddress { get; set; }
Property Value
Type Description
IAddressParameter
| Improve this Doc View Source

Carrier

The carrier for the new Shipment.

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

CarrierAccountIds

IDs of the CarrierAccounts to use to create the new Shipment. The provided CarrierAccounts must exist prior to making the API call.

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

CustomsInfo

CustomsInfo (or a Create parameter set) for the new Shipment.

Declaration
public ICustomsInfoParameter CustomsInfo { get; set; }
Property Value
Type Description
ICustomsInfoParameter
| Improve this Doc View Source

FromAddress

The origin Address (or a Create parameter set) for the new Shipment.

Declaration
public IAddressParameter FromAddress { get; set; }
Property Value
Type Description
IAddressParameter
| Improve this Doc View Source

Insurance

An insurance value for the new Shipment.

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

IsReturn

Whether the new Shipment is a return.

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

Options

Additional Options for the new Shipment.

Declaration
public Options Options { get; set; }
Property Value
Type Description
Options
| Improve this Doc View Source

Parcel

The physical Parcel (or Create parameter set) being transported in the new Shipment.

Declaration
public IParcelParameter Parcel { get; set; }
Property Value
Type Description
IParcelParameter
| Improve this Doc View Source

Reference

Reference name for the new Shipment.

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

ReturnAddress

The return Address (or a Create parameter set) for the new Shipment.

Declaration
public IAddressParameter ReturnAddress { get; set; }
Property Value
Type Description
IAddressParameter
| Improve this Doc View Source

Service

The service level for the new Shipment.

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

TaxIdentifiers

A list of TaxIdentifiers (or Create parameter sets) for the new Shipment.

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

ToAddress

The destination Address (or a Create parameter set) for the new Shipment.

Declaration
public IAddressParameter ToAddress { get; set; }
Property Value
Type Description
IAddressParameter

Implements

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