Show / Hide Table of Contents

Class Create

Parameters for API calls.

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

Properties

| Improve this Doc View Source

ContentsExplanation

Human-readable description of the shipment contents. Required for certain carriers or if ContentsType is "other".

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

ContentsType

Type of contents for the shipment.

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

CustomsCertify

Whether the new CustomsInfo should be electronically certified.

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

CustomsItems

List of CustomsItems (or Create parameters) being shipped.

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

CustomsSigner

The customs signer. Required if CustomsCertify is true.

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

Declaration

Customs declaration message, available for eligible carriers.

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

EelPfc

"EEL" or "PFC" for the new CustomsInfo.

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

Id

ID of the CustomsInfo to reference in this request. ID is not used when calling , but is used when using this parameter set as a nested parameter set in other API calls.

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

NonDeliveryOption

What to do if the package(s) cannot be delivered. Defaults to "return".

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

RestrictionComments

Restriction comments. Required if RestrictionType is not "none".

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

RestrictionType

Restrictions on the package(s).

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

Implements

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