Class SmartRate
Class representing an EasyPost SmartRate.
Implements
Inherited Members
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class SmartRate : EasyPostObject, IEasyPostObject
Properties
| Improve this Doc View SourceBillingType
The billing type for this rate.
Declaration
public string? BillingType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Carrier
The name of the carrier for this rate.
Declaration
public string? Carrier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
CarrierAccountId
The ID of the CarrierAccount used to generate this rate.
Declaration
public string? CarrierAccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Currency
The currency for the Price of this rate.
Declaration
public string? Currency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
DeliveryDate
The delivery date for this rate.
Declaration
public DateTime? DeliveryDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DateTime> |
DeliveryDateGuaranteed
Whether the delivery window is guaranteed for this rate.
Declaration
public bool? DeliveryDateGuaranteed { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
DeliveryDays
The number of days until delivery for this rate.
Declaration
public int? DeliveryDays { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ListCurrency
The currency for the ListRate.
Declaration
public string? ListCurrency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
ListRate
The non-negotiated rate given for having an account with the carrier.
Declaration
public string? ListRate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Price
The actual monetary amount charged by the carrier. Alias for Rate.
Declaration
public double? Price { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
Rate
The actual monetary amount charged by the carrier.
Declaration
public double? Rate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
RetailCurrency
The currency for the RetailRate.
Declaration
public string? RetailCurrency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
RetailRate
The in-store rate given with no account.
Declaration
public string? RetailRate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Service
The service level for the Carrier of this rate.
Declaration
public string? Service { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
ShipmentId
The ID of the Shipment associated with this rate.
Declaration
public string? ShipmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
TimeInTransit
Details about estimated time in transit for this rate.
Declaration
public TimeInTransit TimeInTransit { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeInTransit |