Advertisement
fedorm

Untitled

Aug 19th, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.36 KB | None | 0 0
  1. {
  2.   "guid": "id-27",
  3.   "status": "READY_TO_PAYMENT",
  4.   "dateCreated": "2017-12-20 10:58",
  5.   "isEditable": true,
  6.   "totalPrice": 1000.00,
  7.   "discountsValue": 1000.00,
  8.   "additionalInfo": "additional information",
  9.   "positions": [
  10.     {
  11.       "positionOrder": 1,
  12.       "code": "01001",
  13.       "departNumber": 1,
  14.       "barcode": "5000001",
  15.       "quantity": 2,
  16.       "unitPrice": 144.23,
  17.       "vat": 5.0,
  18.       "vatValue": 20,
  19.       "discountValue": 846.00,
  20.       "totalPrice": 280.00,
  21.       "isFixedPrice": true,
  22.       "additionalInfo": "клиент 1. хороший клиент",
  23.       "positionDiscounts": [
  24.         {
  25.           "cardNumber": "10001001-v",
  26.           "positionOrder": 1,
  27.           "advertisementId": "discount-001-code",
  28.           "advertisementCode": "discount-001",
  29.           "advertisementName": "discount-second-good-4,23",
  30.           "value": 423,
  31.           "additionalInfo": "Скидка на 500-1 товар"
  32.         },
  33.         {
  34.           "cardNumber": "10001001-v",
  35.           "positionOrder": 1,
  36.           "advertisementId": "discount-001-code",
  37.           "advertisementCode": "discount-001",
  38.           "advertisementName": "discount-second-good-4,23rub",
  39.           "value": 423,
  40.           "additionalInfo": "Скидка на 500-1 товар"
  41.         }
  42.       ]
  43.     },
  44.     {
  45.       "positionOrder": 2,
  46.       "code": "02025",
  47.       "departNumber": 1,
  48.       "barcode": "5000002",
  49.       "quantity": 10,
  50.       "unitPrice": 328.83,
  51.       "vat": 5.00,
  52.       "vatValue": 18.00,
  53.       "discountValue": 1644.15,
  54.       "totalPrice": 6990.00,
  55.       "isFixedPrice": false,
  56.       "isFixedDiscounts": true,
  57.       "additionalInfo": "купи 10шт, получи скидку 50%"
  58.     },
  59.         {
  60.       "positionOrder": 3,
  61.       "code": "11885588",
  62.       "departNumber": 1,
  63.       "barcode": "22885588",
  64.       "quantity": 10,
  65.       "unitPrice": 328.83,
  66.       "vat": 5.00,
  67.       "vatValue": 18.00,
  68.       "discountValue": 1644.15,
  69.       "totalPrice": 6990.00,
  70.       "isFixedPrice": false,
  71.       "isFixedDiscounts": true,
  72.       "additionalInfo": "купи 10шт, получи скидку 50%"
  73.     }
  74.   ],
  75.   "client": {
  76.     "cardNumber": "9905100100001",
  77.     "guid": "0001",
  78.     "firstName": "Виталий",
  79.     "middleName": "Васильевич",
  80.     "lastName": "Denisov",
  81.     "email": "client1_v@mail.ru",
  82.     "phone": "+7-919-988-82-22",
  83.     "accumulation": 21000.00,
  84.     "bonusBalance": 500.00
  85.   }
  86. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement