Skip to content

Commit c9ba1f1

Browse files
feat(content): update the api
#### content:v2.1 The following keys were added: - resources.orders.methods.captureOrder (Total Keys: 15) - resources.promotions.methods.create (Total Keys: 12) - schemas.BuyOnGoogleProgramStatus.properties.customerServiceVerifiedEmail.readOnly (Total Keys: 1) - schemas.BuyOnGoogleProgramStatus.properties.participationStage.readOnly (Total Keys: 1) - schemas.CaptureOrderRequest (Total Keys: 2) - schemas.CaptureOrderResponse (Total Keys: 3) - schemas.Product.properties.productHeight.$ref (Total Keys: 1) - schemas.Product.properties.productLength.$ref (Total Keys: 1) - schemas.Product.properties.productWeight.$ref (Total Keys: 1) - schemas.Product.properties.productWidth.$ref (Total Keys: 1) - schemas.ProductDimension (Total Keys: 5) - schemas.ProductWeight (Total Keys: 5) - schemas.Promotion (Total Keys: 47)
1 parent bb9bbea commit c9ba1f1

File tree

7 files changed

+783
-8
lines changed

7 files changed

+783
-8
lines changed

docs/dyn/content_v2_1.buyongoogleprograms.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ <h3>Method Details</h3>
134134
An object of the form:
135135

136136
{ # Response message for the GetProgramStatus method.
137-
&quot;customerServicePendingEmail&quot;: &quot;A String&quot;, # The customer service pending email.
138-
&quot;customerServiceVerifiedEmail&quot;: &quot;A String&quot;, # The customer service verified email.
139-
&quot;participationStage&quot;: &quot;A String&quot;, # The current participation stage for the program.
137+
&quot;customerServicePendingEmail&quot;: &quot;A String&quot;, # The customer service pending email. After verification this field becomes empty.
138+
&quot;customerServiceVerifiedEmail&quot;: &quot;A String&quot;, # Output only. The customer service verified email.
139+
&quot;participationStage&quot;: &quot;A String&quot;, # Output only. The current participation stage for the program.
140140
}</pre>
141141
</div>
142142

docs/dyn/content_v2_1.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ <h2>Instance Methods</h2>
174174
</p>
175175
<p class="firstline">Returns the productstatuses Resource.</p>
176176

177+
<p class="toc_element">
178+
<code><a href="content_v2_1.promotions.html">promotions()</a></code>
179+
</p>
180+
<p class="firstline">Returns the promotions Resource.</p>
181+
177182
<p class="toc_element">
178183
<code><a href="content_v2_1.pubsubnotificationsettings.html">pubsubnotificationsettings()</a></code>
179184
</p>

docs/dyn/content_v2_1.orders.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ <h2>Instance Methods</h2>
8989
<p class="toc_element">
9090
<code><a href="#canceltestorderbycustomer">canceltestorderbycustomer(merchantId, orderId, body=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Sandbox only. Cancels a test order for customer-initiated cancellation.</p>
92+
<p class="toc_element">
93+
<code><a href="#captureOrder">captureOrder(merchantId, orderId, body=None, x__xgafv=None)</a></code></p>
94+
<p class="firstline">Capture funds from the customer for the current order total. This method should be called after the merchant verifies that they are able and ready to start shipping the order. This method blocks until a response is received from the payment processsor. If this method succeeds, the merchant is guaranteed to receive funds for the order after shipment. If the request fails, it can be retried or the order may be cancelled. This method cannot be called after the entire order is already shipped.</p>
9295
<p class="toc_element">
9396
<code><a href="#close">close()</a></code></p>
9497
<p class="firstline">Close httplib2 connections.</p>
@@ -282,6 +285,32 @@ <h3>Method Details</h3>
282285
}</pre>
283286
</div>
284287

288+
<div class="method">
289+
<code class="details" id="captureOrder">captureOrder(merchantId, orderId, body=None, x__xgafv=None)</code>
290+
<pre>Capture funds from the customer for the current order total. This method should be called after the merchant verifies that they are able and ready to start shipping the order. This method blocks until a response is received from the payment processsor. If this method succeeds, the merchant is guaranteed to receive funds for the order after shipment. If the request fails, it can be retried or the order may be cancelled. This method cannot be called after the entire order is already shipped.
291+
292+
Args:
293+
merchantId: string, Required. The ID of the account that manages the order. This cannot be a multi-client account. (required)
294+
orderId: string, Required. The ID of the Order. (required)
295+
body: object, The request body.
296+
The object takes the form of:
297+
298+
{ # Request message for the CaptureOrder method.
299+
}
300+
301+
x__xgafv: string, V1 error format.
302+
Allowed values
303+
1 - v1 error format
304+
2 - v2 error format
305+
306+
Returns:
307+
An object of the form:
308+
309+
{ # Response message for the CaptureOrder method.
310+
&quot;executionStatus&quot;: &quot;A String&quot;, # The status of the execution. Only defined if the request was successful. Acceptable values are: * &quot;duplicate&quot; * &quot;executed&quot;
311+
}</pre>
312+
</div>
313+
285314
<div class="method">
286315
<code class="details" id="close">close()</code>
287316
<pre>Close httplib2 connections.</pre>

0 commit comments

Comments
 (0)