/var/www/flurhymez/vendor/google/apiclient-services/src/Dfareporting/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Dfareporting/Resource/PostalCodes.php (2169B)
* $dfareportingService = new Google\Service\Dfareporting(...);
* $postalCodes = $dfareportingService->postalCodes;
*
*/
class PostalCodes extends \Google\Service\Resource
{
/**
* Gets one postal code by ID. (postalCodes.get)
*
* @param string $profileId User profile ID associated with this request.
* @param string $code Postal code ID.
* @param array $optParams Optional parameters.
* @return PostalCode
*/
public function get($profileId, $code, $optParams = [])
{
$params = ['profileId' => $profileId, 'code' => $code];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], PostalCode::class);
}
/**
* Retrieves a list of postal codes. (postalCodes.listPostalCodes)
*
* @param string $profileId User profile ID associated with this request.
* @param array $optParams Optional parameters.
* @return PostalCodesListResponse
*/
public function listPostalCodes($profileId, $optParams = [])
{
$params = ['profileId' => $profileId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], PostalCodesListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostalCodes::class, 'Google_Service_Dfareporting_Resource_PostalCodes');