Skip to content

Commit

Permalink
Add missing listed_price to item variation
Browse files Browse the repository at this point in the history
  • Loading branch information
robbi5 committed Oct 31, 2024
1 parent 0cafad2 commit c2b8367
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ public List<ItemVariation> getVariations() throws JSONException {
v.setDescription(variation.optJSONObject("description"));
v.setPosition(variation.getLong("position"));
v.setPrice(new BigDecimal(variation.getString("price")));
v.setListed_price(new BigDecimal(variation.getString("price")));
v.setServer_id(variation.getLong("id"));
v.setValue(variation.getJSONObject("value"));
v.setAvailable_from(variation.optString("available_from"));
Expand Down

0 comments on commit c2b8367

Please sign in to comment.