apidocs / com.srv4pos.server.api.infrastructure.credentials / TreasurerCredentials

TreasurerCredentials

open class TreasurerCredentials : SellerCredentials

Credentials for ROLE_REGULAR_USER. Created by fasth on 27.08.2014.

Constructors

<init>

TreasurerCredentials(username: String!, country: String!, corporateId: String!, password: String!)
TreasurerCredentials(username: String!, country: String!, corporateId: String!, cashRegisterName: String!, password: String!)

Inherited Properties

corporateId

var corporateId: String!

country

var country: String!

Functions

getCashRegisterName

open fun getCashRegisterName(): String!

getPassword

open fun getPassword(): String!

getUsername

open fun getUsername(): String!

setCashRegisterName

open fun setCashRegisterName(cashRegisterName: String!): Unit

setPassword

open fun setPassword(password: String!): Unit

setUsername

open fun setUsername(username: String!): Unit

toAuthentication

open fun toAuthentication(): String!

Returns authentication String.

Inherited Functions

getCorporateId

open fun getCorporateId(): String!

getCountry

open fun getCountry(): String!

getSellerId

open fun getSellerId(): String!

Returns sellerId. SellerId is concatenate of seller's country and seller's corporate ID.