Show / Hide Table of Contents

Class Create

Parameters for API calls.

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

Properties

| Improve this Doc View Source

BuyerAddress

The EasyPost.Parameters.Address (or Create parameters) of the buyer for the new Order. Defaults to ToAddress if not provided.

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

CarrierAccounts

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

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

FromAddress

The origin Address (or Create parameters) for the new Order.

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

Reference

Reference name for the new Order.

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

ReturnAddress

The return Address (or Create parameters) for the new Order. Defaults to FromAddress if not provided.

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

Service

One-call-buy an Order by specifying a service.

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

Shipments

List of Shipments (or Create parameter sets) for the new Order.

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

ToAddress

The destination Address (or Create parameters) for the new Order.

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

Implements

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