Bitzsoft.Integrations.Express 1.0.0-alpha.8

This is a prerelease version of Bitzsoft.Integrations.Express.
dotnet add package Bitzsoft.Integrations.Express --version 1.0.0-alpha.8
                    
NuGet\Install-Package Bitzsoft.Integrations.Express -Version 1.0.0-alpha.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bitzsoft.Integrations.Express" Version="1.0.0-alpha.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.Express" Version="1.0.0-alpha.8" />
                    
Directory.Packages.props
<PackageReference Include="Bitzsoft.Integrations.Express" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bitzsoft.Integrations.Express --version 1.0.0-alpha.8
                    
#r "nuget: Bitzsoft.Integrations.Express, 1.0.0-alpha.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bitzsoft.Integrations.Express@1.0.0-alpha.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bitzsoft.Integrations.Express&version=1.0.0-alpha.8&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Bitzsoft.Integrations.Express&version=1.0.0-alpha.8&prerelease
                    
Install as a Cake Tool

Bitzsoft.Integrations.Express

快递物流服务抽象层,统一接口定义与基础模型。

功能特性

  • 统一的 IExpressProvider 接口,屏蔽各快递供应商 API 差异
  • 独立的 ISfLegalDocumentProvider 接口,面向顺丰函证通法律函件寄递场景
  • 覆盖物流轨迹查询、订阅推送、寄件下单、运费查询、电子面单、单号识别等核心操作
  • 统一快递公司编码枚举(ExpressCarrierCode),各供应商内部维护映射关系
  • 不可变模型设计,所有属性使用 init 访问器

安装

dotnet add package Bitzsoft.Integrations.Express
<PackageReference Include="Bitzsoft.Integrations.Express" Version="*" />

注册服务

本包为抽象层,不包含具体供应商配置。请查阅各实现包的文档或直接使用聚合包 Bitzsoft.Integrations.Express.All

核心接口

IExpressProvider — 通用物流操作

方法 说明
TrackAsync 实时查询运单物流轨迹
BatchTrackAsync 批量查询多个运单
SubscribeAsync 订阅运单号,状态变更时推送
CreateShipmentAsync 创建寄件订单
CancelShipmentAsync 取消寄件订单
GetQuoteAsync 查询预估运费和送达时效
GenerateWaybillAsync 生成电子面单
DetectCarrierAsync 根据单号自动识别快递公司

ISfLegalDocumentProvider — 顺丰函证通

方法 说明
CreateDocumentShipmentAsync 创建法律函件寄递任务
TrackDocumentAsync 查询法律函件寄递状态
ConfirmReceiptAsync 确认函件签收
GetFullRecordAsync 获取函件寄递全流程记录

核心类型一览

类型 说明
ExpressTrackingInfo 物流轨迹查询结果
ExpressTraceStep 单条物流轨迹
ExpressShipmentOrder 寄件下单请求
ExpressShipmentResult 寄件下单结果
ExpressQuoteRequest 运费查询请求
ExpressQuoteResult 运费查询结果
ExpressCarrierInfo 快递公司识别结果
ExpressWaybillResult 电子面单结果
ExpressSubscriptionResult 订阅结果
ExpressContact 快递联系人信息
LegalDocumentShipmentRequest 法律函件寄递请求
LegalDocumentShipmentResult 法律函件寄递结果
LegalDocumentTrackingResult 法律函件追踪结果
LegalDocumentFullRecord 法律函件全流程记录
ExpressTrackingState 物流状态枚举
ExpressCarrierCode 统一快递公司编码枚举
LegalDocumentStatus 法律函件状态枚举
ExpressException 快递服务异常

依赖

  • 无外部依赖

相关包

包名 说明
Bitzsoft.Integrations.Express.Kdniao 快递鸟实现
Bitzsoft.Integrations.Express.Kuaidi100 快递100 实现
Bitzsoft.Integrations.Express.SfLegal 顺丰函证通实现
Bitzsoft.Integrations.Express.ChinaPost 中国邮政实现
Bitzsoft.Integrations.Express.Cainiao 菜鸟物流实现
Bitzsoft.Integrations.Express.Zto 中通快递实现
Bitzsoft.Integrations.Express.ShowApi 万维易源实现
Bitzsoft.Integrations.Express.All 聚合包
Bitzsoft.Integrations.Compatibility 基础工具库
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net5.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Bitzsoft.Integrations.Express:

Package Downloads
Bitzsoft.Integrations.Express.Kdniao

快递鸟物流服务实现

Bitzsoft.Integrations.Express.Cainiao

菜鸟物流服务实现

Bitzsoft.Integrations.Express.ShowApi

万维易源快递物流查询服务实现

Bitzsoft.Integrations.Express.Kuaidi100

快递100物流服务实现

Bitzsoft.Integrations.Express.ChinaPost

中国邮政物流服务实现

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-alpha.8 69 7/1/2026
1.0.0-alpha.7 89 6/16/2026
1.0.0-alpha.6 92 6/16/2026
1.0.0-alpha.5 88 6/14/2026
1.0.0-alpha.3 83 6/7/2026