Show / Hide Table of Contents

Class Buy

Parameters for API calls.

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

Initializes a new instance of the Buy class with the given carrier and service.

Declaration
public Buy(string withCarrier, string withService)
Parameters
Type Name Description
System.String withCarrier

The selected carrier.

System.String withService

The selected service level.

Properties

| Improve this Doc View Source

Carrier

Carrier for use to buy the Order.

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

Service

Service level to use to buy the Order.

Declaration
public string? Service { 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