WallBee.ProductFee.Client 0.0.0.4

Clinet Hub provides programmatic access to several specific Wall Fee Api endpoints. This hub has eight different types of modules/services.
     This hub works as a medium of communication between client (customer of WallBee) and wall fee api and provides easy and standard point of connection.

Install-Package WallBee.ProductFee.Client -Version 0.0.0.4
dotnet add package WallBee.ProductFee.Client --version 0.0.0.4
<PackageReference Include="WallBee.ProductFee.Client" Version="0.0.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WallBee.ProductFee.Client --version 0.0.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Summary

Client Hub is under active development. Functionality and documentation may change without notice.

Client Hub provides programmatic access to several Wall Fee Api endpoints. This hub has eight different modules/services where each of them consists of one or more methods. All methods of every services return OperationResult<TResult>

OperationResult<TResult>

This class is a return type for all functions in each services.

  • Class Structure
    • public Exception Exception { get; set; }
      • Exception will be set if there is any exception occurred during the operation.
    • public HttpStatusCode Status { get; set; }
      • Status will be either 202 (Accepted) or 503 (ServiceUnavailable)
    • public TResult Result { get; set; }
      • Result will be set to required data values if operation is succeeded or set to either null or empty data type value if error occurred.

Client Hub Modules

Namespace :

  • Client.ProductFee.Hub
  • Initialize Parameters :
  • new Carrier (Guid applicationId, string authToken, HttpClient httpClient);
    • applicationId -> Application Id of the current client application. Value cannot be null or empty GUID.
    • authToken -> Authentication token to get access to carrier endpoints. Value cannot be null or empty string.
    • httpClient -> Object of HttpClient. Client has control over http client object. Value cannot be null.
  • Modules
    • Carrier
    • Dangerous Goods
    • Email
    • Fee
    • Fee Types
    • Price Line
    • Product
    • Return Services

Example : Return Services

Initialize

  • new ReturnService (Guid applicationId, string authToken, HttpClient httpClient)
    • applicationId -> Application Id of the current client application. Value cannot be null or empty GUID.
    • authToken -> Authentication token to get access to ReturnService endpoints. Value cannot be null or empty string.
    • httpClient -> Object of HttpClient. Client has control over http client object. Value cannot be null.

Available Methods

  • public async Task<OperationResult<IList<ReturnServiceVM>>> All ()
    • Gets all Return Service data
    • Returns : OperationResult<IList<ReturnServiceVM>>
      • OperationResult with list of ReturnService models
  • public async Task<OperationResult<ReturnServiceVM>> GetById (int id)
    • Gets ReturnService data from ReturnService Id provided
    • Params : id (int)
      • ReturnServiceId (primary key of ReturnService)
    • Returns : OperationResult<ReturnServiceVM>
      • OperationResult with ReturnService model

Summary

Client Hub is under active development. Functionality and documentation may change without notice.

Client Hub provides programmatic access to several Wall Fee Api endpoints. This hub has eight different modules/services where each of them consists of one or more methods. All methods of every services return OperationResult<TResult>

OperationResult<TResult>

This class is a return type for all functions in each services.

  • Class Structure
    • public Exception Exception { get; set; }
      • Exception will be set if there is any exception occurred during the operation.
    • public HttpStatusCode Status { get; set; }
      • Status will be either 202 (Accepted) or 503 (ServiceUnavailable)
    • public TResult Result { get; set; }
      • Result will be set to required data values if operation is succeeded or set to either null or empty data type value if error occurred.

Client Hub Modules

Namespace :

  • Client.ProductFee.Hub
  • Initialize Parameters :
  • new Carrier (Guid applicationId, string authToken, HttpClient httpClient);
    • applicationId -> Application Id of the current client application. Value cannot be null or empty GUID.
    • authToken -> Authentication token to get access to carrier endpoints. Value cannot be null or empty string.
    • httpClient -> Object of HttpClient. Client has control over http client object. Value cannot be null.
  • Modules
    • Carrier
    • Dangerous Goods
    • Email
    • Fee
    • Fee Types
    • Price Line
    • Product
    • Return Services

Example : Return Services

Initialize

  • new ReturnService (Guid applicationId, string authToken, HttpClient httpClient)
    • applicationId -> Application Id of the current client application. Value cannot be null or empty GUID.
    • authToken -> Authentication token to get access to ReturnService endpoints. Value cannot be null or empty string.
    • httpClient -> Object of HttpClient. Client has control over http client object. Value cannot be null.

Available Methods

  • public async Task<OperationResult<IList<ReturnServiceVM>>> All ()
    • Gets all Return Service data
    • Returns : OperationResult<IList<ReturnServiceVM>>
      • OperationResult with list of ReturnService models
  • public async Task<OperationResult<ReturnServiceVM>> GetById (int id)
    • Gets ReturnService data from ReturnService Id provided
    • Params : id (int)
      • ReturnServiceId (primary key of ReturnService)
    • Returns : OperationResult<ReturnServiceVM>
      • OperationResult with ReturnService model

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.0.0.4 158 12/17/2019
0.0.0.3 209 11/21/2019
0.0.0.2 206 9/5/2019
0.0.0.1 209 9/2/2019