apidocs / com.srv4pos.server.api.ejournal / EJournalService

EJournalService

class EJournalService

Constructs the service.

Parameters

url - of the server

credentials - to work with the server

transport - to know the method to reach the server

Constructors

<init>

EJournalService(url: URL, credentials: Credentials?, transport: Transport)

Constructs the service.

Functions

append

fun append(cashRegisterName: String, stream: InputStream): Unit

Appends passed ejournal csv lines of cash register.

get

operator fun get(cashRegisterName: String, orderDesc: Boolean?): InputStream?

Returns stream with csv lines belonging to passed cashRegisterName.