vendic / magento2-postnl-api
该包的最新版本(1.1.2)没有可用的许可信息。
向tig/postnl模块添加Magento 2服务方法。
1.1.2
2024-09-04 07:15 UTC
Requires
- php: ~7.4|~8.1
- magento/magento-composer-installer: *
- tig/postnl-magento2: >=1.12 <1.17
Requires (Dev)
This package is auto-updated.
Last update: 2024-09-04 07:15:39 UTC
README
本模块向服务合同添加了postnl/postnl-magento2,因为原始模块只通过控制器工作。
这允许您在自定义的Magento类中使用PostNL API,而无需使用请求。我们在PostNL模块的Hyvä checkout中使用它。
安装
composer require vendic/magento2-postnl-api
当前支持的服务合同
位置
服务合同:\Vendic\PostnlApi\Api\LocationsInterface
根据给定的地址获取最近的PostNL位置。
保存
服务合同:\Vendic\PostnlApi\Api\SaveInterface
将/初始化装运到Magento数据库中。
时间框架(进行中)
服务合同:\Vendic\PostnlApi\Api\TimeframesInterface
获取给定地址的可用配送时间框架。