<?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 => 'https://api-devapi01.brinkpos.net/Settings.svc?wsdl',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_TRACE => true,
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_LOGIN => 'you_secret_login',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_PASSWORD => 'you_secret_password',
 * );
 * etc....
 */
require_once __DIR__ . '/vendor/autoload.php';
/**
 * Minimal options
 */
$options = array(
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL => 'https://api-devapi01.brinkpos.net/Settings.svc?wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP => ClassMap::get(),
);
/**
 * Samples for Get ServiceType
 */
$get = new \ServiceType\Get($options);
/**
 * Sample call for GetCashDrawers operation/method
 */
if ($get->GetCashDrawers(new \StructType\GetCashDrawers()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDayParts operation/method
 */
if ($get->GetDayParts(new \StructType\GetDayParts()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDestinations operation/method
 */
if ($get->GetDestinations(new \StructType\GetDestinations()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDiscounts operation/method
 */
if ($get->GetDiscounts(new \StructType\GetDiscounts()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetEmployees operation/method
 */
if ($get->GetEmployees(new \StructType\GetEmployees()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetItemGroups operation/method
 */
if ($get->GetItemGroups(new \StructType\GetItemGroups()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetItems operation/method
 */
if ($get->GetItems(new \StructType\GetItems()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetJobs operation/method
 */
if ($get->GetJobs(new \StructType\GetJobs()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetLoyaltyRewards operation/method
 */
if ($get->GetLoyaltyRewards(new \StructType\GetLoyaltyRewards()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetModifierCodes operation/method
 */
if ($get->GetModifierCodes(new \StructType\GetModifierCodes()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetModifierGroups operation/method
 */
if ($get->GetModifierGroups(new \StructType\GetModifierGroups()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOptions operation/method
 */
if ($get->GetOptions(new \StructType\GetOptions()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPettyAccounts operation/method
 */
if ($get->GetPettyAccounts(new \StructType\GetPettyAccounts()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPromotions operation/method
 */
if ($get->GetPromotions(new \StructType\GetPromotions()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetRegisters operation/method
 */
if ($get->GetRegisters(new \StructType\GetRegisters()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetRevenueCenters operation/method
 */
if ($get->GetRevenueCenters(new \StructType\GetRevenueCenters()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetSections operation/method
 */
if ($get->GetSections(new \StructType\GetSections()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetSurcharges operation/method
 */
if ($get->GetSurcharges(new \StructType\GetSurcharges()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetTaxes operation/method
 */
if ($get->GetTaxes(new \StructType\GetTaxes()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetTenders operation/method
 */
if ($get->GetTenders(new \StructType\GetTenders()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetVoidReasons operation/method
 */
if ($get->GetVoidReasons(new \StructType\GetVoidReasons()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
