Class LumaService
Class representing a set of luma-related functionality.
Inherited Members
Namespace: EasyPost.Services
Assembly: EasyPost.dll
Syntax
public class LumaService : EasyPostService, IEasyPostService
  Methods
| Improve this Doc View SourceGetPromise(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 | 
Returns
| Type | Description | 
|---|---|
| Task<LumaInfo> | A LumaInfo object.  | 
      
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 | 
Returns
| Type | Description | 
|---|---|
| Task<LumaInfo> | A LumaInfo object.  | 
      
Implements
      IDisposable