Show / Hide Table of Contents

Class RateService

Class representing a set of rate-related beta functionality.

Inheritance
System.Object
EasyPostService
RateService
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.Beta
Assembly: EasyPost.dll
Syntax
public class RateService : EasyPostService, IEasyPostService

Methods

| Improve this Doc View Source

RetrieveStatelessRates(Dictionary<String, Object>, CancellationToken)

Retrieve StatelessRates for a Shipment. Related API documentation.

Declaration
public async Task<List<StatelessRate>> RetrieveStatelessRates(Dictionary<string, object> parameters, CancellationToken cancellationToken = null)
Parameters
Type Name Description
Dictionary<System.String, System.Object> parameters

Data to retrieve the rates with.

CancellationToken cancellationToken

to use for the HTTP request.

Returns
Type Description
Task<List<StatelessRate>>

A list of StatelessRate objects.

| Improve this Doc View Source

RetrieveStatelessRates(Retrieve, CancellationToken)

Retrieve StatelessRates for a Shipment. Related API documentation.

Declaration
public async Task<List<StatelessRate>> RetrieveStatelessRates(Retrieve parameters, CancellationToken cancellationToken = null)
Parameters
Type Name Description
Retrieve parameters

Data to retrieve the rates with.

CancellationToken cancellationToken

to use for the HTTP request.

Returns
Type Description
Task<List<StatelessRate>>

A list of StatelessRate objects.

Implements

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