Skip to content

Commit 61b88d9

Browse files
feat(content): update the api
#### content:v2.1 The following keys were added: - schemas.Product.properties.sustainabilityIncentives (Total Keys: 2) - schemas.ProductSustainabilityIncentive (Total Keys: 6)
1 parent f1048c4 commit 61b88d9

File tree

2 files changed

+118
-1
lines changed

2 files changed

+118
-1
lines changed

docs/dyn/content_v2_1.products.html

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,16 @@ <h3>Method Details</h3>
389389
&quot;period&quot;: &quot;A String&quot;, # The type of subscription period. - &quot;`month`&quot; - &quot;`year`&quot;
390390
&quot;periodLength&quot;: &quot;A String&quot;, # The number of subscription periods the buyer has to pay.
391391
},
392+
&quot;sustainabilityIncentives&quot;: [ # Optional. The list of sustainability incentive programs.
393+
{ # Information regarding sustainability related incentive programs such as rebates or tax relief.
394+
&quot;amount&quot;: { # Optional. The fixed amount of the incentive.
395+
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
396+
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
397+
},
398+
&quot;percentage&quot;: 3.14, # Optional. The percentage of the sale price that the incentive is applied to.
399+
&quot;type&quot;: &quot;A String&quot;, # Required. Sustainability incentive program.
400+
},
401+
],
392402
&quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item&#x27;s country of sale.
393403
&quot;taxCategory&quot;: &quot;A String&quot;, # The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
394404
&quot;taxes&quot;: [ # Tax information.
@@ -713,6 +723,16 @@ <h3>Method Details</h3>
713723
&quot;period&quot;: &quot;A String&quot;, # The type of subscription period. - &quot;`month`&quot; - &quot;`year`&quot;
714724
&quot;periodLength&quot;: &quot;A String&quot;, # The number of subscription periods the buyer has to pay.
715725
},
726+
&quot;sustainabilityIncentives&quot;: [ # Optional. The list of sustainability incentive programs.
727+
{ # Information regarding sustainability related incentive programs such as rebates or tax relief.
728+
&quot;amount&quot;: { # Optional. The fixed amount of the incentive.
729+
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
730+
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
731+
},
732+
&quot;percentage&quot;: 3.14, # Optional. The percentage of the sale price that the incentive is applied to.
733+
&quot;type&quot;: &quot;A String&quot;, # Required. Sustainability incentive program.
734+
},
735+
],
716736
&quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item&#x27;s country of sale.
717737
&quot;taxCategory&quot;: &quot;A String&quot;, # The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
718738
&quot;taxes&quot;: [ # Tax information.
@@ -1043,6 +1063,16 @@ <h3>Method Details</h3>
10431063
&quot;period&quot;: &quot;A String&quot;, # The type of subscription period. - &quot;`month`&quot; - &quot;`year`&quot;
10441064
&quot;periodLength&quot;: &quot;A String&quot;, # The number of subscription periods the buyer has to pay.
10451065
},
1066+
&quot;sustainabilityIncentives&quot;: [ # Optional. The list of sustainability incentive programs.
1067+
{ # Information regarding sustainability related incentive programs such as rebates or tax relief.
1068+
&quot;amount&quot;: { # Optional. The fixed amount of the incentive.
1069+
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
1070+
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
1071+
},
1072+
&quot;percentage&quot;: 3.14, # Optional. The percentage of the sale price that the incentive is applied to.
1073+
&quot;type&quot;: &quot;A String&quot;, # Required. Sustainability incentive program.
1074+
},
1075+
],
10461076
&quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item&#x27;s country of sale.
10471077
&quot;taxCategory&quot;: &quot;A String&quot;, # The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
10481078
&quot;taxes&quot;: [ # Tax information.
@@ -1348,6 +1378,16 @@ <h3>Method Details</h3>
13481378
&quot;period&quot;: &quot;A String&quot;, # The type of subscription period. - &quot;`month`&quot; - &quot;`year`&quot;
13491379
&quot;periodLength&quot;: &quot;A String&quot;, # The number of subscription periods the buyer has to pay.
13501380
},
1381+
&quot;sustainabilityIncentives&quot;: [ # Optional. The list of sustainability incentive programs.
1382+
{ # Information regarding sustainability related incentive programs such as rebates or tax relief.
1383+
&quot;amount&quot;: { # Optional. The fixed amount of the incentive.
1384+
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
1385+
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
1386+
},
1387+
&quot;percentage&quot;: 3.14, # Optional. The percentage of the sale price that the incentive is applied to.
1388+
&quot;type&quot;: &quot;A String&quot;, # Required. Sustainability incentive program.
1389+
},
1390+
],
13511391
&quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item&#x27;s country of sale.
13521392
&quot;taxCategory&quot;: &quot;A String&quot;, # The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
13531393
&quot;taxes&quot;: [ # Tax information.
@@ -1652,6 +1692,16 @@ <h3>Method Details</h3>
16521692
&quot;period&quot;: &quot;A String&quot;, # The type of subscription period. - &quot;`month`&quot; - &quot;`year`&quot;
16531693
&quot;periodLength&quot;: &quot;A String&quot;, # The number of subscription periods the buyer has to pay.
16541694
},
1695+
&quot;sustainabilityIncentives&quot;: [ # Optional. The list of sustainability incentive programs.
1696+
{ # Information regarding sustainability related incentive programs such as rebates or tax relief.
1697+
&quot;amount&quot;: { # Optional. The fixed amount of the incentive.
1698+
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
1699+
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
1700+
},
1701+
&quot;percentage&quot;: 3.14, # Optional. The percentage of the sale price that the incentive is applied to.
1702+
&quot;type&quot;: &quot;A String&quot;, # Required. Sustainability incentive program.
1703+
},
1704+
],
16551705
&quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item&#x27;s country of sale.
16561706
&quot;taxCategory&quot;: &quot;A String&quot;, # The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
16571707
&quot;taxes&quot;: [ # Tax information.
@@ -1968,6 +2018,16 @@ <h3>Method Details</h3>
19682018
&quot;period&quot;: &quot;A String&quot;, # The type of subscription period. - &quot;`month`&quot; - &quot;`year`&quot;
19692019
&quot;periodLength&quot;: &quot;A String&quot;, # The number of subscription periods the buyer has to pay.
19702020
},
2021+
&quot;sustainabilityIncentives&quot;: [ # Optional. The list of sustainability incentive programs.
2022+
{ # Information regarding sustainability related incentive programs such as rebates or tax relief.
2023+
&quot;amount&quot;: { # Optional. The fixed amount of the incentive.
2024+
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
2025+
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
2026+
},
2027+
&quot;percentage&quot;: 3.14, # Optional. The percentage of the sale price that the incentive is applied to.
2028+
&quot;type&quot;: &quot;A String&quot;, # Required. Sustainability incentive program.
2029+
},
2030+
],
19712031
&quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item&#x27;s country of sale.
19722032
&quot;taxCategory&quot;: &quot;A String&quot;, # The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
19732033
&quot;taxes&quot;: [ # Tax information.
@@ -2290,6 +2350,16 @@ <h3>Method Details</h3>
22902350
&quot;period&quot;: &quot;A String&quot;, # The type of subscription period. - &quot;`month`&quot; - &quot;`year`&quot;
22912351
&quot;periodLength&quot;: &quot;A String&quot;, # The number of subscription periods the buyer has to pay.
22922352
},
2353+
&quot;sustainabilityIncentives&quot;: [ # Optional. The list of sustainability incentive programs.
2354+
{ # Information regarding sustainability related incentive programs such as rebates or tax relief.
2355+
&quot;amount&quot;: { # Optional. The fixed amount of the incentive.
2356+
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
2357+
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
2358+
},
2359+
&quot;percentage&quot;: 3.14, # Optional. The percentage of the sale price that the incentive is applied to.
2360+
&quot;type&quot;: &quot;A String&quot;, # Required. Sustainability incentive program.
2361+
},
2362+
],
22932363
&quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item&#x27;s country of sale.
22942364
&quot;taxCategory&quot;: &quot;A String&quot;, # The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
22952365
&quot;taxes&quot;: [ # Tax information.
@@ -2594,6 +2664,16 @@ <h3>Method Details</h3>
25942664
&quot;period&quot;: &quot;A String&quot;, # The type of subscription period. - &quot;`month`&quot; - &quot;`year`&quot;
25952665
&quot;periodLength&quot;: &quot;A String&quot;, # The number of subscription periods the buyer has to pay.
25962666
},
2667+
&quot;sustainabilityIncentives&quot;: [ # Optional. The list of sustainability incentive programs.
2668+
{ # Information regarding sustainability related incentive programs such as rebates or tax relief.
2669+
&quot;amount&quot;: { # Optional. The fixed amount of the incentive.
2670+
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
2671+
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
2672+
},
2673+
&quot;percentage&quot;: 3.14, # Optional. The percentage of the sale price that the incentive is applied to.
2674+
&quot;type&quot;: &quot;A String&quot;, # Required. Sustainability incentive program.
2675+
},
2676+
],
25972677
&quot;targetCountry&quot;: &quot;A String&quot;, # Required. The CLDR territory code for the item&#x27;s country of sale.
25982678
&quot;taxCategory&quot;: &quot;A String&quot;, # The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
25992679
&quot;taxes&quot;: [ # Tax information.

googleapiclient/discovery_cache/documents/content.v2.1.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4570,7 +4570,7 @@
45704570
}
45714571
}
45724572
},
4573-
"revision": "20241120",
4573+
"revision": "20241217",
45744574
"rootUrl": "https://shoppingcontent.googleapis.com/",
45754575
"schemas": {
45764576
"Account": {
@@ -10512,6 +10512,13 @@ false
1051210512
"$ref": "ProductSubscriptionCost",
1051310513
"description": "Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract."
1051410514
},
10515+
"sustainabilityIncentives": {
10516+
"description": "Optional. The list of sustainability incentive programs.",
10517+
"items": {
10518+
"$ref": "ProductSustainabilityIncentive"
10519+
},
10520+
"type": "array"
10521+
},
1051510522
"targetCountry": {
1051610523
"description": "Required. The CLDR territory code for the item's country of sale.",
1051710524
"type": "string"
@@ -11075,6 +11082,36 @@ false
1107511082
},
1107611083
"type": "object"
1107711084
},
11085+
"ProductSustainabilityIncentive": {
11086+
"description": "Information regarding sustainability related incentive programs such as rebates or tax relief.",
11087+
"id": "ProductSustainabilityIncentive",
11088+
"properties": {
11089+
"amount": {
11090+
"$ref": "Price",
11091+
"description": "Optional. The fixed amount of the incentive."
11092+
},
11093+
"percentage": {
11094+
"description": "Optional. The percentage of the sale price that the incentive is applied to.",
11095+
"format": "double",
11096+
"type": "number"
11097+
},
11098+
"type": {
11099+
"description": "Required. Sustainability incentive program.",
11100+
"enum": [
11101+
"TYPE_UNSPECIFIED",
11102+
"EV_TAX_CREDIT",
11103+
"EV_PRICE_DISCOUNT"
11104+
],
11105+
"enumDescriptions": [
11106+
"Unspecified or unknown sustainability incentive type.",
11107+
"Program offering tax liability reductions for electric vehicles and, in some countries, plug-in hybrids. These reductions can be based on a specific amount or a percentage of the sale price.",
11108+
"A subsidy program, often called an environmental bonus, provides a purchase grant for electric vehicles and, in some countries, plug-in hybrids. The grant amount may be a fixed sum or a percentage of the sale price."
11109+
],
11110+
"type": "string"
11111+
}
11112+
},
11113+
"type": "object"
11114+
},
1107811115
"ProductTax": {
1107911116
"id": "ProductTax",
1108011117
"properties": {

0 commit comments

Comments
 (0)