@@ -151,14 +151,14 @@ public static ProductsRow FromRow(TableRow rowData, string refNumber)
151
151
row . ListingId = rowData . GetString ( "listing-id" ) ;
152
152
row . SellerSku = rowData . GetString ( "seller-sku" ) ;
153
153
row . Price = DataConverter . GetDecimal ( rowData . GetString ( "price" ) ) ;
154
- row . Quantity = rowData . GetInt32 ( "quantity" ) ;
154
+ row . Quantity = rowData . GetInt32Nullable ( "quantity" ) ;
155
155
row . OpenDate = rowData . GetString ( "open-date" ) ;
156
156
row . ImageUrl = rowData . GetString ( "image-url" ) ;
157
157
row . ItemIsMarketplace = rowData . GetString ( "item-is-marketplace" ) == "y" ;
158
- row . ProductIdType = rowData . GetInt32 ( "product-id-type" ) ;
158
+ row . ProductIdType = rowData . GetInt32Nullable ( "product-id-type" ) ;
159
159
row . ZshopShippingFee = rowData . GetString ( "zshop-shipping-fee" ) ;
160
160
row . ItemNote = rowData . GetString ( "item-note" ) ;
161
- row . ItemCondition = rowData . GetInt32 ( "zshop-category1" ) ;
161
+ row . ItemCondition = rowData . GetInt32Nullable ( "zshop-category1" ) ;
162
162
row . ZshopCategory1 = rowData . GetString ( "zshop-category1" ) ;
163
163
row . ZshopBrowsePath = rowData . GetString ( "zshop-browse-path" ) ;
164
164
row . ZshopStorefrontFeature = rowData . GetString ( "zshop-storefront-feature" ) ;
@@ -171,7 +171,7 @@ public static ProductsRow FromRow(TableRow rowData, string refNumber)
171
171
row . ProductId = rowData . GetString ( "product-id" ) ;
172
172
row . BidForFeaturedPlacement = rowData . GetString ( "bid-for-featured-placement" ) ;
173
173
row . AddDelete = rowData . GetString ( "add-delete" ) ;
174
- row . PendingQuantity = rowData . GetInt32 ( "pending-quantity" ) ;
174
+ row . PendingQuantity = rowData . GetInt32Nullable ( "pending-quantity" ) ;
175
175
row . FulfillmentChannel = rowData . GetString ( "fulfillment-channel" ) ;
176
176
row . OptionalPaymentTypeExclusion = rowData . GetString ( "optional-payment-type-exclusion" ) ;
177
177
row . Status = rowData . GetString ( "status" ) ;
0 commit comments