Show / Hide Table of Contents

Class LumaService

Class representing a set of luma-related functionality.

Inheritance
System.Object
EasyPostService
LumaService
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 LumaService : EasyPostService, IEasyPostService

Methods

| Improve this Doc View Source

GetPromise(Dictionary<String, Object>, CancellationToken)

Get service recommendations from Luma that meet the criteria of your ruleset.

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

Dictionary of Luma parameters.

CancellationToken cancellationToken

to use for the HTTP request.

Returns
Type Description
Task<LumaInfo>

A LumaInfo object.

| Improve this Doc View Source

GetPromise(GetPromise, CancellationToken)

Get service recommendations from Luma that meet the criteria of your ruleset.

Declaration
public async Task<LumaInfo> GetPromise(GetPromise parameters, CancellationToken cancellationToken = null)
Parameters
Type Name Description
GetPromise parameters

Luma parameter set.

CancellationToken cancellationToken

to use for the HTTP request.

Returns
Type Description
Task<LumaInfo>

A LumaInfo object.

Implements

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