PHP 클래스 ExchangeRateService, googleads-php-lib

상속: extends DfpSoapClient
파일 보기 프로젝트 열기: googleads/googleads-php-lib

공개 프로퍼티들

프로퍼티 타입 설명
$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