Skip to content
This repository was archived by the owner on May 18, 2020. It is now read-only.

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjack committed Feb 25, 2020
1 parent 6eda8cc commit 0ec8934
Show file tree
Hide file tree
Showing 7 changed files with 157 additions and 59 deletions.
Empty file modified .gitignore
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion LICENSE
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2019 Evgen Kytonin
Copyright (c) 2017-2020 Evgen Kytonin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PHP класс для работы с почтой Intime

# Документация

[Інструкція по інтеграції з веб- сервісами Ін-Тайм. API 3.0](https://intime.ua/upload/images/document/api_3_0.pdf)
[Інструкція по інтеграції з веб- сервісами Ін-Тайм. API 3.1](https://intime.ua/upload/images/document/api_3_1.pdf)

# Требование

Expand Down
Empty file modified composer.json
100644 → 100755
Empty file.
Empty file modified example.php
100644 → 100755
Empty file.
57 changes: 35 additions & 22 deletions src/Contracts/iInTIme.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct($api_key, $print = true, $debug = false, $timeout =
* @return JSON
*
**/
public function get_country_list();
public function getCountryList();
/**
*
* ОТРИМАТИ ІНФОРМАЦІЮ ПРО КРАЇНУ ПО ID
Expand All @@ -49,7 +49,7 @@ public function get_country_list();
* @return JSON
*
**/
public function get_country_id($id);
public function getCountryId($id);
/**
*
* ОТРИМАННЯ ІНФОРМАЦІЇ ПО ОБЛАСТЯМ
Expand All @@ -59,7 +59,7 @@ public function get_country_id($id);
* @return JSON
*
**/
public function get_area_list();
public function getAreaList();
/**
*
* ОТРИМАТИ ІНФОРМАЦІЮ ПРО ОБЛАСТЬ ПО ID
Expand All @@ -71,7 +71,7 @@ public function get_area_list();
* @return JSON
*
**/
public function get_area_id($id);
public function getAreaId($id);
/**
*
* ОТРИМАТИ СПИСОК ОБЛАСТЕЙ ПО ФІЛЬТРУ
Expand All @@ -83,7 +83,7 @@ public function get_area_id($id);
* @return JSON
*
**/
public function get_area_filter($data = []);
public function getAreaFilter($data = []);
/**
*
* ОТРИМАННЯ ІНФОРМАЦІЇ ПО РАЙОНАМ
Expand All @@ -93,7 +93,7 @@ public function get_area_filter($data = []);
* @return JSON
*
**/
public function get_district_list();
public function getDistrictList();
/**
*
* ОТРИМАТИ ІНФОРМАЦІЮ ПРО РАЙОНІ ПО ID
Expand All @@ -105,7 +105,7 @@ public function get_district_list();
* @return JSON
*
**/
public function get_district_id($id);
public function getDistrictId($id);
/**
*
* ОТРИМАТИ СПИСОК РАЙОНІВ ПО ФІЛЬТРУ
Expand All @@ -117,7 +117,7 @@ public function get_district_id($id);
* @return json
*
**/
public function get_district_filter($data = []);
public function getDistrictFilter($data = []);
/**
*
* ОТРИМАННЯ ІНФОРМАЦІЇ ПО НАСЕЛЕНОМУ ПУНКТУ
Expand All @@ -127,7 +127,7 @@ public function get_district_filter($data = []);
* @return JSON
*
**/
public function get_locality_list();
public function getLocalityList();
/**
*
* ОТРИМАТИ ІНФОРМАЦІЮ ПРО НАСЕЛЕНИМ ПУНКТІ ПО ID
Expand All @@ -139,7 +139,7 @@ public function get_locality_list();
* @return JSON
*
**/
public function get_locality_id($id);
public function getLocalityId($id);
/**
*
* ОТРИМАТИ СПИСОК ОБЛАСТЕЙ ПО ФІЛЬТРУ
Expand All @@ -151,7 +151,7 @@ public function get_locality_id($id);
* @return JSON
*
**/
public function get_locality_filter($data = []);
public function getLocalityFilter($data = []);
/**
*
* ОТРИМАННЯ ІНФОРМАЦІЇ ПО СКЛАДУ / ПОШТОМАТАМ
Expand All @@ -161,7 +161,7 @@ public function get_locality_filter($data = []);
* @return JSON
*
**/
public function get_branch_list();
public function getBranchList();
/**
*
* ОТРИМАТИ ІНФОРМАЦІЮ ПРО СКЛАДІ / ПОШТОМАТЕ ПО ID
Expand All @@ -173,7 +173,7 @@ public function get_branch_list();
* @return JSON
*
**/
public function get_branch_id($id);
public function getBranchId($id);
/**
*
* ОТРИМАТИ СПИСОК СКЛАДІВ / ПОЧТОМАТОВ ПО ФІЛЬТРУ
Expand All @@ -185,7 +185,7 @@ public function get_branch_id($id);
* @return JSON
*
**/
public function get_branch_filter($data = []);
public function getBranchFilter($data = []);
/**
*
* ОТРИМАННЯ ІНФОРМАЦІЇ ПО ОПИСУ ВАНТАЖУ
Expand All @@ -195,7 +195,7 @@ public function get_branch_filter($data = []);
* @return JSON
*
**/
public function get_goods_desc_list();
public function getGoodsDescList();
/**
*
* ОТРИМАТИ ОПИС ВАНТАЖУ ПО ID
Expand All @@ -207,7 +207,7 @@ public function get_goods_desc_list();
* @return JSON
*
**/
public function get_goods_desc_id($id);
public function getGoodsDescId($id);
/**
*
* ОТРИМАННЯ ІНФОРМАЦІЇ ПО ПАКУВАННЮ
Expand All @@ -217,7 +217,7 @@ public function get_goods_desc_id($id);
* @return JSON
*
**/
public function get_box_list();
public function getBoxList();
/**
*
* ОТРИМАТИ УПАКОВКУ ПО OD
Expand All @@ -229,7 +229,7 @@ public function get_box_list();
* @return JSON
*
**/
public function get_box_id($id);
public function getBoxId($id);
/**
*
* СТВОРЕННЯ ЗАЯВКИ ТТН
Expand All @@ -241,7 +241,7 @@ public function get_box_id($id);
* @return JSON
*
**/
public function declaration_create($data = []);
public function declarationCreate($data = []);
/**
*
* РОЗРАХУНОК ВАРТОСТІ ДОСТАВКИ
Expand All @@ -253,7 +253,7 @@ public function declaration_create($data = []);
* @return JSON
*
**/
public function declaration_calculate($data = []);
public function declarationCalculate($data = []);
/**
*
* ОТРИМАННЯ ІСТОРІЇ СТАТУСІВ ПО ТТН
Expand All @@ -275,7 +275,7 @@ public function declStatus($number);
* @return JSON
*
**/
public function get_branch_work_list();
public function getBranchWorkList();
/**
*
* ОТРИМАТИ ГРАФІК РОБОТИ СКЛАДА ПО ID
Expand All @@ -287,7 +287,7 @@ public function get_branch_work_list();
* @return JSON
*
**/
public function get_branch_work_id($id);
public function getBranchWorkId($id);
/**
*
* ОТРИМАТИ ІНФОРМАЦІЮ ТТН
Expand All @@ -300,4 +300,17 @@ public function get_branch_work_id($id);
*
**/
public function getTTN($number);
/**
*
* СТВОРЕННЯ МІСЦЯ
* СОЗДАНИЕ МЕСТА
* CREATE SEAT
*
* @param ARRAY $data
*
* @return ARRAY
*
*/
public function createSeat($data);

}
Loading

0 comments on commit 0ec8934

Please sign in to comment.