/
var
/
www
/
flurhymez
/
vendor
/
google
/
apiclient-services
/
src
/
ShoppingContent
/
Resource
/
/var/www/flurhymez/vendor/google/apiclient-services/src/ShoppingContent/Resource
mkdir
upload
Name
Size
Mode
Actions
Accounts.php
12843
0644
edit
dl
rm
AccountsCredentials.php
1881
0644
edit
dl
rm
AccountsLabels.php
3976
0644
edit
dl
rm
AccountsReturncarrier.php
3928
0644
edit
dl
rm
Accountstatuses.php
3942
0644
edit
dl
rm
Accounttax.php
4322
0644
edit
dl
rm
Buyongoogleprograms.php
7190
0644
edit
dl
rm
Collections.php
4455
0644
edit
dl
rm
Collectionstatuses.php
3004
0644
edit
dl
rm
Csses.php
3637
0644
edit
dl
rm
Datafeeds.php
6113
0644
edit
dl
rm
Datafeedstatuses.php
4025
0644
edit
dl
rm
Freelistingsprogram.php
2431
0644
edit
dl
rm
Liasettings.php
10884
0644
edit
dl
rm
Localinventory.php
2688
0644
edit
dl
rm
Orderinvoices.php
3402
0644
edit
dl
rm
Orderreports.php
3554
0644
edit
dl
rm
Orderreturns.php
7853
0644
edit
dl
rm
OrderreturnsLabels.php
2165
0644
edit
dl
rm
Orders.php
23683
0644
edit
dl
rm
Ordertrackingsignals.php
1792
0644
edit
dl
rm
Pos.php
5875
0644
edit
dl
rm
Products.php
6175
0644
edit
dl
rm
Productstatuses.php
3695
0644
edit
dl
rm
ProductstatusesRepricingreports.php
3303
0644
edit
dl
rm
Promotions.php
2346
0644
edit
dl
rm
Pubsubnotificationsettings.php
2553
0644
edit
dl
rm
Regionalinventory.php
2862
0644
edit
dl
rm
Regions.php
4861
0644
edit
dl
rm
Reports.php
1844
0644
edit
dl
rm
Repricingrules.php
5444
0644
edit
dl
rm
RepricingrulesRepricingreports.php
2863
0644
edit
dl
rm
Returnaddress.php
4648
0644
edit
dl
rm
Returnpolicy.php
4261
0644
edit
dl
rm
Returnpolicyonline.php
4526
0644
edit
dl
rm
Settlementreports.php
3032
0644
edit
dl
rm
Settlementtransactions.php
2369
0644
edit
dl
rm
Shippingsettings.php
6651
0644
edit
dl
rm
Shoppingadsprogram.php
2345
0644
edit
dl
rm
Edit:
/var/www/flurhymez/vendor/google/apiclient-services/src/ShoppingContent/Resource/Promotions.php
(2346B)
<?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\ShoppingContent\Resource; use Google\Service\ShoppingContent\Promotion; /** * The "promotions" collection of methods. * Typical usage is: * <code> * $contentService = new Google\Service\ShoppingContent(...); * $promotions = $contentService->promotions; * </code> */ class Promotions extends \Google\Service\Resource { /** * Inserts a promotion for your Merchant Center account. If the promotion * already exists, then it will update the promotion instead. * (promotions.create) * * @param string $merchantId Required. The ID of the account that contains the * collection. * @param Promotion $postBody * @param array $optParams Optional parameters. * @return Promotion */ public function create($merchantId, Promotion $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('create', [$params], Promotion::class); } /** * Retrieves a promotion from your Merchant Center account. (promotions.get) * * @param string $merchantId Required. The ID of the account that contains the * collection. * @param string $id Required. REST ID of the promotion to retrieve. * @param array $optParams Optional parameters. * @return Promotion */ public function get($merchantId, $id, $optParams = []) { $params = ['merchantId' => $merchantId, 'id' => $id]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Promotion::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Promotions::class, 'Google_Service_ShoppingContent_Resource_Promotions');
Save
cmd:
run