Show / Hide Table of Contents

Class Buy

Parameters for API calls.

Inheritance
System.Object
BaseParameters<Shipment>
Buy
Implements
IBaseParameters
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 Buy : BaseParameters<Shipment>, IBaseParameters

Constructors

| Improve this Doc View Source

Buy(Rate)

Initializes a new instance of the Buy class with the given Rate.

Declaration
public Buy(Rate rate)
Parameters
Type Name Description
Rate rate

The selected Rate.

| Improve this Doc View Source

Buy(String)

Initializes a new instance of the Buy class with the given Rate ID.

Declaration
public Buy(string rateId)
Parameters
Type Name Description
System.String rateId

The selected Rate ID.

Properties

| Improve this Doc View Source

EndShipperId

The ID of the EndShipper to buy the Shipment with. Optional.

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

InsuranceValue

A value to insure the Shipment for. Optional.

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

RateId

The ID of the Rate to purchase a Shipment with.

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

Implements

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