You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/ProductApiResponse.kt
Copy file name to clipboardExpand all lines: plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/ProductDtoMapper.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ class ProductDtoMapper @Inject constructor(
Copy file name to clipboardExpand all lines: plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/ProductRestClient.kt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1850,6 +1850,9 @@ class ProductRestClient @Inject constructor(
1850
1850
if (storedWCProductModel.sku != updatedProductModel.sku) {
1851
1851
body["sku"] = updatedProductModel.sku
1852
1852
}
1853
+
if (storedWCProductModel.globalUniqueId != updatedProductModel.globalUniqueId) {
Copy file name to clipboardExpand all lines: plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/ProductVariationApiResponse.kt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ class ProductVariationApiResponse : Response {
12
12
var description:String?=null
13
13
var permalink:String?=null
14
14
var sku:String?=null
15
+
var global_unique_id:String?=null
15
16
var status:String?=null
16
17
var price:String?=null
17
18
var regular_price:String?=null
@@ -75,6 +76,7 @@ class ProductVariationApiResponse : Response {
Copy file name to clipboardExpand all lines: plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/product/ProductVariationMapper.kt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,9 @@ object ProductVariationMapper {
38
38
if (storedVariationModel.sku != updatedVariationModel.sku) {
39
39
body["sku"] = updatedVariationModel.sku
40
40
}
41
+
if (storedVariationModel.globalUniqueId != updatedVariationModel.globalUniqueId) {
0 commit comments