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

SellerCredentials

open class SellerCredentials : Credentials

This credentials doesn't have any authentication info. SellerCredentials introduces override of getSellerId. Created by fasth on 27.08.2014.

Constructors

<init>

SellerCredentials(country: String!, corporateId: String!)

Properties

corporateId

var corporateId: String!

country

var country: String!

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.

toAuthentication

open fun toAuthentication(): String!

Doesn't have any authentication info.

Inheritors

ActivationCredentials

open class ActivationCredentials : SellerCredentials

Credentials for ROLE_ACTIVATION. Adds fields productionNumber and activationSecurityToken. Used for synchronize. Created by fasth on 27.08.2014.

TreasurerCredentials

open class TreasurerCredentials : SellerCredentials

Credentials for ROLE_REGULAR_USER. Created by fasth on 27.08.2014.