PHP Class ExchangeRateService, googleads-php-lib

Inheritance: extends DfpSoapClient
Afficher le fichier Open project: googleads/googleads-php-lib

Méthodes publiques

Свойство Type Description
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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() public méthode

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
Résultat the created exchange rates with their exchange rate values filled in

getExchangeRatesByStatement() public méthode

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
Résultat the exchange rates that match the given filter

performExchangeRateAction() public méthode

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
Résultat the result of the action performed

updateExchangeRates() public méthode

Updates the specified {@link ExchangeRate} objects.
public updateExchangeRates ( $exchangeRates ) : the
Résultat the updated exchange rates

Property Details

$classmap public_oe static_oe property

Default class map for wsdl=>php
public static array $classmap
Résultat array

$endpoint public_oe static_oe property

The endpoint of the service
public static string $endpoint
Résultat string