Skip to content

Commit cba521d

Browse files
Regenerate androidpublisher client
1 parent c9fa9d7 commit cba521d

22 files changed

+1437
-23
lines changed

src/AndroidPublisher.php

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1960,7 +1960,37 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
19601960
'orders',
19611961
[
19621962
'methods' => [
1963-
'refund' => [
1963+
'batchget' => [
1964+
'path' => 'androidpublisher/v3/applications/{packageName}/orders:batchGet',
1965+
'httpMethod' => 'GET',
1966+
'parameters' => [
1967+
'packageName' => [
1968+
'location' => 'path',
1969+
'type' => 'string',
1970+
'required' => true,
1971+
],
1972+
'orderIds' => [
1973+
'location' => 'query',
1974+
'type' => 'string',
1975+
'repeated' => true,
1976+
],
1977+
],
1978+
],'get' => [
1979+
'path' => 'androidpublisher/v3/applications/{packageName}/orders/{orderId}',
1980+
'httpMethod' => 'GET',
1981+
'parameters' => [
1982+
'packageName' => [
1983+
'location' => 'path',
1984+
'type' => 'string',
1985+
'required' => true,
1986+
],
1987+
'orderId' => [
1988+
'location' => 'path',
1989+
'type' => 'string',
1990+
'required' => true,
1991+
],
1992+
],
1993+
],'refund' => [
19641994
'path' => 'androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund',
19651995
'httpMethod' => 'POST',
19661996
'parameters' => [
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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\AndroidPublisher;
19+
20+
class BatchGetOrdersResponse extends \Google\Collection
21+
{
22+
protected $collection_key = 'orders';
23+
protected $ordersType = Order::class;
24+
protected $ordersDataType = 'array';
25+
26+
/**
27+
* @param Order[]
28+
*/
29+
public function setOrders($orders)
30+
{
31+
$this->orders = $orders;
32+
}
33+
/**
34+
* @return Order[]
35+
*/
36+
public function getOrders()
37+
{
38+
return $this->orders;
39+
}
40+
}
41+
42+
// Adding a class alias for backwards compatibility with the previous class name.
43+
class_alias(BatchGetOrdersResponse::class, 'Google_Service_AndroidPublisher_BatchGetOrdersResponse');

src/AndroidPublisher/BuyerAddress.php

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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\AndroidPublisher;
19+
20+
class BuyerAddress extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $buyerCountry;
26+
/**
27+
* @var string
28+
*/
29+
public $buyerPostcode;
30+
/**
31+
* @var string
32+
*/
33+
public $buyerState;
34+
35+
/**
36+
* @param string
37+
*/
38+
public function setBuyerCountry($buyerCountry)
39+
{
40+
$this->buyerCountry = $buyerCountry;
41+
}
42+
/**
43+
* @return string
44+
*/
45+
public function getBuyerCountry()
46+
{
47+
return $this->buyerCountry;
48+
}
49+
/**
50+
* @param string
51+
*/
52+
public function setBuyerPostcode($buyerPostcode)
53+
{
54+
$this->buyerPostcode = $buyerPostcode;
55+
}
56+
/**
57+
* @return string
58+
*/
59+
public function getBuyerPostcode()
60+
{
61+
return $this->buyerPostcode;
62+
}
63+
/**
64+
* @param string
65+
*/
66+
public function setBuyerState($buyerState)
67+
{
68+
$this->buyerState = $buyerState;
69+
}
70+
/**
71+
* @return string
72+
*/
73+
public function getBuyerState()
74+
{
75+
return $this->buyerState;
76+
}
77+
}
78+
79+
// Adding a class alias for backwards compatibility with the previous class name.
80+
class_alias(BuyerAddress::class, 'Google_Service_AndroidPublisher_BuyerAddress');
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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\AndroidPublisher;
19+
20+
class CancellationEvent extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $eventTime;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setEventTime($eventTime)
31+
{
32+
$this->eventTime = $eventTime;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getEventTime()
38+
{
39+
return $this->eventTime;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(CancellationEvent::class, 'Google_Service_AndroidPublisher_CancellationEvent');

src/AndroidPublisher/LineItem.php

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
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\AndroidPublisher;
19+
20+
class LineItem extends \Google\Model
21+
{
22+
protected $listingPriceType = Money::class;
23+
protected $listingPriceDataType = '';
24+
protected $oneTimePurchaseDetailsType = OneTimePurchaseDetails::class;
25+
protected $oneTimePurchaseDetailsDataType = '';
26+
protected $paidAppDetailsType = PaidAppDetails::class;
27+
protected $paidAppDetailsDataType = '';
28+
/**
29+
* @var string
30+
*/
31+
public $productId;
32+
/**
33+
* @var string
34+
*/
35+
public $productTitle;
36+
protected $subscriptionDetailsType = SubscriptionDetails::class;
37+
protected $subscriptionDetailsDataType = '';
38+
protected $taxType = Money::class;
39+
protected $taxDataType = '';
40+
protected $totalType = Money::class;
41+
protected $totalDataType = '';
42+
43+
/**
44+
* @param Money
45+
*/
46+
public function setListingPrice(Money $listingPrice)
47+
{
48+
$this->listingPrice = $listingPrice;
49+
}
50+
/**
51+
* @return Money
52+
*/
53+
public function getListingPrice()
54+
{
55+
return $this->listingPrice;
56+
}
57+
/**
58+
* @param OneTimePurchaseDetails
59+
*/
60+
public function setOneTimePurchaseDetails(OneTimePurchaseDetails $oneTimePurchaseDetails)
61+
{
62+
$this->oneTimePurchaseDetails = $oneTimePurchaseDetails;
63+
}
64+
/**
65+
* @return OneTimePurchaseDetails
66+
*/
67+
public function getOneTimePurchaseDetails()
68+
{
69+
return $this->oneTimePurchaseDetails;
70+
}
71+
/**
72+
* @param PaidAppDetails
73+
*/
74+
public function setPaidAppDetails(PaidAppDetails $paidAppDetails)
75+
{
76+
$this->paidAppDetails = $paidAppDetails;
77+
}
78+
/**
79+
* @return PaidAppDetails
80+
*/
81+
public function getPaidAppDetails()
82+
{
83+
return $this->paidAppDetails;
84+
}
85+
/**
86+
* @param string
87+
*/
88+
public function setProductId($productId)
89+
{
90+
$this->productId = $productId;
91+
}
92+
/**
93+
* @return string
94+
*/
95+
public function getProductId()
96+
{
97+
return $this->productId;
98+
}
99+
/**
100+
* @param string
101+
*/
102+
public function setProductTitle($productTitle)
103+
{
104+
$this->productTitle = $productTitle;
105+
}
106+
/**
107+
* @return string
108+
*/
109+
public function getProductTitle()
110+
{
111+
return $this->productTitle;
112+
}
113+
/**
114+
* @param SubscriptionDetails
115+
*/
116+
public function setSubscriptionDetails(SubscriptionDetails $subscriptionDetails)
117+
{
118+
$this->subscriptionDetails = $subscriptionDetails;
119+
}
120+
/**
121+
* @return SubscriptionDetails
122+
*/
123+
public function getSubscriptionDetails()
124+
{
125+
return $this->subscriptionDetails;
126+
}
127+
/**
128+
* @param Money
129+
*/
130+
public function setTax(Money $tax)
131+
{
132+
$this->tax = $tax;
133+
}
134+
/**
135+
* @return Money
136+
*/
137+
public function getTax()
138+
{
139+
return $this->tax;
140+
}
141+
/**
142+
* @param Money
143+
*/
144+
public function setTotal(Money $total)
145+
{
146+
$this->total = $total;
147+
}
148+
/**
149+
* @return Money
150+
*/
151+
public function getTotal()
152+
{
153+
return $this->total;
154+
}
155+
}
156+
157+
// Adding a class alias for backwards compatibility with the previous class name.
158+
class_alias(LineItem::class, 'Google_Service_AndroidPublisher_LineItem');

0 commit comments

Comments
 (0)