Advertisement
fedorm

Untitled

Jun 26th, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.06 KB | None | 0 0
  1. {
  2.   "guid": "id-02",
  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.   "client": {
  61.     "cardNumber": "9905100100001",
  62.     "guid": "0001",
  63.     "firstName": "Виталий",
  64.     "middleName": "Васильевич",
  65.     "lastName": "Denisov",
  66.     "email": "client1_v@mail.ru",
  67.     "phone": "+7-919-988-82-22",
  68.     "accumulation": 21000.00,
  69.     "bonusBalance": 500.00,
  70.     "juristicDetails": {
  71.       "inn": "123456789012",
  72.       "organizationName": "asdsadsad"
  73.     }
  74.   }
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement