<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;?php
/**
 * This file aims to show you how to use this generated package.
 * In addition, the goal is to show which methods are available and the fist needed parameter(s)
 * You have to use an associative array such as:
 * - the key must be a constant beginning with WSDL_ from AbstractSoapClientbase class each generated ServiceType class extends this class
 * - the value must be the corresponding key value (each option matches a {@link http://www.php.net/manual/en/soapclient.soapclient.php} option)
 * $options = array(
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL =&gt; 'main.wsdl',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_TRACE =&gt; true,
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_LOGIN =&gt; 'you_secret_login',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_PASSWORD =&gt; 'you_secret_password',
 * );
 * etc....
 */
require_once __DIR__ . '/vendor/autoload.php';
/**
 * Minimal options
 */
$options = array(
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL =&gt; 'main.wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; \GraphikDimensions\ClassMap::get(),
);
/**
 * Samples for Get ServiceType
 */
$get = new \GraphikDimensions\ServiceType\Get($options);
/**
 * Sample call for getOrderStatus operation/method
 */
if ($get-&gt;getOrderStatus(new \GraphikDimensions\StructType\GetOrderStatus()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getOrderByCustomerName operation/method
 */
if ($get-&gt;getOrderByCustomerName(new \GraphikDimensions\StructType\GetOrderByCustomerName()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getOrderStatusHistory operation/method
 */
if ($get-&gt;getOrderStatusHistory(new \GraphikDimensions\StructType\GetOrderStatusHistory()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Samples for Introduce ServiceType
 */
$introduce = new \GraphikDimensions\ServiceType\Introduce($options);
/**
 * Sample call for introduceExternalObjects operation/method
 */
if ($introduce-&gt;introduceExternalObjects(new \GraphikDimensions\StructType\IntroduceExternalObjects()) !== false) {
    print_r($introduce-&gt;getResult());
} else {
    print_r($introduce-&gt;getLastError());
}
/**
 * Samples for Process ServiceType
 */
$process = new \GraphikDimensions\ServiceType\Process($options);
/**
 * Sample call for processOrder operation/method
 */
if ($process-&gt;processOrder(new \GraphikDimensions\StructType\ProcessOrder()) !== false) {
    print_r($process-&gt;getResult());
} else {
    print_r($process-&gt;getLastError());
}
/**
 * Sample call for processCoupon operation/method
 */
if ($process-&gt;processCoupon(new \GraphikDimensions\StructType\ProcessCoupon()) !== false) {
    print_r($process-&gt;getResult());
} else {
    print_r($process-&gt;getLastError());
}
/**
 * Sample call for processFramerOrder operation/method
 */
if ($process-&gt;processFramerOrder(new \GraphikDimensions\StructType\ProcessFramerOrder()) !== false) {
    print_r($process-&gt;getResult());
} else {
    print_r($process-&gt;getLastError());
}
/**
 * Samples for Prepare ServiceType
 */
$prepare = new \GraphikDimensions\ServiceType\Prepare($options);
/**
 * Sample call for prepareOrder operation/method
 */
if ($prepare-&gt;prepareOrder(new \GraphikDimensions\StructType\PrepareOrder()) !== false) {
    print_r($prepare-&gt;getResult());
} else {
    print_r($prepare-&gt;getLastError());
}
/**
 * Samples for Add ServiceType
 */
$add = new \GraphikDimensions\ServiceType\Add($options);
/**
 * Sample call for addProductToPackage operation/method
 */
if ($add-&gt;addProductToPackage(new \GraphikDimensions\StructType\AddProductToPackage()) !== false) {
    print_r($add-&gt;getResult());
} else {
    print_r($add-&gt;getLastError());
}
/**
 * Samples for Set ServiceType
 */
$set = new \GraphikDimensions\ServiceType\Set($options);
/**
 * Sample call for setOrderStatus operation/method
 */
if ($set-&gt;setOrderStatus(new \GraphikDimensions\StructType\SetOrderStatus()) !== false) {
    print_r($set-&gt;getResult());
} else {
    print_r($set-&gt;getLastError());
}
/**
 * Samples for Validate ServiceType
 */
$validate = new \GraphikDimensions\ServiceType\Validate($options);
/**
 * Sample call for validatePaymentMethods operation/method
 */
if ($validate-&gt;validatePaymentMethods(new \GraphikDimensions\StructType\ValidatePaymentMethods()) !== false) {
    print_r($validate-&gt;getResult());
} else {
    print_r($validate-&gt;getLastError());
}
/**
 * Samples for Create ServiceType
 */
$create = new \GraphikDimensions\ServiceType\Create($options);
/**
 * Sample call for createPackage operation/method
 */
if ($create-&gt;createPackage(new \GraphikDimensions\StructType\CreatePackage()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for createPrePackage operation/method
 */
if ($create-&gt;createPrePackage(new \GraphikDimensions\StructType\CreatePrePackage()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Samples for Remove ServiceType
 */
$remove = new \GraphikDimensions\ServiceType\Remove($options);
/**
 * Sample call for removeProductFromPackage operation/method
 */
if ($remove-&gt;removeProductFromPackage(new \GraphikDimensions\StructType\RemoveProductFromPackage()) !== false) {
    print_r($remove-&gt;getResult());
} else {
    print_r($remove-&gt;getLastError());
}
</pre></body></html>