Debian Codegraph @

docs/dyn/content_v2_1.freelistingsprogram.checkoutsettings.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="content_v2_1.html">Content API for Shopping</a> . <a href="content_v2_1.freelistingsprogram.html">freelistingsprogram</a> . <a href="content_v2_1.freelistingsprogram.checkoutsettings.html">checkoutsettings</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#delete">delete(merchantId, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes `Checkout` settings and unenrolls merchant from `Checkout` program.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(merchantId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets Checkout settings for the given merchant. This includes information about review state, enrollment state and URL settings.</p>
86 <p class="toc_element">
87 <code><a href="#insert">insert(merchantId, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Enrolls merchant in `Checkout` program.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="delete">delete(merchantId, x__xgafv=None)</code>
97 <pre>Deletes `Checkout` settings and unenrolls merchant from `Checkout` program.
98
99 Args:
100 merchantId: string, Required. The ID of the account. (required)
101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
105 </pre>
106 </div>
107
108 <div class="method">
109 <code class="details" id="get">get(merchantId, x__xgafv=None)</code>
110 <pre>Gets Checkout settings for the given merchant. This includes information about review state, enrollment state and URL settings.
111
112 Args:
113 merchantId: string, Required. The ID of the account. (required)
114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
118
119 Returns:
120 An object of the form:
121
122 { # `CheckoutSettings` for a specific merchant ID.
123 &quot;effectiveEnrollmentState&quot;: &quot;A String&quot;, # Output only. The effective value of enrollment state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account.
124 &quot;effectiveReviewState&quot;: &quot;A String&quot;, # Output only. The effective value of review state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account.
125 &quot;effectiveUriSettings&quot;: { # Specifications related to the `Checkout` URL. The `UriTemplate` is of the form `https://www.mystore.com/checkout?item_id={id}` where `{id}` will be automatically replaced with data from the merchant account with this attribute [offer_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.offer_id) # The effective value of `url_settings` for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account.
126 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart.
127 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart.
128 },
129 &quot;enrollmentState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant enrollment state in `Checkout` feature.
130 &quot;merchantId&quot;: &quot;A String&quot;, # Required. The ID of the account.
131 &quot;reviewState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant review state in `Checkout` feature. This is set based on the data quality reviews of the URL provided by the merchant. A merchant with enrollment state as `ENROLLED` can be in the following review states: `IN_REVIEW`, `APPROVED` or `DISAPPROVED`. A merchant must be in an enrollment_state of `ENROLLED` before a review can begin for the merchant.
132 &quot;uriSettings&quot;: { # Specifications related to the `Checkout` URL. The `UriTemplate` is of the form `https://www.mystore.com/checkout?item_id={id}` where `{id}` will be automatically replaced with data from the merchant account with this attribute [offer_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.offer_id) # URL settings for cart or checkout URL.
133 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart.
134 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart.
135 },
136 }</pre>
137 </div>
138
139 <div class="method">
140 <code class="details" id="insert">insert(merchantId, body=None, x__xgafv=None)</code>
141 <pre>Enrolls merchant in `Checkout` program.
142
143 Args:
144 merchantId: string, Required. The ID of the account. (required)
145 body: object, The request body.
146 The object takes the form of:
147
148 { # Request message for the `InsertCheckoutSettings` method.
149 &quot;uriSettings&quot;: { # Specifications related to the `Checkout` URL. The `UriTemplate` is of the form `https://www.mystore.com/checkout?item_id={id}` where `{id}` will be automatically replaced with data from the merchant account with this attribute [offer_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.offer_id) # Required. The `UrlSettings` for the request. The presence of URL settings indicates `Checkout` enrollment.
150 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart.
151 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart.
152 },
153 }
154
155 x__xgafv: string, V1 error format.
156 Allowed values
157 1 - v1 error format
158 2 - v2 error format
159
160 Returns:
161 An object of the form:
162
163 { # `CheckoutSettings` for a specific merchant ID.
164 &quot;effectiveEnrollmentState&quot;: &quot;A String&quot;, # Output only. The effective value of enrollment state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account.
165 &quot;effectiveReviewState&quot;: &quot;A String&quot;, # Output only. The effective value of review state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account.
166 &quot;effectiveUriSettings&quot;: { # Specifications related to the `Checkout` URL. The `UriTemplate` is of the form `https://www.mystore.com/checkout?item_id={id}` where `{id}` will be automatically replaced with data from the merchant account with this attribute [offer_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.offer_id) # The effective value of `url_settings` for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account.
167 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart.
168 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart.
169 },
170 &quot;enrollmentState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant enrollment state in `Checkout` feature.
171 &quot;merchantId&quot;: &quot;A String&quot;, # Required. The ID of the account.
172 &quot;reviewState&quot;: &quot;A String&quot;, # Output only. Reflects the merchant review state in `Checkout` feature. This is set based on the data quality reviews of the URL provided by the merchant. A merchant with enrollment state as `ENROLLED` can be in the following review states: `IN_REVIEW`, `APPROVED` or `DISAPPROVED`. A merchant must be in an enrollment_state of `ENROLLED` before a review can begin for the merchant.
173 &quot;uriSettings&quot;: { # Specifications related to the `Checkout` URL. The `UriTemplate` is of the form `https://www.mystore.com/checkout?item_id={id}` where `{id}` will be automatically replaced with data from the merchant account with this attribute [offer_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.offer_id) # URL settings for cart or checkout URL.
174 &quot;cartUriTemplate&quot;: &quot;A String&quot;, # URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart.
175 &quot;checkoutUriTemplate&quot;: &quot;A String&quot;, # URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart.
176 },
177 }</pre>
178 </div>
179
180 </body></html>