Show / Hide Table of Contents

Class Create

Parameters for API calls.

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

Properties

| Improve this Doc View Source

Amount

Value of the content to insure, in USD. Maximum $5,000.

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

Carrier

Carrier associated with the TrackingCode. Auto-derived from TrackingCode if not provided.

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

FromAddress

The origin Address (or Create parameters) for the shipment.

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

Reference

Reference name for the new Insurance.

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

ToAddress

The destination Address (or Create parameters) for the shipment.

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

TrackingCode

The tracking code associated with the non-EasyPost-purchased package to insure.

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

Implements

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