Class Create
Parameters for
Inherited Members
Namespace: EasyPost.Parameters.CustomsInfo
Assembly: EasyPost.dll
Syntax
public class Create : BaseParameters<CustomsInfo>, IBaseParameters, ICustomsInfoParameter, IParameter
Properties
| Improve this Doc View SourceContentsExplanation
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> |
ContentsType
Type of contents for the shipment.
Declaration
public string? ContentsType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CustomsCertify
Whether the new CustomsInfo should be electronically certified.
Declaration
public bool? CustomsCertify { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
CustomsItems
List of CustomsItems (or Create parameters) being shipped.
Declaration
public List<ICustomsItemParameter>? CustomsItems { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<List<ICustomsItemParameter>> |
CustomsSigner
The customs signer. Required if CustomsCertify is true.
Declaration
public string? CustomsSigner { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Declaration
Customs declaration message, available for eligible carriers.
Declaration
public string? Declaration { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
EelPfc
"EEL" or "PFC" for the new CustomsInfo.
Declaration
public string? EelPfc { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Id
ID of the CustomsInfo to reference in this request.
ID is not used when calling
Declaration
public string? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
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> |
RestrictionComments
Restriction comments.
Required if RestrictionType is not "none".
Declaration
public string? RestrictionComments { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
RestrictionType
Restrictions on the package(s).
Declaration
public string? RestrictionType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |