Skip to content

Commit

Permalink
Regenerate walletobjects client (#5890)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Nov 27, 2024
1 parent 3f72923 commit fcb190b
Show file tree
Hide file tree
Showing 15 changed files with 268 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Walletobjects/EventTicketClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ class EventTicketClass extends \Google\Collection
protected $locationsDataType = 'array';
protected $logoType = Image::class;
protected $logoDataType = '';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
protected $messagesType = Message::class;
protected $messagesDataType = 'array';
/**
Expand Down Expand Up @@ -557,6 +559,20 @@ public function getLogo()
{
return $this->logo;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param Message[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/Walletobjects/EventTicketObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ class EventTicketObject extends \Google\Collection
protected $linksModuleDataDataType = '';
protected $locationsType = LatLongPoint::class;
protected $locationsDataType = 'array';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
protected $messagesType = Message::class;
protected $messagesDataType = 'array';
/**
Expand Down Expand Up @@ -387,6 +389,20 @@ public function getLocations()
{
return $this->locations;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param Message[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/Walletobjects/FlightClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ class FlightClass extends \Google\Collection
protected $localizedIssuerNameDataType = '';
protected $locationsType = LatLongPoint::class;
protected $locationsDataType = 'array';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
protected $messagesType = Message::class;
protected $messagesDataType = 'array';
/**
Expand Down Expand Up @@ -537,6 +539,20 @@ public function getLocations()
{
return $this->locations;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param Message[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/Walletobjects/FlightObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ class FlightObject extends \Google\Collection
protected $linksModuleDataDataType = '';
protected $locationsType = LatLongPoint::class;
protected $locationsDataType = 'array';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
protected $messagesType = Message::class;
protected $messagesDataType = 'array';
/**
Expand Down Expand Up @@ -363,6 +365,20 @@ public function getLocations()
{
return $this->locations;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param Message[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/Walletobjects/GenericClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class GenericClass extends \Google\Collection
protected $imageModulesDataDataType = 'array';
protected $linksModuleDataType = LinksModuleData::class;
protected $linksModuleDataDataType = '';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
protected $messagesType = Message::class;
protected $messagesDataType = 'array';
/**
Expand Down Expand Up @@ -157,6 +159,20 @@ public function getLinksModuleData()
{
return $this->linksModuleData;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param Message[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/Walletobjects/GenericObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ class GenericObject extends \Google\Collection
protected $linksModuleDataDataType = '';
protected $logoType = Image::class;
protected $logoDataType = '';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
protected $messagesType = Message::class;
protected $messagesDataType = 'array';
protected $notificationsType = Notifications::class;
Expand Down Expand Up @@ -301,6 +303,20 @@ public function getLogo()
{
return $this->logo;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param Message[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/Walletobjects/GiftCardClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ class GiftCardClass extends \Google\Collection
protected $localizedPinLabelDataType = '';
protected $locationsType = LatLongPoint::class;
protected $locationsDataType = 'array';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
/**
* @var string
*/
Expand Down Expand Up @@ -473,6 +475,20 @@ public function getLocations()
{
return $this->locations;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param string
*/
Expand Down
16 changes: 16 additions & 0 deletions src/Walletobjects/GiftCardObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ class GiftCardObject extends \Google\Collection
protected $linksModuleDataDataType = '';
protected $locationsType = LatLongPoint::class;
protected $locationsDataType = 'array';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
protected $messagesType = Message::class;
protected $messagesDataType = 'array';
/**
Expand Down Expand Up @@ -393,6 +395,20 @@ public function getLocations()
{
return $this->locations;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param Message[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/Walletobjects/LoyaltyClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ class LoyaltyClass extends \Google\Collection
protected $localizedSecondaryRewardsTierLabelDataType = '';
protected $locationsType = LatLongPoint::class;
protected $locationsDataType = 'array';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
protected $messagesType = Message::class;
protected $messagesDataType = 'array';
/**
Expand Down Expand Up @@ -531,6 +533,20 @@ public function getLocations()
{
return $this->locations;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param Message[]
*/
Expand Down
16 changes: 16 additions & 0 deletions src/Walletobjects/LoyaltyObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ class LoyaltyObject extends \Google\Collection
protected $locationsDataType = 'array';
protected $loyaltyPointsType = LoyaltyPoints::class;
protected $loyaltyPointsDataType = '';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
protected $messagesType = Message::class;
protected $messagesDataType = 'array';
/**
Expand Down Expand Up @@ -393,6 +395,20 @@ public function getLoyaltyPoints()
{
return $this->loyaltyPoints;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param Message[]
*/
Expand Down
44 changes: 44 additions & 0 deletions src/Walletobjects/MerchantLocation.php
Original file line number Diff line number Diff line change
@@ -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\Walletobjects;

class MerchantLocation 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(MerchantLocation::class, 'Google_Service_Walletobjects_MerchantLocation');
16 changes: 16 additions & 0 deletions src/Walletobjects/OfferClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ class OfferClass extends \Google\Collection
protected $localizedTitleDataType = '';
protected $locationsType = LatLongPoint::class;
protected $locationsDataType = 'array';
protected $merchantLocationsType = MerchantLocation::class;
protected $merchantLocationsDataType = 'array';
protected $messagesType = Message::class;
protected $messagesDataType = 'array';
/**
Expand Down Expand Up @@ -495,6 +497,20 @@ public function getLocations()
{
return $this->locations;
}
/**
* @param MerchantLocation[]
*/
public function setMerchantLocations($merchantLocations)
{
$this->merchantLocations = $merchantLocations;
}
/**
* @return MerchantLocation[]
*/
public function getMerchantLocations()
{
return $this->merchantLocations;
}
/**
* @param Message[]
*/
Expand Down
Loading

0 comments on commit fcb190b

Please sign in to comment.