markosirec / gls-italy-sdk

An unofficial PHP SDK for the GLS Italy webservice
13 stars 11 forks source link

Added progressiveId for multi-parcel shipments #6

Closed damianostevanato closed 2 years ago

damianostevanato commented 2 years ago

From gls documentation , when creating a multi-parcel shipments its required to specify an auto-increment id, i've added a setter and getter method to add this property so i can use this package to create multi-parcel shipments so now it can be setted like this

$parcel->setProgressiveId(random_int(100000000,999999999));

and this should be set for every parcel created

damianostevanato commented 2 years ago

im closing this pull request because i need to do major updates