Skip to content

v3.0.0

Compare
Choose a tag to compare
@RichardPerdaan RichardPerdaan released this 21 Oct 14:08
· 453 commits to develop since this release
d65d684

Improvement:

  • #150 Track & Trace functionality
    You kan use $consignment->getBarcodeUrl(3SMYPA123456789, '2231JE', 'NL');
  • fc5fbbd Get consignment by name
  • #158 Set default weight for DPD

Fix:

  • Get consignment id's when multicollo shipments are created

Feature:

  • Multi-carrier:
    Use ConsignmentFactory::createByCarrierId(PostNLConsignment::CARRIER_ID) or
    ConsignmentFactory::createByCarrierName(PostNLConsignment::CARRIER_NAME) to retrieve the consignment with the correct carrier:

    • PostNL (For MyParcelNL and Flespakket)
      class: PostNLConsignment
    • bpost (For MyParcelBE)
      class: BpostConsignment
    • DPD (For MyParcelBE)
      class: DPDConsignment
  • You can use adapters to receive the delivery-options anywhere in your code in a consistent way.

Deprecated:

  • setDeliveryDateFromCheckout() and setPickupAddressFromCheckout() you can use an adapter for this.