Class Buy
Parameters for
Implements
Inherited Members
Namespace: EasyPost.Parameters.Order
Assembly: EasyPost.dll
Syntax
public class Buy : BaseParameters<Order>, IBaseParameters
Constructors
| Improve this Doc View SourceBuy(Rate)
Declaration
public Buy(Rate rate)
Parameters
| Type | Name | Description |
|---|---|---|
| Rate | rate | The selected Rate. |
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 SourceCarrier
Carrier for use to buy the Order.
Declaration
public string? Carrier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Service
Service level to use to buy the Order.
Declaration
public string? Service { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |