Show / Hide Table of Contents

Class CustomsItemService

Class representing a set of customs item-related functionality.

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

Methods

| Improve this Doc View Source

Create(Dictionary<String, Object>, CancellationToken)

Create a CustomsItem. Related API documentation.

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

Data to use to create the CustomsItem.

CancellationToken cancellationToken

to use for the HTTP request.

Returns
Type Description
Task<CustomsItem>

A CustomsItem object.

| Improve this Doc View Source

Create(Create, CancellationToken)

Create a CustomsItem. Related API documentation.

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

Data to use to create the CustomsItem.

CancellationToken cancellationToken

to use for the HTTP request.

Returns
Type Description
Task<CustomsItem>

A CustomsItem object.

| Improve this Doc View Source

Retrieve(String, CancellationToken)

Retrieve a CustomsItem. Related API documentation.

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

The ID of the CustomsItem to retrieve.

CancellationToken cancellationToken

to use for the HTTP request.

Returns
Type Description
Task<CustomsItem>

A CustomsItem object.

Implements

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