distrimedia/soap-client

There is no license information available for the latest version (v1.0.3) of this package.

PHP DistriMedia Soap Client

Installs: 3 039

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:php-module

v1.0.3 2021-10-28 07:26 UTC

This package is auto-updated.

Last update: 2024-04-24 20:23:16 UTC


README

NOTICE

IF YOU WISH TO MAKE USE OF THIS PACKAGE , PLEASE ALWAYS CONTACT DISTRIMEDIA IN ADVANCE PLEASE

Introduction

This module provides PHP Services for the following SOAP calls:

CreateOrder

  1. Create an Order Service Object DistriMedia\SoapClient\Service\Order
  2. Call the function createOrder with the following parameters
    1. Order (DistriMedia\SoapClient\Struct\Order)

Request Order Status

  1. Create an Order Service Object DistriMedia\SoapClient\Service\Order
  2. Call the function changeOrderStatusby{$param} with the following parameters
    1. OrderID (string) | OrderNumber (string) | OrderReference
    2. Status (Startorder, Cancel)

Change Order Status

  1. Create an Order Service Object DistriMedia\SoapClient\Service\Order
  2. Call the function changeOrderStatus{$param} with the following parameters
    1. OrderID (string) | OrderNumber (string) | OrderReference
    2. Status (Startorder, Cancel)

Change Customer

  1. Create a Customer Service Object DistriMedia\SoapClient\Service\Customer
  2. Call the function changeCustomer{$param} with the following parameters
    1. Customer (DistriMedia\SoapClient\Struct\Customer)
    2. OrderID (string)

RequestInventory

  1. Create an Inventory Service Object DistriMedia\SoapClient\Service\Inventory
  2. Call the function changeOrderStatus{$param} with the following parameters
    1. OrderID (string) | OrderNumber (string) | OrderReference
    2. Status (Startorder, Cancel)

Authors

Testing

  1. copy .env.dist to .env and fill in your credentials.

  2. Execute docker-compose run phpunit to run the unit tests