<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 first 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; ClassMap::get(),
);
/**
 * Samples for Gettransstatus ServiceType
 */
$gettransstatus = new \ServiceType\Gettransstatus($options);
/**
 * Sample call for get_trans_status operation/method
 */
if ($gettransstatus-&gt;get_trans_status(new \StructType\Get_trans_status()) !== false) {
    print_r($gettransstatus-&gt;getResult());
} else {
    print_r($gettransstatus-&gt;getLastError());
}
/**
 * Samples for Validateairtimeaccount ServiceType
 */
$validateairtimeaccount = new \ServiceType\Validateairtimeaccount($options);
/**
 * Sample call for validate_airtime_account operation/method
 */
if ($validateairtimeaccount-&gt;validate_airtime_account(new \StructType\Validate_airtime_account()) !== false) {
    print_r($validateairtimeaccount-&gt;getResult());
} else {
    print_r($validateairtimeaccount-&gt;getLastError());
}
/**
 * Samples for Cancelvoucher ServiceType
 */
$cancelvoucher = new \ServiceType\Cancelvoucher($options);
/**
 * Sample call for cancel_voucher operation/method
 */
if ($cancelvoucher-&gt;cancel_voucher(new \StructType\Cancel_voucher()) !== false) {
    print_r($cancelvoucher-&gt;getResult());
} else {
    print_r($cancelvoucher-&gt;getLastError());
}
/**
 * Samples for Bankremitlog ServiceType
 */
$bankremitlog = new \ServiceType\Bankremitlog($options);
/**
 * Sample call for bank_remit_log operation/method
 */
if ($bankremitlog-&gt;bank_remit_log(new \StructType\Bank_remit_log()) !== false) {
    print_r($bankremitlog-&gt;getResult());
} else {
    print_r($bankremitlog-&gt;getLastError());
}
/**
 * Samples for Getpartners ServiceType
 */
$getpartners = new \ServiceType\Getpartners($options);
/**
 * Sample call for get_partners operation/method
 */
if ($getpartners-&gt;get_partners(new \StructType\Get_partners()) !== false) {
    print_r($getpartners-&gt;getResult());
} else {
    print_r($getpartners-&gt;getLastError());
}
/**
 * Samples for Getvoucherstatus ServiceType
 */
$getvoucherstatus = new \ServiceType\Getvoucherstatus($options);
/**
 * Sample call for get_voucher_status operation/method
 */
if ($getvoucherstatus-&gt;get_voucher_status(new \StructType\Get_voucher_status()) !== false) {
    print_r($getvoucherstatus-&gt;getResult());
} else {
    print_r($getvoucherstatus-&gt;getLastError());
}
/**
 * Samples for Canceltrans ServiceType
 */
$canceltrans = new \ServiceType\Canceltrans($options);
/**
 * Sample call for cancel_trans operation/method
 */
if ($canceltrans-&gt;cancel_trans(new \StructType\Cancel_trans()) !== false) {
    print_r($canceltrans-&gt;getResult());
} else {
    print_r($canceltrans-&gt;getLastError());
}
/**
 * Samples for Getbanks ServiceType
 */
$getbanks = new \ServiceType\Getbanks($options);
/**
 * Sample call for get_banks operation/method
 */
if ($getbanks-&gt;get_banks(new \StructType\Get_banks()) !== false) {
    print_r($getbanks-&gt;getResult());
} else {
    print_r($getbanks-&gt;getLastError());
}
/**
 * Samples for Mmtranslog ServiceType
 */
$mmtranslog = new \ServiceType\Mmtranslog($options);
/**
 * Sample call for mm_trans_log operation/method
 */
if ($mmtranslog-&gt;mm_trans_log(new \StructType\Mm_trans_log()) !== false) {
    print_r($mmtranslog-&gt;getResult());
} else {
    print_r($mmtranslog-&gt;getLastError());
}
/**
 * Samples for Transcom ServiceType
 */
$transcom = new \ServiceType\Transcom($options);
/**
 * Sample call for trans_com operation/method
 */
if ($transcom-&gt;trans_com(new \StructType\Trans_com()) !== false) {
    print_r($transcom-&gt;getResult());
} else {
    print_r($transcom-&gt;getLastError());
}
/**
 * Samples for Accountrequest ServiceType
 */
$accountrequest = new \ServiceType\Accountrequest($options);
/**
 * Sample call for account_request operation/method
 */
if ($accountrequest-&gt;account_request(new \StructType\Account_request()) !== false) {
    print_r($accountrequest-&gt;getResult());
} else {
    print_r($accountrequest-&gt;getLastError());
}
/**
 * Samples for Mmremitlog ServiceType
 */
$mmremitlog = new \ServiceType\Mmremitlog($options);
/**
 * Sample call for mm_remit_log operation/method
 */
if ($mmremitlog-&gt;mm_remit_log(new \StructType\Mm_remit_log()) !== false) {
    print_r($mmremitlog-&gt;getResult());
} else {
    print_r($mmremitlog-&gt;getLastError());
}
/**
 * Samples for Airtimetranslog ServiceType
 */
$airtimetranslog = new \ServiceType\Airtimetranslog($options);
/**
 * Sample call for airtime_trans_log operation/method
 */
if ($airtimetranslog-&gt;airtime_trans_log(new \StructType\Airtime_trans_log()) !== false) {
    print_r($airtimetranslog-&gt;getResult());
} else {
    print_r($airtimetranslog-&gt;getLastError());
}
/**
 * Samples for Validatebankaccount ServiceType
 */
$validatebankaccount = new \ServiceType\Validatebankaccount($options);
/**
 * Sample call for validate_bank_account operation/method
 */
if ($validatebankaccount-&gt;validate_bank_account(new \StructType\Validate_bank_account()) !== false) {
    print_r($validatebankaccount-&gt;getResult());
} else {
    print_r($validatebankaccount-&gt;getLastError());
}
/**
 * Samples for Getrate ServiceType
 */
$getrate = new \ServiceType\Getrate($options);
/**
 * Sample call for get_rate operation/method
 */
if ($getrate-&gt;get_rate(new \StructType\Get_rate()) !== false) {
    print_r($getrate-&gt;getResult());
} else {
    print_r($getrate-&gt;getLastError());
}
/**
 * Samples for Banktranslog ServiceType
 */
$banktranslog = new \ServiceType\Banktranslog($options);
/**
 * Sample call for bank_trans_log operation/method
 */
if ($banktranslog-&gt;bank_trans_log(new \StructType\Bank_trans_log()) !== false) {
    print_r($banktranslog-&gt;getResult());
} else {
    print_r($banktranslog-&gt;getLastError());
}
/**
 * Samples for Airtimetranscom ServiceType
 */
$airtimetranscom = new \ServiceType\Airtimetranscom($options);
/**
 * Sample call for airtime_trans_com operation/method
 */
if ($airtimetranscom-&gt;airtime_trans_com(new \StructType\Airtime_trans_com()) !== false) {
    print_r($airtimetranscom-&gt;getResult());
} else {
    print_r($airtimetranscom-&gt;getLastError());
}
</pre></body></html>