Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BertMaurau committed Oct 27, 2017
2 parents e7841b9 + 2180b0e commit 9b2b54c
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PHP Wrapper for the Yuki SOAP Webservice

Currently available
- Common Functions
- PettyCash Import
- PettyCash

## Installation with Composer

Expand Down Expand Up @@ -84,12 +84,26 @@ Currently available

### PettyCash

- Import
- ImportStatementCSV

**Required**: Session ID, Administration ID & Statement Text
**Throws**: Exception
**Throws**: Exception & InvalidSessionIDException & InvalidAdministrationIDException & InvalidStatementTextException

$yuki -> import($statementText);
$yuki -> importStatementCSV($statementText);
- ImportStatementLine

**Required**: Session ID
**Throws**: Exception & InvalidStatementLineException

$yuki -> importStatementLine(Model\StatementLine $statementLine);

- ImportStatementLineProject

**Required**: Session ID
**Throws**: Exception & InvalidStatementLineException

$yuki -> importStatementLineProject(Model\StatementLineProject $statementLineProject);

### Getters & Setters

Expand All @@ -111,5 +125,7 @@ The next Exceptions can be thrown:
- **InvalidDomainIDException**: When there is no Domain ID set.
- **InvalidSessionIDException**: When there is no Session ID set (Gets set after Authentication).
- **InvalidStatementTextException**: When there is no Statement Text provided for import.
- **InvalidStatementLineException**: When there is no Statement Line provided for import.
- **InvalidValueTypeException**: When given value doesn't match the required type.
- **ModelNotFoundException**: When the requested model was not found.
- **NoAuthenticationResultException**: When the Authenticate didn't return the expected results

0 comments on commit 9b2b54c

Please sign in to comment.