Show / Hide Table of Contents

Class SmartRateService

Class representing a set of SmartRate-related functionality.

Inheritance
System.Object
EasyPostService
SmartRateService
Implements
IEasyPostService
IDisposable
Inherited Members
EasyPostService.Client
EasyPostService.RequestAsync<T>(Method, String, CancellationToken, Nullable<Dictionary<String, Object>>, Nullable<String>, ApiVersion)
EasyPostService.RequestAsync(Method, String, CancellationToken, Nullable<Dictionary<String, Object>>, ApiVersion)
EasyPostService.Dispose()
EasyPostService.Dispose(Boolean)
Namespace: EasyPost.Services
Assembly: EasyPost.dll
Syntax
public class SmartRateService : EasyPostService, IEasyPostService

Methods

| Improve this Doc View Source

EstimateDeliveryDate(EstimateDeliveryDateForZipPair, CancellationToken)

Retrieve the estimated delivery date of each carrier-service level combination via the Smart Deliver By API, based on a specific ship date and origin-destination postal code pair. Unlike the RetrieveEstimatedDeliveryDate(String, String, CancellationToken) method, this method does not require a Shipment ID.

Declaration
public async Task<EstimateDeliveryDateForZipPairResult> EstimateDeliveryDate(EstimateDeliveryDateForZipPair parameters, CancellationToken cancellationToken = null)
Parameters
Type Name Description
EstimateDeliveryDateForZipPair parameters

The EstimateDeliveryDateForZipPair parameters to include on the API call.

CancellationToken cancellationToken

to use for the HTTP request.

Returns
Type Description
Task<EstimateDeliveryDateForZipPairResult>

An EstimateDeliveryDateForZipPairResult object.

| Improve this Doc View Source

RecommendShipDate(RecommendShipDateForZipPair, CancellationToken)

Retrieve a recommended ship date for each carrier-service level combination via the Smart Deliver On API, based on a specific desired delivery date and origin-destination postal code pair. Unlike the RecommendShipDate(String, String, CancellationToken) method, this method does not require a Shipment ID.

Declaration
public async Task<RecommendShipDateForZipPairResult> RecommendShipDate(RecommendShipDateForZipPair parameters, CancellationToken cancellationToken = null)
Parameters
Type Name Description
RecommendShipDateForZipPair parameters

The RecommendShipDateForZipPair parameters to include on the API call.

CancellationToken cancellationToken

to use for the HTTP request.

Returns
Type Description
Task<RecommendShipDateForZipPairResult>

A RecommendShipDateForZipPairResult object.

Implements

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