PHP Класс BaseRateService, 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
createBaseRates ( $baseRates ) : the Creates a list of new {@link BaseRate} objects.
getBaseRatesByStatement ( $filterStatement ) : the Gets a {@link BaseRatePage} of {@link BaseRate} objects that satisfy the given {@link Statement#query}.
performBaseRateAction ( $baseRateAction, $filterStatement ) : the Performs actions on {@link BaseRate} objects that satisfy the given {@link Statement#query}.
updateBaseRates ( $baseRates ) : the Updates the specified {@link BaseRate} 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

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

Creates a list of new {@link BaseRate} objects.
public createBaseRates ( $baseRates ) : the
Результат the base rates with their IDs filled in

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

The following fields are supported for filtering:
PQL Property Object Property
{@code rateCardId} {@link BaseRate#rateCardId}
{@code id} {@link BaseRate#id}
{@code productTemplateId} {@link ProductTemplateBaseRate#id}
Note: Cannot be combined with {@code productId}.
{@code productId} {@link ProductBaseRate#id}
Note: Cannot be combined with {@code productTemplateId}.
public getBaseRatesByStatement ( $filterStatement ) : the
Результат the page of base rates that match the given filter

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

Performs actions on {@link BaseRate} objects that satisfy the given {@link Statement#query}.
public performBaseRateAction ( $baseRateAction, $filterStatement ) : the
Результат the result of the action performed

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

Updates the specified {@link BaseRate} objects.
public updateBaseRates ( $baseRates ) : the
Результат the updated base rates

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

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

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

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

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