Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleGeoTypeViewport extends \Google\Model
{
protected $highType = GoogleTypeLatLng::class;
protected $highDataType = '';
protected $lowType = GoogleTypeLatLng::class;
protected $lowDataType = '';
/**
* @param GoogleTypeLatLng
*/
public function setHigh(GoogleTypeLatLng $high)
{
$this->high = $high;
}
/**
* @return GoogleTypeLatLng
*/
public function getHigh()
{
return $this->high;
}
/**
* @param GoogleTypeLatLng
*/
public function setLow(GoogleTypeLatLng $low)
{
$this->low = $low;
}
/**
* @return GoogleTypeLatLng
*/
public function getLow()
{
return $this->low;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleGeoTypeViewport::class, 'Google_Service_AddressValidation_GoogleGeoTypeViewport');

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1Address extends \Google\Collection
{
protected $collection_key = 'unresolvedTokens';
protected $addressComponentsType = GoogleMapsAddressvalidationV1AddressComponent::class;
protected $addressComponentsDataType = 'array';
/**
* @var string
*/
public $formattedAddress;
/**
* @var string[]
*/
public $missingComponentTypes;
protected $postalAddressType = GoogleTypePostalAddress::class;
protected $postalAddressDataType = '';
/**
* @var string[]
*/
public $unconfirmedComponentTypes;
/**
* @var string[]
*/
public $unresolvedTokens;
/**
* @param GoogleMapsAddressvalidationV1AddressComponent[]
*/
public function setAddressComponents($addressComponents)
{
$this->addressComponents = $addressComponents;
}
/**
* @return GoogleMapsAddressvalidationV1AddressComponent[]
*/
public function getAddressComponents()
{
return $this->addressComponents;
}
/**
* @param string
*/
public function setFormattedAddress($formattedAddress)
{
$this->formattedAddress = $formattedAddress;
}
/**
* @return string
*/
public function getFormattedAddress()
{
return $this->formattedAddress;
}
/**
* @param string[]
*/
public function setMissingComponentTypes($missingComponentTypes)
{
$this->missingComponentTypes = $missingComponentTypes;
}
/**
* @return string[]
*/
public function getMissingComponentTypes()
{
return $this->missingComponentTypes;
}
/**
* @param GoogleTypePostalAddress
*/
public function setPostalAddress(GoogleTypePostalAddress $postalAddress)
{
$this->postalAddress = $postalAddress;
}
/**
* @return GoogleTypePostalAddress
*/
public function getPostalAddress()
{
return $this->postalAddress;
}
/**
* @param string[]
*/
public function setUnconfirmedComponentTypes($unconfirmedComponentTypes)
{
$this->unconfirmedComponentTypes = $unconfirmedComponentTypes;
}
/**
* @return string[]
*/
public function getUnconfirmedComponentTypes()
{
return $this->unconfirmedComponentTypes;
}
/**
* @param string[]
*/
public function setUnresolvedTokens($unresolvedTokens)
{
$this->unresolvedTokens = $unresolvedTokens;
}
/**
* @return string[]
*/
public function getUnresolvedTokens()
{
return $this->unresolvedTokens;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1Address::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1Address');

View File

@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1AddressComponent extends \Google\Model
{
protected $componentNameType = GoogleMapsAddressvalidationV1ComponentName::class;
protected $componentNameDataType = '';
/**
* @var string
*/
public $componentType;
/**
* @var string
*/
public $confirmationLevel;
/**
* @var bool
*/
public $inferred;
/**
* @var bool
*/
public $replaced;
/**
* @var bool
*/
public $spellCorrected;
/**
* @var bool
*/
public $unexpected;
/**
* @param GoogleMapsAddressvalidationV1ComponentName
*/
public function setComponentName(GoogleMapsAddressvalidationV1ComponentName $componentName)
{
$this->componentName = $componentName;
}
/**
* @return GoogleMapsAddressvalidationV1ComponentName
*/
public function getComponentName()
{
return $this->componentName;
}
/**
* @param string
*/
public function setComponentType($componentType)
{
$this->componentType = $componentType;
}
/**
* @return string
*/
public function getComponentType()
{
return $this->componentType;
}
/**
* @param string
*/
public function setConfirmationLevel($confirmationLevel)
{
$this->confirmationLevel = $confirmationLevel;
}
/**
* @return string
*/
public function getConfirmationLevel()
{
return $this->confirmationLevel;
}
/**
* @param bool
*/
public function setInferred($inferred)
{
$this->inferred = $inferred;
}
/**
* @return bool
*/
public function getInferred()
{
return $this->inferred;
}
/**
* @param bool
*/
public function setReplaced($replaced)
{
$this->replaced = $replaced;
}
/**
* @return bool
*/
public function getReplaced()
{
return $this->replaced;
}
/**
* @param bool
*/
public function setSpellCorrected($spellCorrected)
{
$this->spellCorrected = $spellCorrected;
}
/**
* @return bool
*/
public function getSpellCorrected()
{
return $this->spellCorrected;
}
/**
* @param bool
*/
public function setUnexpected($unexpected)
{
$this->unexpected = $unexpected;
}
/**
* @return bool
*/
public function getUnexpected()
{
return $this->unexpected;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1AddressComponent::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1AddressComponent');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1AddressMetadata extends \Google\Model
{
/**
* @var bool
*/
public $business;
/**
* @var bool
*/
public $poBox;
/**
* @var bool
*/
public $residential;
/**
* @param bool
*/
public function setBusiness($business)
{
$this->business = $business;
}
/**
* @return bool
*/
public function getBusiness()
{
return $this->business;
}
/**
* @param bool
*/
public function setPoBox($poBox)
{
$this->poBox = $poBox;
}
/**
* @return bool
*/
public function getPoBox()
{
return $this->poBox;
}
/**
* @param bool
*/
public function setResidential($residential)
{
$this->residential = $residential;
}
/**
* @return bool
*/
public function getResidential()
{
return $this->residential;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1AddressMetadata::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1AddressMetadata');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1ComponentName extends \Google\Model
{
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $text;
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1ComponentName::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1ComponentName');

View File

@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1Geocode extends \Google\Collection
{
protected $collection_key = 'placeTypes';
protected $boundsType = GoogleGeoTypeViewport::class;
protected $boundsDataType = '';
/**
* @var float
*/
public $featureSizeMeters;
protected $locationType = GoogleTypeLatLng::class;
protected $locationDataType = '';
/**
* @var string
*/
public $placeId;
/**
* @var string[]
*/
public $placeTypes;
protected $plusCodeType = GoogleMapsAddressvalidationV1PlusCode::class;
protected $plusCodeDataType = '';
/**
* @param GoogleGeoTypeViewport
*/
public function setBounds(GoogleGeoTypeViewport $bounds)
{
$this->bounds = $bounds;
}
/**
* @return GoogleGeoTypeViewport
*/
public function getBounds()
{
return $this->bounds;
}
/**
* @param float
*/
public function setFeatureSizeMeters($featureSizeMeters)
{
$this->featureSizeMeters = $featureSizeMeters;
}
/**
* @return float
*/
public function getFeatureSizeMeters()
{
return $this->featureSizeMeters;
}
/**
* @param GoogleTypeLatLng
*/
public function setLocation(GoogleTypeLatLng $location)
{
$this->location = $location;
}
/**
* @return GoogleTypeLatLng
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
/**
* @return string
*/
public function getPlaceId()
{
return $this->placeId;
}
/**
* @param string[]
*/
public function setPlaceTypes($placeTypes)
{
$this->placeTypes = $placeTypes;
}
/**
* @return string[]
*/
public function getPlaceTypes()
{
return $this->placeTypes;
}
/**
* @param GoogleMapsAddressvalidationV1PlusCode
*/
public function setPlusCode(GoogleMapsAddressvalidationV1PlusCode $plusCode)
{
$this->plusCode = $plusCode;
}
/**
* @return GoogleMapsAddressvalidationV1PlusCode
*/
public function getPlusCode()
{
return $this->plusCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1Geocode::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1Geocode');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1LanguageOptions extends \Google\Model
{
/**
* @var bool
*/
public $returnEnglishLatinAddress;
/**
* @param bool
*/
public function setReturnEnglishLatinAddress($returnEnglishLatinAddress)
{
$this->returnEnglishLatinAddress = $returnEnglishLatinAddress;
}
/**
* @return bool
*/
public function getReturnEnglishLatinAddress()
{
return $this->returnEnglishLatinAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1LanguageOptions::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1LanguageOptions');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1PlusCode extends \Google\Model
{
/**
* @var string
*/
public $compoundCode;
/**
* @var string
*/
public $globalCode;
/**
* @param string
*/
public function setCompoundCode($compoundCode)
{
$this->compoundCode = $compoundCode;
}
/**
* @return string
*/
public function getCompoundCode()
{
return $this->compoundCode;
}
/**
* @param string
*/
public function setGlobalCode($globalCode)
{
$this->globalCode = $globalCode;
}
/**
* @return string
*/
public function getGlobalCode()
{
return $this->globalCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1PlusCode::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1PlusCode');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest extends \Google\Model
{
/**
* @var string
*/
public $conclusion;
/**
* @var string
*/
public $responseId;
/**
* @param string
*/
public function setConclusion($conclusion)
{
$this->conclusion = $conclusion;
}
/**
* @return string
*/
public function getConclusion()
{
return $this->conclusion;
}
/**
* @param string
*/
public function setResponseId($responseId)
{
$this->responseId = $responseId;
}
/**
* @return string
*/
public function getResponseId()
{
return $this->responseId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse');

View File

@@ -0,0 +1,188 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1UspsAddress extends \Google\Model
{
/**
* @var string
*/
public $city;
/**
* @var string
*/
public $cityStateZipAddressLine;
/**
* @var string
*/
public $firm;
/**
* @var string
*/
public $firstAddressLine;
/**
* @var string
*/
public $secondAddressLine;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $urbanization;
/**
* @var string
*/
public $zipCode;
/**
* @var string
*/
public $zipCodeExtension;
/**
* @param string
*/
public function setCity($city)
{
$this->city = $city;
}
/**
* @return string
*/
public function getCity()
{
return $this->city;
}
/**
* @param string
*/
public function setCityStateZipAddressLine($cityStateZipAddressLine)
{
$this->cityStateZipAddressLine = $cityStateZipAddressLine;
}
/**
* @return string
*/
public function getCityStateZipAddressLine()
{
return $this->cityStateZipAddressLine;
}
/**
* @param string
*/
public function setFirm($firm)
{
$this->firm = $firm;
}
/**
* @return string
*/
public function getFirm()
{
return $this->firm;
}
/**
* @param string
*/
public function setFirstAddressLine($firstAddressLine)
{
$this->firstAddressLine = $firstAddressLine;
}
/**
* @return string
*/
public function getFirstAddressLine()
{
return $this->firstAddressLine;
}
/**
* @param string
*/
public function setSecondAddressLine($secondAddressLine)
{
$this->secondAddressLine = $secondAddressLine;
}
/**
* @return string
*/
public function getSecondAddressLine()
{
return $this->secondAddressLine;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUrbanization($urbanization)
{
$this->urbanization = $urbanization;
}
/**
* @return string
*/
public function getUrbanization()
{
return $this->urbanization;
}
/**
* @param string
*/
public function setZipCode($zipCode)
{
$this->zipCode = $zipCode;
}
/**
* @return string
*/
public function getZipCode()
{
return $this->zipCode;
}
/**
* @param string
*/
public function setZipCodeExtension($zipCodeExtension)
{
$this->zipCodeExtension = $zipCodeExtension;
}
/**
* @return string
*/
public function getZipCodeExtension()
{
return $this->zipCodeExtension;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1UspsAddress::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1UspsAddress');

View File

@@ -0,0 +1,690 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1UspsData extends \Google\Model
{
/**
* @var string
*/
public $abbreviatedCity;
/**
* @var string
*/
public $addressRecordType;
/**
* @var string
*/
public $carrierRoute;
/**
* @var string
*/
public $carrierRouteIndicator;
/**
* @var bool
*/
public $cassProcessed;
/**
* @var string
*/
public $county;
/**
* @var bool
*/
public $defaultAddress;
/**
* @var string
*/
public $deliveryPointCheckDigit;
/**
* @var string
*/
public $deliveryPointCode;
/**
* @var string
*/
public $dpvCmra;
/**
* @var string
*/
public $dpvConfirmation;
/**
* @var string
*/
public $dpvDoorNotAccessible;
/**
* @var string
*/
public $dpvDrop;
/**
* @var string
*/
public $dpvEnhancedDeliveryCode;
/**
* @var string
*/
public $dpvFootnote;
/**
* @var string
*/
public $dpvNoSecureLocation;
/**
* @var string
*/
public $dpvNoStat;
/**
* @var int
*/
public $dpvNoStatReasonCode;
/**
* @var string
*/
public $dpvNonDeliveryDays;
/**
* @var int
*/
public $dpvNonDeliveryDaysValues;
/**
* @var string
*/
public $dpvPbsa;
/**
* @var string
*/
public $dpvThrowback;
/**
* @var string
*/
public $dpvVacant;
/**
* @var string
*/
public $elotFlag;
/**
* @var string
*/
public $elotNumber;
/**
* @var string
*/
public $errorMessage;
/**
* @var bool
*/
public $ewsNoMatch;
/**
* @var string
*/
public $fipsCountyCode;
/**
* @var string
*/
public $lacsLinkIndicator;
/**
* @var string
*/
public $lacsLinkReturnCode;
/**
* @var string
*/
public $pmbDesignator;
/**
* @var string
*/
public $pmbNumber;
/**
* @var bool
*/
public $poBoxOnlyPostalCode;
/**
* @var string
*/
public $postOfficeCity;
/**
* @var string
*/
public $postOfficeState;
protected $standardizedAddressType = GoogleMapsAddressvalidationV1UspsAddress::class;
protected $standardizedAddressDataType = '';
/**
* @var string
*/
public $suitelinkFootnote;
/**
* @param string
*/
public function setAbbreviatedCity($abbreviatedCity)
{
$this->abbreviatedCity = $abbreviatedCity;
}
/**
* @return string
*/
public function getAbbreviatedCity()
{
return $this->abbreviatedCity;
}
/**
* @param string
*/
public function setAddressRecordType($addressRecordType)
{
$this->addressRecordType = $addressRecordType;
}
/**
* @return string
*/
public function getAddressRecordType()
{
return $this->addressRecordType;
}
/**
* @param string
*/
public function setCarrierRoute($carrierRoute)
{
$this->carrierRoute = $carrierRoute;
}
/**
* @return string
*/
public function getCarrierRoute()
{
return $this->carrierRoute;
}
/**
* @param string
*/
public function setCarrierRouteIndicator($carrierRouteIndicator)
{
$this->carrierRouteIndicator = $carrierRouteIndicator;
}
/**
* @return string
*/
public function getCarrierRouteIndicator()
{
return $this->carrierRouteIndicator;
}
/**
* @param bool
*/
public function setCassProcessed($cassProcessed)
{
$this->cassProcessed = $cassProcessed;
}
/**
* @return bool
*/
public function getCassProcessed()
{
return $this->cassProcessed;
}
/**
* @param string
*/
public function setCounty($county)
{
$this->county = $county;
}
/**
* @return string
*/
public function getCounty()
{
return $this->county;
}
/**
* @param bool
*/
public function setDefaultAddress($defaultAddress)
{
$this->defaultAddress = $defaultAddress;
}
/**
* @return bool
*/
public function getDefaultAddress()
{
return $this->defaultAddress;
}
/**
* @param string
*/
public function setDeliveryPointCheckDigit($deliveryPointCheckDigit)
{
$this->deliveryPointCheckDigit = $deliveryPointCheckDigit;
}
/**
* @return string
*/
public function getDeliveryPointCheckDigit()
{
return $this->deliveryPointCheckDigit;
}
/**
* @param string
*/
public function setDeliveryPointCode($deliveryPointCode)
{
$this->deliveryPointCode = $deliveryPointCode;
}
/**
* @return string
*/
public function getDeliveryPointCode()
{
return $this->deliveryPointCode;
}
/**
* @param string
*/
public function setDpvCmra($dpvCmra)
{
$this->dpvCmra = $dpvCmra;
}
/**
* @return string
*/
public function getDpvCmra()
{
return $this->dpvCmra;
}
/**
* @param string
*/
public function setDpvConfirmation($dpvConfirmation)
{
$this->dpvConfirmation = $dpvConfirmation;
}
/**
* @return string
*/
public function getDpvConfirmation()
{
return $this->dpvConfirmation;
}
/**
* @param string
*/
public function setDpvDoorNotAccessible($dpvDoorNotAccessible)
{
$this->dpvDoorNotAccessible = $dpvDoorNotAccessible;
}
/**
* @return string
*/
public function getDpvDoorNotAccessible()
{
return $this->dpvDoorNotAccessible;
}
/**
* @param string
*/
public function setDpvDrop($dpvDrop)
{
$this->dpvDrop = $dpvDrop;
}
/**
* @return string
*/
public function getDpvDrop()
{
return $this->dpvDrop;
}
/**
* @param string
*/
public function setDpvEnhancedDeliveryCode($dpvEnhancedDeliveryCode)
{
$this->dpvEnhancedDeliveryCode = $dpvEnhancedDeliveryCode;
}
/**
* @return string
*/
public function getDpvEnhancedDeliveryCode()
{
return $this->dpvEnhancedDeliveryCode;
}
/**
* @param string
*/
public function setDpvFootnote($dpvFootnote)
{
$this->dpvFootnote = $dpvFootnote;
}
/**
* @return string
*/
public function getDpvFootnote()
{
return $this->dpvFootnote;
}
/**
* @param string
*/
public function setDpvNoSecureLocation($dpvNoSecureLocation)
{
$this->dpvNoSecureLocation = $dpvNoSecureLocation;
}
/**
* @return string
*/
public function getDpvNoSecureLocation()
{
return $this->dpvNoSecureLocation;
}
/**
* @param string
*/
public function setDpvNoStat($dpvNoStat)
{
$this->dpvNoStat = $dpvNoStat;
}
/**
* @return string
*/
public function getDpvNoStat()
{
return $this->dpvNoStat;
}
/**
* @param int
*/
public function setDpvNoStatReasonCode($dpvNoStatReasonCode)
{
$this->dpvNoStatReasonCode = $dpvNoStatReasonCode;
}
/**
* @return int
*/
public function getDpvNoStatReasonCode()
{
return $this->dpvNoStatReasonCode;
}
/**
* @param string
*/
public function setDpvNonDeliveryDays($dpvNonDeliveryDays)
{
$this->dpvNonDeliveryDays = $dpvNonDeliveryDays;
}
/**
* @return string
*/
public function getDpvNonDeliveryDays()
{
return $this->dpvNonDeliveryDays;
}
/**
* @param int
*/
public function setDpvNonDeliveryDaysValues($dpvNonDeliveryDaysValues)
{
$this->dpvNonDeliveryDaysValues = $dpvNonDeliveryDaysValues;
}
/**
* @return int
*/
public function getDpvNonDeliveryDaysValues()
{
return $this->dpvNonDeliveryDaysValues;
}
/**
* @param string
*/
public function setDpvPbsa($dpvPbsa)
{
$this->dpvPbsa = $dpvPbsa;
}
/**
* @return string
*/
public function getDpvPbsa()
{
return $this->dpvPbsa;
}
/**
* @param string
*/
public function setDpvThrowback($dpvThrowback)
{
$this->dpvThrowback = $dpvThrowback;
}
/**
* @return string
*/
public function getDpvThrowback()
{
return $this->dpvThrowback;
}
/**
* @param string
*/
public function setDpvVacant($dpvVacant)
{
$this->dpvVacant = $dpvVacant;
}
/**
* @return string
*/
public function getDpvVacant()
{
return $this->dpvVacant;
}
/**
* @param string
*/
public function setElotFlag($elotFlag)
{
$this->elotFlag = $elotFlag;
}
/**
* @return string
*/
public function getElotFlag()
{
return $this->elotFlag;
}
/**
* @param string
*/
public function setElotNumber($elotNumber)
{
$this->elotNumber = $elotNumber;
}
/**
* @return string
*/
public function getElotNumber()
{
return $this->elotNumber;
}
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* @param bool
*/
public function setEwsNoMatch($ewsNoMatch)
{
$this->ewsNoMatch = $ewsNoMatch;
}
/**
* @return bool
*/
public function getEwsNoMatch()
{
return $this->ewsNoMatch;
}
/**
* @param string
*/
public function setFipsCountyCode($fipsCountyCode)
{
$this->fipsCountyCode = $fipsCountyCode;
}
/**
* @return string
*/
public function getFipsCountyCode()
{
return $this->fipsCountyCode;
}
/**
* @param string
*/
public function setLacsLinkIndicator($lacsLinkIndicator)
{
$this->lacsLinkIndicator = $lacsLinkIndicator;
}
/**
* @return string
*/
public function getLacsLinkIndicator()
{
return $this->lacsLinkIndicator;
}
/**
* @param string
*/
public function setLacsLinkReturnCode($lacsLinkReturnCode)
{
$this->lacsLinkReturnCode = $lacsLinkReturnCode;
}
/**
* @return string
*/
public function getLacsLinkReturnCode()
{
return $this->lacsLinkReturnCode;
}
/**
* @param string
*/
public function setPmbDesignator($pmbDesignator)
{
$this->pmbDesignator = $pmbDesignator;
}
/**
* @return string
*/
public function getPmbDesignator()
{
return $this->pmbDesignator;
}
/**
* @param string
*/
public function setPmbNumber($pmbNumber)
{
$this->pmbNumber = $pmbNumber;
}
/**
* @return string
*/
public function getPmbNumber()
{
return $this->pmbNumber;
}
/**
* @param bool
*/
public function setPoBoxOnlyPostalCode($poBoxOnlyPostalCode)
{
$this->poBoxOnlyPostalCode = $poBoxOnlyPostalCode;
}
/**
* @return bool
*/
public function getPoBoxOnlyPostalCode()
{
return $this->poBoxOnlyPostalCode;
}
/**
* @param string
*/
public function setPostOfficeCity($postOfficeCity)
{
$this->postOfficeCity = $postOfficeCity;
}
/**
* @return string
*/
public function getPostOfficeCity()
{
return $this->postOfficeCity;
}
/**
* @param string
*/
public function setPostOfficeState($postOfficeState)
{
$this->postOfficeState = $postOfficeState;
}
/**
* @return string
*/
public function getPostOfficeState()
{
return $this->postOfficeState;
}
/**
* @param GoogleMapsAddressvalidationV1UspsAddress
*/
public function setStandardizedAddress(GoogleMapsAddressvalidationV1UspsAddress $standardizedAddress)
{
$this->standardizedAddress = $standardizedAddress;
}
/**
* @return GoogleMapsAddressvalidationV1UspsAddress
*/
public function getStandardizedAddress()
{
return $this->standardizedAddress;
}
/**
* @param string
*/
public function setSuitelinkFootnote($suitelinkFootnote)
{
$this->suitelinkFootnote = $suitelinkFootnote;
}
/**
* @return string
*/
public function getSuitelinkFootnote()
{
return $this->suitelinkFootnote;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1UspsData::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1UspsData');

View File

@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1ValidateAddressRequest extends \Google\Model
{
protected $addressType = GoogleTypePostalAddress::class;
protected $addressDataType = '';
/**
* @var bool
*/
public $enableUspsCass;
protected $languageOptionsType = GoogleMapsAddressvalidationV1LanguageOptions::class;
protected $languageOptionsDataType = '';
/**
* @var string
*/
public $previousResponseId;
/**
* @var string
*/
public $sessionToken;
/**
* @param GoogleTypePostalAddress
*/
public function setAddress(GoogleTypePostalAddress $address)
{
$this->address = $address;
}
/**
* @return GoogleTypePostalAddress
*/
public function getAddress()
{
return $this->address;
}
/**
* @param bool
*/
public function setEnableUspsCass($enableUspsCass)
{
$this->enableUspsCass = $enableUspsCass;
}
/**
* @return bool
*/
public function getEnableUspsCass()
{
return $this->enableUspsCass;
}
/**
* @param GoogleMapsAddressvalidationV1LanguageOptions
*/
public function setLanguageOptions(GoogleMapsAddressvalidationV1LanguageOptions $languageOptions)
{
$this->languageOptions = $languageOptions;
}
/**
* @return GoogleMapsAddressvalidationV1LanguageOptions
*/
public function getLanguageOptions()
{
return $this->languageOptions;
}
/**
* @param string
*/
public function setPreviousResponseId($previousResponseId)
{
$this->previousResponseId = $previousResponseId;
}
/**
* @return string
*/
public function getPreviousResponseId()
{
return $this->previousResponseId;
}
/**
* @param string
*/
public function setSessionToken($sessionToken)
{
$this->sessionToken = $sessionToken;
}
/**
* @return string
*/
public function getSessionToken()
{
return $this->sessionToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1ValidateAddressRequest::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1ValidateAddressRequest');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1ValidateAddressResponse extends \Google\Model
{
/**
* @var string
*/
public $responseId;
protected $resultType = GoogleMapsAddressvalidationV1ValidationResult::class;
protected $resultDataType = '';
/**
* @param string
*/
public function setResponseId($responseId)
{
$this->responseId = $responseId;
}
/**
* @return string
*/
public function getResponseId()
{
return $this->responseId;
}
/**
* @param GoogleMapsAddressvalidationV1ValidationResult
*/
public function setResult(GoogleMapsAddressvalidationV1ValidationResult $result)
{
$this->result = $result;
}
/**
* @return GoogleMapsAddressvalidationV1ValidationResult
*/
public function getResult()
{
return $this->result;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1ValidateAddressResponse::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1ValidateAddressResponse');

View File

@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1ValidationResult extends \Google\Model
{
protected $addressType = GoogleMapsAddressvalidationV1Address::class;
protected $addressDataType = '';
protected $englishLatinAddressType = GoogleMapsAddressvalidationV1Address::class;
protected $englishLatinAddressDataType = '';
protected $geocodeType = GoogleMapsAddressvalidationV1Geocode::class;
protected $geocodeDataType = '';
protected $metadataType = GoogleMapsAddressvalidationV1AddressMetadata::class;
protected $metadataDataType = '';
protected $uspsDataType = GoogleMapsAddressvalidationV1UspsData::class;
protected $uspsDataDataType = '';
protected $verdictType = GoogleMapsAddressvalidationV1Verdict::class;
protected $verdictDataType = '';
/**
* @param GoogleMapsAddressvalidationV1Address
*/
public function setAddress(GoogleMapsAddressvalidationV1Address $address)
{
$this->address = $address;
}
/**
* @return GoogleMapsAddressvalidationV1Address
*/
public function getAddress()
{
return $this->address;
}
/**
* @param GoogleMapsAddressvalidationV1Address
*/
public function setEnglishLatinAddress(GoogleMapsAddressvalidationV1Address $englishLatinAddress)
{
$this->englishLatinAddress = $englishLatinAddress;
}
/**
* @return GoogleMapsAddressvalidationV1Address
*/
public function getEnglishLatinAddress()
{
return $this->englishLatinAddress;
}
/**
* @param GoogleMapsAddressvalidationV1Geocode
*/
public function setGeocode(GoogleMapsAddressvalidationV1Geocode $geocode)
{
$this->geocode = $geocode;
}
/**
* @return GoogleMapsAddressvalidationV1Geocode
*/
public function getGeocode()
{
return $this->geocode;
}
/**
* @param GoogleMapsAddressvalidationV1AddressMetadata
*/
public function setMetadata(GoogleMapsAddressvalidationV1AddressMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleMapsAddressvalidationV1AddressMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param GoogleMapsAddressvalidationV1UspsData
*/
public function setUspsData(GoogleMapsAddressvalidationV1UspsData $uspsData)
{
$this->uspsData = $uspsData;
}
/**
* @return GoogleMapsAddressvalidationV1UspsData
*/
public function getUspsData()
{
return $this->uspsData;
}
/**
* @param GoogleMapsAddressvalidationV1Verdict
*/
public function setVerdict(GoogleMapsAddressvalidationV1Verdict $verdict)
{
$this->verdict = $verdict;
}
/**
* @return GoogleMapsAddressvalidationV1Verdict
*/
public function getVerdict()
{
return $this->verdict;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1ValidationResult::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1ValidationResult');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleMapsAddressvalidationV1Verdict extends \Google\Model
{
/**
* @var bool
*/
public $addressComplete;
/**
* @var string
*/
public $geocodeGranularity;
/**
* @var bool
*/
public $hasInferredComponents;
/**
* @var bool
*/
public $hasReplacedComponents;
/**
* @var bool
*/
public $hasUnconfirmedComponents;
/**
* @var string
*/
public $inputGranularity;
/**
* @var string
*/
public $validationGranularity;
/**
* @param bool
*/
public function setAddressComplete($addressComplete)
{
$this->addressComplete = $addressComplete;
}
/**
* @return bool
*/
public function getAddressComplete()
{
return $this->addressComplete;
}
/**
* @param string
*/
public function setGeocodeGranularity($geocodeGranularity)
{
$this->geocodeGranularity = $geocodeGranularity;
}
/**
* @return string
*/
public function getGeocodeGranularity()
{
return $this->geocodeGranularity;
}
/**
* @param bool
*/
public function setHasInferredComponents($hasInferredComponents)
{
$this->hasInferredComponents = $hasInferredComponents;
}
/**
* @return bool
*/
public function getHasInferredComponents()
{
return $this->hasInferredComponents;
}
/**
* @param bool
*/
public function setHasReplacedComponents($hasReplacedComponents)
{
$this->hasReplacedComponents = $hasReplacedComponents;
}
/**
* @return bool
*/
public function getHasReplacedComponents()
{
return $this->hasReplacedComponents;
}
/**
* @param bool
*/
public function setHasUnconfirmedComponents($hasUnconfirmedComponents)
{
$this->hasUnconfirmedComponents = $hasUnconfirmedComponents;
}
/**
* @return bool
*/
public function getHasUnconfirmedComponents()
{
return $this->hasUnconfirmedComponents;
}
/**
* @param string
*/
public function setInputGranularity($inputGranularity)
{
$this->inputGranularity = $inputGranularity;
}
/**
* @return string
*/
public function getInputGranularity()
{
return $this->inputGranularity;
}
/**
* @param string
*/
public function setValidationGranularity($validationGranularity)
{
$this->validationGranularity = $validationGranularity;
}
/**
* @return string
*/
public function getValidationGranularity()
{
return $this->validationGranularity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsAddressvalidationV1Verdict::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1Verdict');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleTypeLatLng extends \Google\Model
{
public $latitude;
public $longitude;
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeLatLng::class, 'Google_Service_AddressValidation_GoogleTypeLatLng');

View File

@@ -0,0 +1,225 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation;
class GoogleTypePostalAddress extends \Google\Collection
{
protected $collection_key = 'recipients';
/**
* @var string[]
*/
public $addressLines;
/**
* @var string
*/
public $administrativeArea;
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $locality;
/**
* @var string
*/
public $organization;
/**
* @var string
*/
public $postalCode;
/**
* @var string[]
*/
public $recipients;
/**
* @var string
*/
public $regionCode;
/**
* @var int
*/
public $revision;
/**
* @var string
*/
public $sortingCode;
/**
* @var string
*/
public $sublocality;
/**
* @param string[]
*/
public function setAddressLines($addressLines)
{
$this->addressLines = $addressLines;
}
/**
* @return string[]
*/
public function getAddressLines()
{
return $this->addressLines;
}
/**
* @param string
*/
public function setAdministrativeArea($administrativeArea)
{
$this->administrativeArea = $administrativeArea;
}
/**
* @return string
*/
public function getAdministrativeArea()
{
return $this->administrativeArea;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setLocality($locality)
{
$this->locality = $locality;
}
/**
* @return string
*/
public function getLocality()
{
return $this->locality;
}
/**
* @param string
*/
public function setOrganization($organization)
{
$this->organization = $organization;
}
/**
* @return string
*/
public function getOrganization()
{
return $this->organization;
}
/**
* @param string
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
}
/**
* @return string
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* @param string[]
*/
public function setRecipients($recipients)
{
$this->recipients = $recipients;
}
/**
* @return string[]
*/
public function getRecipients()
{
return $this->recipients;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
/**
* @param int
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return int
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param string
*/
public function setSortingCode($sortingCode)
{
$this->sortingCode = $sortingCode;
}
/**
* @return string
*/
public function getSortingCode()
{
return $this->sortingCode;
}
/**
* @param string
*/
public function setSublocality($sublocality)
{
$this->sublocality = $sublocality;
}
/**
* @return string
*/
public function getSublocality()
{
return $this->sublocality;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypePostalAddress::class, 'Google_Service_AddressValidation_GoogleTypePostalAddress');

View File

@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AddressValidation\Resource;
use Google\Service\AddressValidation\GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest;
use Google\Service\AddressValidation\GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse;
use Google\Service\AddressValidation\GoogleMapsAddressvalidationV1ValidateAddressRequest;
use Google\Service\AddressValidation\GoogleMapsAddressvalidationV1ValidateAddressResponse;
/**
* The "v1" collection of methods.
* Typical usage is:
* <code>
* $addressvalidationService = new Google\Service\AddressValidation(...);
* $v1 = $addressvalidationService->v1;
* </code>
*/
class V1 extends \Google\Service\Resource
{
/**
* Feedback about the outcome of the sequence of validation attempts. This
* should be the last call made after a sequence of validation calls for the
* same address, and should be called once the transaction is concluded. This
* should only be sent once for the sequence of `ValidateAddress` requests
* needed to validate an address fully. (v1.provideValidationFeedback)
*
* @param GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse
* @throws \Google\Service\Exception
*/
public function provideValidationFeedback(GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('provideValidationFeedback', [$params], GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse::class);
}
/**
* Validates an address. (v1.validateAddress)
*
* @param GoogleMapsAddressvalidationV1ValidateAddressRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleMapsAddressvalidationV1ValidateAddressResponse
* @throws \Google\Service\Exception
*/
public function validateAddress(GoogleMapsAddressvalidationV1ValidateAddressRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('validateAddress', [$params], GoogleMapsAddressvalidationV1ValidateAddressResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1::class, 'Google_Service_AddressValidation_Resource_V1');