Skip to content

Adds service contracts to postnl/postnl-magento2

Notifications You must be signed in to change notification settings

YouweGit/magento2-postnl-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vendic/magento2-postnl-api Integration Test

This module adds service contracts to postnl/postnl-magento2, since the original module works through controllers only.

This allows you to use the PostNL API in your own Magento classes, without using a request. We use it in the PostNL module for the Hyvä checkout.

Installation

composer require vendic/magento2-postnl-api

Currently supported service contracts

Locations

Service contract: \Vendic\PostnlApi\Api\LocationsInterface

Get's the nearest PostNL locations based on a given address.

Save

Serivce contract: \Vendic\PostnlApi\Api\SaveInterface

Saves/initalizes a shipment into the Magento database.

Timeframes (WIP)

Service contract: \Vendic\PostnlApi\Api\TimeframesInterface

Get's the available delivery timeframes for a given address.

About

Adds service contracts to postnl/postnl-magento2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%