Show / Hide Table of Contents

Class RateService

Class representing a set of rate-related 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
Assembly: EasyPost.dll
Syntax
public class RateService : EasyPostService, IEasyPostService

Methods

| Improve this Doc View Source

Retrieve(String, CancellationToken)

Retrieve a Rate.

Declaration
public async Task<Rate> Retrieve(string id, CancellationToken cancellationToken = null)
Parameters
Type Name Description
System.String id

The ID of the Rate to retrieve.

CancellationToken cancellationToken

to use for the HTTP request.

Returns
Type Description
Task<Rate>

The retrieved Rate.

Implements

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