File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
src/main/java/com/github/chen0040/magento/models Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
1
package com .github .chen0040 .magento .models ;
2
2
3
3
4
- import lombok .Getter ;
5
- import lombok .Setter ;
6
-
7
4
import java .util .ArrayList ;
8
- import java .util .HashMap ;
9
5
import java .util .List ;
10
- import java .util .Map ;
6
+
7
+ import lombok .Getter ;
8
+ import lombok .Setter ;
11
9
12
10
13
11
/**
@@ -38,7 +36,7 @@ public class Product {
38
36
private double weight = 1 ;
39
37
private List <MagentoAttribute > extension_attributes = new ArrayList <>();
40
38
private List <String > product_links = new ArrayList <>();
41
- private List <Double > tier_prices = new ArrayList <>();
39
+ private List <TierPrices > tier_prices = new ArrayList <>();
42
40
private List <MagentoAttribute > custom_attributes = new ArrayList <>();
43
41
44
42
}
Original file line number Diff line number Diff line change
1
+ package com .github .chen0040 .magento .models ;
2
+
3
+ import lombok .Data ;
4
+
5
+ @ Data
6
+ public class TierPrices {
7
+
8
+ private long customer_group_id = 1 ;
9
+ private long qty = 10000 ;
10
+ private double value = 10 ;
11
+ }
You can’t perform that action at this time.
0 commit comments