[e3d4e0a] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\AddressValidation;
|
---|
| 19 |
|
---|
| 20 | class GoogleMapsAddressvalidationV1ValidationResult extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $addressType = GoogleMapsAddressvalidationV1Address::class;
|
---|
| 23 | protected $addressDataType = '';
|
---|
| 24 | protected $englishLatinAddressType = GoogleMapsAddressvalidationV1Address::class;
|
---|
| 25 | protected $englishLatinAddressDataType = '';
|
---|
| 26 | protected $geocodeType = GoogleMapsAddressvalidationV1Geocode::class;
|
---|
| 27 | protected $geocodeDataType = '';
|
---|
| 28 | protected $metadataType = GoogleMapsAddressvalidationV1AddressMetadata::class;
|
---|
| 29 | protected $metadataDataType = '';
|
---|
| 30 | protected $uspsDataType = GoogleMapsAddressvalidationV1UspsData::class;
|
---|
| 31 | protected $uspsDataDataType = '';
|
---|
| 32 | protected $verdictType = GoogleMapsAddressvalidationV1Verdict::class;
|
---|
| 33 | protected $verdictDataType = '';
|
---|
| 34 |
|
---|
| 35 | /**
|
---|
| 36 | * @param GoogleMapsAddressvalidationV1Address
|
---|
| 37 | */
|
---|
| 38 | public function setAddress(GoogleMapsAddressvalidationV1Address $address)
|
---|
| 39 | {
|
---|
| 40 | $this->address = $address;
|
---|
| 41 | }
|
---|
| 42 | /**
|
---|
| 43 | * @return GoogleMapsAddressvalidationV1Address
|
---|
| 44 | */
|
---|
| 45 | public function getAddress()
|
---|
| 46 | {
|
---|
| 47 | return $this->address;
|
---|
| 48 | }
|
---|
| 49 | /**
|
---|
| 50 | * @param GoogleMapsAddressvalidationV1Address
|
---|
| 51 | */
|
---|
| 52 | public function setEnglishLatinAddress(GoogleMapsAddressvalidationV1Address $englishLatinAddress)
|
---|
| 53 | {
|
---|
| 54 | $this->englishLatinAddress = $englishLatinAddress;
|
---|
| 55 | }
|
---|
| 56 | /**
|
---|
| 57 | * @return GoogleMapsAddressvalidationV1Address
|
---|
| 58 | */
|
---|
| 59 | public function getEnglishLatinAddress()
|
---|
| 60 | {
|
---|
| 61 | return $this->englishLatinAddress;
|
---|
| 62 | }
|
---|
| 63 | /**
|
---|
| 64 | * @param GoogleMapsAddressvalidationV1Geocode
|
---|
| 65 | */
|
---|
| 66 | public function setGeocode(GoogleMapsAddressvalidationV1Geocode $geocode)
|
---|
| 67 | {
|
---|
| 68 | $this->geocode = $geocode;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @return GoogleMapsAddressvalidationV1Geocode
|
---|
| 72 | */
|
---|
| 73 | public function getGeocode()
|
---|
| 74 | {
|
---|
| 75 | return $this->geocode;
|
---|
| 76 | }
|
---|
| 77 | /**
|
---|
| 78 | * @param GoogleMapsAddressvalidationV1AddressMetadata
|
---|
| 79 | */
|
---|
| 80 | public function setMetadata(GoogleMapsAddressvalidationV1AddressMetadata $metadata)
|
---|
| 81 | {
|
---|
| 82 | $this->metadata = $metadata;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @return GoogleMapsAddressvalidationV1AddressMetadata
|
---|
| 86 | */
|
---|
| 87 | public function getMetadata()
|
---|
| 88 | {
|
---|
| 89 | return $this->metadata;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @param GoogleMapsAddressvalidationV1UspsData
|
---|
| 93 | */
|
---|
| 94 | public function setUspsData(GoogleMapsAddressvalidationV1UspsData $uspsData)
|
---|
| 95 | {
|
---|
| 96 | $this->uspsData = $uspsData;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @return GoogleMapsAddressvalidationV1UspsData
|
---|
| 100 | */
|
---|
| 101 | public function getUspsData()
|
---|
| 102 | {
|
---|
| 103 | return $this->uspsData;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @param GoogleMapsAddressvalidationV1Verdict
|
---|
| 107 | */
|
---|
| 108 | public function setVerdict(GoogleMapsAddressvalidationV1Verdict $verdict)
|
---|
| 109 | {
|
---|
| 110 | $this->verdict = $verdict;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @return GoogleMapsAddressvalidationV1Verdict
|
---|
| 114 | */
|
---|
| 115 | public function getVerdict()
|
---|
| 116 | {
|
---|
| 117 | return $this->verdict;
|
---|
| 118 | }
|
---|
| 119 | }
|
---|
| 120 |
|
---|
| 121 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 122 | class_alias(GoogleMapsAddressvalidationV1ValidationResult::class, 'Google_Service_AddressValidation_GoogleMapsAddressvalidationV1ValidationResult');
|
---|