Implement First Draft of Supplier API
This commit is contained in:
26
supplier/config/bank.json
Normal file
26
supplier/config/bank.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"id" : "bank",
|
||||
"name" : "Bank of Cheese",
|
||||
"discount" : {
|
||||
"minimumDailySalesVolumeNetCent": 100,
|
||||
"percentDiscount": 1
|
||||
},
|
||||
"articles": [
|
||||
{
|
||||
"title": "Big Mac",
|
||||
"manufacturer": "Mc Donalds",
|
||||
"articleNumber": "0x1 BIGMAC",
|
||||
"vatPercent": 7,
|
||||
"pricePerUnitNet": 700,
|
||||
"shouldBeAdvertised": true
|
||||
},
|
||||
{
|
||||
"title": "500£ Schein",
|
||||
"manufacturer": "Bank",
|
||||
"articleNumber": "500",
|
||||
"vatPercent": 0,
|
||||
"pricePerUnitNet": 50000,
|
||||
"shouldBeAdvertised": false
|
||||
}
|
||||
]
|
||||
}
|
34
supplier/config/hans-and-more.json
Normal file
34
supplier/config/hans-and-more.json
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"id" : "hans",
|
||||
"name" : "Hans and more",
|
||||
"discount" : {
|
||||
"minimumDailySalesVolumeNetCent": 100000,
|
||||
"percentDiscount": 2
|
||||
},
|
||||
"articles": [
|
||||
{
|
||||
"title": "Big Mac",
|
||||
"manufacturer": "Mc Donalds",
|
||||
"articleNumber": "0x1 BIGMAC",
|
||||
"vatPercent": 7,
|
||||
"pricePerUnitNet": 700,
|
||||
"shouldBeAdvertised": true
|
||||
},
|
||||
{
|
||||
"title": "Pommes",
|
||||
"manufacturer": "Mc Donalds",
|
||||
"articleNumber": "0x1 POmes",
|
||||
"vatPercent": 7,
|
||||
"pricePerUnitNet": 100,
|
||||
"shouldBeAdvertised": false
|
||||
},
|
||||
{
|
||||
"title": "Milchshake Premium 19%",
|
||||
"manufacturer": "Mc Donalds",
|
||||
"articleNumber": "0x2",
|
||||
"vatPercent": 19,
|
||||
"pricePerUnitNet": 50,
|
||||
"shouldBeAdvertised": true
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user