PHP Класс ExchangeRateService, googleads-php-lib

Наследование: extends DfpSoapClient
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Открытые методы

Метод Описание
__construct ( string $wsdl, array $options, $user ) Constructor using wsdl location and options array
createExchangeRates ( $exchangeRates ) : the Creates new {@link ExchangeRate} objects.
getExchangeRatesByStatement ( $filterStatement ) : the Gets a {@link ExchangeRatePage} of {@link ExchangeRate} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performExchangeRateAction ( $exchangeRateAction, $filterStatement ) : the Performs an action on {@link ExchangeRate} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
updateExchangeRates ( $exchangeRates ) : the Updates the specified {@link ExchangeRate} objects.

Описание методов

__construct() публичный Метод

Constructor using wsdl location and options array
public __construct ( string $wsdl, array $options, $user )
$wsdl string WSDL location for this service
$options array Options for the SoapClient

createExchangeRates() публичный Метод

For each exchange rate, the following fields are required:
  • {@link ExchangeRate#currencyCode}
  • {@link ExchangeRate#exchangeRate} when {@link ExchangeRate#refreshRate} is {@link ExchangeRateRefreshRate#FIXED}
public createExchangeRates ( $exchangeRates ) : the
Результат the created exchange rates with their exchange rate values filled in

getExchangeRatesByStatement() публичный Метод

PQL Property Object Property
{@code id} {@link ExchangeRate#id}
{@code currencyCode} {@link ExchangeRate#currencyCode}
{@code refreshRate} {@link ExchangeRate#refreshRate}
{@code direction} {@link ExchangeRate#direction}
{@code exchangeRate} {@link ExchangeRate#exchangeRate}
public getExchangeRatesByStatement ( $filterStatement ) : the
Результат the exchange rates that match the given filter

performExchangeRateAction() публичный Метод

PQL Property Object Property
{@code id} {@link ExchangeRate#id}
{@code currencyCode} {@link ExchangeRate#currencyCode}
{@code refreshRate} {@link ExchangeRate#refreshRate}
{@code direction} {@link ExchangeRate#direction}
{@code exchangeRate} {@link ExchangeRate#exchangeRate}
public performExchangeRateAction ( $exchangeRateAction, $filterStatement ) : the
Результат the result of the action performed

updateExchangeRates() публичный Метод

Updates the specified {@link ExchangeRate} objects.
public updateExchangeRates ( $exchangeRates ) : the
Результат the updated exchange rates

Описание свойств

$classmap публичное статическое свойство

Default class map for wsdl=>php
public static array $classmap
Результат array

$endpoint публичное статическое свойство

The endpoint of the service
public static string $endpoint
Результат string