<?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://pp-svc-test.paylesspower.com/WebAccountService.asmx?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://pp-svc-test.paylesspower.com/WebAccountService.asmx?WSDL',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP => \SGCIS\ClassMap::get(),
);
/**
 * Samples for Get ServiceType
 */
$get = new \SGCIS\Service\Get($options);
/**
 * Sample call for GetAccountShallowCopy operation/method
 */
if ($get->GetAccountShallowCopy(new \SGCIS\Struct\GetAccountShallowCopy()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetUserAgentCodeByAgentID operation/method
 */
if ($get->GetUserAgentCodeByAgentID(new \SGCIS\Struct\GetUserAgentCodeByAgentID()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAccountDocuments operation/method
 */
if ($get->GetAccountDocuments(new \SGCIS\Struct\GetAccountDocuments()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAccountDocumentTypes operation/method
 */
if ($get->GetAccountDocumentTypes(new \SGCIS\Struct\GetAccountDocumentTypes()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAccountIVR operation/method
 */
if ($get->GetAccountIVR(new \SGCIS\Struct\GetAccountIVR()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetProductsByZipCode operation/method
 */
if ($get->GetProductsByZipCode(new \SGCIS\Struct\GetProductsByZipCode()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetProducts operation/method
 */
if ($get->GetProducts(new \SGCIS\Struct\GetProducts()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDistributionPoints operation/method
 */
if ($get->GetDistributionPoints(new \SGCIS\Struct\GetDistributionPoints()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAccountActivityMobile operation/method
 */
if ($get->GetAccountActivityMobile(new \SGCIS\Struct\GetAccountActivityMobile()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAutoPayMetaData operation/method
 */
if ($get->GetAutoPayMetaData(new \SGCIS\Struct\GetAutoPayMetaData()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetProductDeepCopy operation/method
 */
if ($get->GetProductDeepCopy(new \SGCIS\Struct\GetProductDeepCopy()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPaymentLocations operation/method
 */
if ($get->GetPaymentLocations(new \SGCIS\Struct\GetPaymentLocations()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAccountActivity operation/method
 */
if ($get->GetAccountActivity(new \SGCIS\Struct\GetAccountActivity()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAccount operation/method
 */
if ($get->GetAccount(new \SGCIS\Struct\GetAccount()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetUspAccount operation/method
 */
if ($get->GetUspAccount(new \SGCIS\Struct\GetUspAccount()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetFees operation/method
 */
if ($get->GetFees(new \SGCIS\Struct\GetFees()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPaymentArrangements operation/method
 */
if ($get->GetPaymentArrangements(new \SGCIS\Struct\GetPaymentArrangements()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPaymentArrangement operation/method
 */
if ($get->GetPaymentArrangement(new \SGCIS\Struct\GetPaymentArrangement()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPaymentAccounts operation/method
 */
if ($get->GetPaymentAccounts(new \SGCIS\Struct\GetPaymentAccounts()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAccountAutopayment operation/method
 */
if ($get->GetAccountAutopayment(new \SGCIS\Struct\GetAccountAutopayment()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDataLists operation/method
 */
if ($get->GetDataLists(new \SGCIS\Struct\GetDataLists()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDataList operation/method
 */
if ($get->GetDataList(new \SGCIS\Struct\GetDataList()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetSystemProperty operation/method
 */
if ($get->GetSystemProperty(new \SGCIS\Struct\GetSystemProperty()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetCurrentBill operation/method
 */
if ($get->GetCurrentBill(new \SGCIS\Struct\GetCurrentBill()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetBillHistory operation/method
 */
if ($get->GetBillHistory(new \SGCIS\Struct\GetBillHistory()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetWebProducts operation/method
 */
if ($get->GetWebProducts(new \SGCIS\Struct\GetWebProducts()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAccountTransactionSummary operation/method
 */
if ($get->GetAccountTransactionSummary(new \SGCIS\Struct\GetAccountTransactionSummary()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetCustomFields operation/method
 */
if ($get->GetCustomFields(new \SGCIS\Struct\GetCustomFields()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAccountCustomFields operation/method
 */
if ($get->GetAccountCustomFields(new \SGCIS\Struct\GetAccountCustomFields()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetUserCharacteristics operation/method
 */
if ($get->GetUserCharacteristics(new \SGCIS\Struct\GetUserCharacteristics()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetZipCodeWeather operation/method
 */
if ($get->GetZipCodeWeather(new \SGCIS\Struct\GetZipCodeWeather()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Samples for Save ServiceType
 */
$save = new \SGCIS\Service\Save($options);
/**
 * Sample call for SaveAutoPayment operation/method
 */
if ($save->SaveAutoPayment(new \SGCIS\Struct\SaveAutoPayment()) !== false) {
    print_r($save->getResult());
} else {
    print_r($save->getLastError());
}
/**
 * Sample call for SavePaymentAccount operation/method
 */
if ($save->SavePaymentAccount(new \SGCIS\Struct\SavePaymentAccount()) !== false) {
    print_r($save->getResult());
} else {
    print_r($save->getLastError());
}
/**
 * Sample call for SaveAccountCustomFields operation/method
 */
if ($save->SaveAccountCustomFields(new \SGCIS\Struct\SaveAccountCustomFields()) !== false) {
    print_r($save->getResult());
} else {
    print_r($save->getLastError());
}
/**
 * Samples for Valid ServiceType
 */
$valid = new \SGCIS\Service\Valid($options);
/**
 * Sample call for ValidPhone operation/method
 */
if ($valid->ValidPhone(new \SGCIS\Struct\ValidPhone()) !== false) {
    print_r($valid->getResult());
} else {
    print_r($valid->getLastError());
}
/**
 * Samples for Register ServiceType
 */
$register = new \SGCIS\Service\Register($options);
/**
 * Sample call for RegisterCustomerWith2FactorAuth operation/method
 */
if ($register->RegisterCustomerWith2FactorAuth(new \SGCIS\Struct\RegisterCustomerWith2FactorAuth()) !== false) {
    print_r($register->getResult());
} else {
    print_r($register->getLastError());
}
/**
 * Sample call for Register operation/method
 */
if ($register->Register(new \SGCIS\Struct\Register()) !== false) {
    print_r($register->getResult());
} else {
    print_r($register->getLastError());
}
/**
 * Samples for Claim ServiceType
 */
$claim = new \SGCIS\Service\Claim($options);
/**
 * Sample call for Claim2FactorAuthCustomerRegistration operation/method
 */
if ($claim->Claim2FactorAuthCustomerRegistration(new \SGCIS\Struct\Claim2FactorAuthCustomerRegistration()) !== false) {
    print_r($claim->getResult());
} else {
    print_r($claim->getLastError());
}
/**
 * Samples for Validate ServiceType
 */
$validate = new \SGCIS\Service\Validate($options);
/**
 * Sample call for ValidateEnrollmentLocations operation/method
 */
if ($validate->ValidateEnrollmentLocations(new \SGCIS\Struct\ValidateEnrollmentLocations()) !== false) {
    print_r($validate->getResult());
} else {
    print_r($validate->getLastError());
}
/**
 * Samples for Process ServiceType
 */
$process = new \SGCIS\Service\Process($options);
/**
 * Sample call for ProcessAccountEnrollment operation/method
 */
if ($process->ProcessAccountEnrollment(new \SGCIS\Struct\ProcessAccountEnrollment()) !== false) {
    print_r($process->getResult());
} else {
    print_r($process->getLastError());
}
/**
 * Sample call for ProcessAccountPayLater operation/method
 */
if ($process->ProcessAccountPayLater(new \SGCIS\Struct\ProcessAccountPayLater()) !== false) {
    print_r($process->getResult());
} else {
    print_r($process->getLastError());
}
/**
 * Sample call for ProcessAccountTransferServiceLocation operation/method
 */
if ($process->ProcessAccountTransferServiceLocation(new \SGCIS\Struct\ProcessAccountTransferServiceLocation()) !== false) {
    print_r($process->getResult());
} else {
    print_r($process->getLastError());
}
/**
 * Samples for Connect ServiceType
 */
$connect = new \SGCIS\Service\Connect($options);
/**
 * Sample call for ConnectSoftArmedMeter operation/method
 */
if ($connect->ConnectSoftArmedMeter(new \SGCIS\Struct\ConnectSoftArmedMeter()) !== false) {
    print_r($connect->getResult());
} else {
    print_r($connect->getLastError());
}
/**
 * Samples for Authenticate ServiceType
 */
$authenticate = new \SGCIS\Service\Authenticate($options);
/**
 * Sample call for AuthenticateUser operation/method
 */
if ($authenticate->AuthenticateUser(new \SGCIS\Struct\AuthenticateUser()) !== false) {
    print_r($authenticate->getResult());
} else {
    print_r($authenticate->getLastError());
}
/**
 * Samples for Change ServiceType
 */
$change = new \SGCIS\Service\Change($options);
/**
 * Sample call for ChangePassword operation/method
 */
if ($change->ChangePassword(new \SGCIS\Struct\ChangePassword()) !== false) {
    print_r($change->getResult());
} else {
    print_r($change->getLastError());
}
/**
 * Samples for Update ServiceType
 */
$update = new \SGCIS\Service\Update($options);
/**
 * Sample call for UpdateAccountProfile operation/method
 */
if ($update->UpdateAccountProfile(new \SGCIS\Struct\UpdateAccountProfile()) !== false) {
    print_r($update->getResult());
} else {
    print_r($update->getLastError());
}
/**
 * Sample call for UpdateAccountCommunicationViewStatus operation/method
 */
if ($update->UpdateAccountCommunicationViewStatus(new \SGCIS\Struct\UpdateAccountCommunicationViewStatus()) !== false) {
    print_r($update->getResult());
} else {
    print_r($update->getLastError());
}
/**
 * Samples for Delete ServiceType
 */
$delete = new \SGCIS\Service\Delete($options);
/**
 * Sample call for DeletePaymentAccount operation/method
 */
if ($delete->DeletePaymentAccount(new \SGCIS\Struct\DeletePaymentAccount()) !== false) {
    print_r($delete->getResult());
} else {
    print_r($delete->getLastError());
}
/**
 * Samples for Send ServiceType
 */
$send = new \SGCIS\Service\Send($options);
/**
 * Sample call for SendPassword operation/method
 */
if ($send->SendPassword(new \SGCIS\Struct\SendPassword()) !== false) {
    print_r($send->getResult());
} else {
    print_r($send->getLastError());
}
/**
 * Samples for Create ServiceType
 */
$create = new \SGCIS\Service\Create($options);
/**
 * Sample call for CreateNewPaymentArrangement operation/method
 */
if ($create->CreateNewPaymentArrangement(new \SGCIS\Struct\CreateNewPaymentArrangement()) !== false) {
    print_r($create->getResult());
} else {
    print_r($create->getLastError());
}
/**
 * Samples for Post ServiceType
 */
$post = new \SGCIS\Service\Post($options);
/**
 * Sample call for PostUspPayment operation/method
 */
if ($post->PostUspPayment(new \SGCIS\Struct\PostUspPayment()) !== false) {
    print_r($post->getResult());
} else {
    print_r($post->getLastError());
}
/**
 * Sample call for PostAccountPayment operation/method
 */
if ($post->PostAccountPayment(new \SGCIS\Struct\PostAccountPayment()) !== false) {
    print_r($post->getResult());
} else {
    print_r($post->getLastError());
}
/**
 * Samples for Find ServiceType
 */
$find = new \SGCIS\Service\Find($options);
/**
 * Sample call for FindServiceLocations operation/method
 */
if ($find->FindServiceLocations(new \SGCIS\Struct\FindServiceLocations()) !== false) {
    print_r($find->getResult());
} else {
    print_r($find->getLastError());
}
/**
 * Samples for Capture ServiceType
 */
$capture = new \SGCIS\Service\Capture($options);
/**
 * Sample call for CaptureLead operation/method
 */
if ($capture->CaptureLead(new \SGCIS\Struct\CaptureLead()) !== false) {
    print_r($capture->getResult());
} else {
    print_r($capture->getLastError());
}
/**
 * Samples for External ServiceType
 */
$external = new \SGCIS\Service\External($options);
/**
 * Sample call for ExternalAuthenticateUser operation/method
 */
if ($external->ExternalAuthenticateUser(new \SGCIS\Struct\ExternalAuthenticateUser()) !== false) {
    print_r($external->getResult());
} else {
    print_r($external->getLastError());
}
/**
 * Sample call for ExternalRecoverPassword operation/method
 */
if ($external->ExternalRecoverPassword(new \SGCIS\Struct\ExternalRecoverPassword()) !== false) {
    print_r($external->getResult());
} else {
    print_r($external->getLastError());
}
