public interface SenderBuilder
Sender
Modifier and Type | Method and Description |
---|---|
Sender |
build()
Creates new
Sender instance |
static SenderBuilder |
create()
Deprecated.
Method create() is obsolete. Please use the appropriate method on BuilderFactory interface which can be obtained through MtsSdk instance
|
static SenderBuilder |
create(int bookmakerId) |
static SenderBuilder |
create(int bookmakerId,
int limitId) |
static SenderBuilder |
create(int bookmakerId,
int limitId,
String currency) |
static SenderBuilder |
create(int bookmakerId,
int limitId,
String currency,
SenderChannel channel) |
SenderBuilder |
setBookmakerId(Integer bookmakerId)
Sets bookmaker id
|
SenderBuilder |
setCurrency(String currency)
Sets currency
|
SenderBuilder |
setEndCustomer(EndCustomer endCustomer)
|
SenderBuilder |
setEndCustomer(String customerIp,
String customerId,
String languageId,
String deviceId,
Long confidence)
Sets end customer
Mandatory for
SenderChannel.INTERNET , SenderChannel.MOBILE |
SenderBuilder |
setLimitId(Integer limitId)
Sets limit id
|
SenderBuilder |
setSenderChannel(SenderChannel channel)
Sets sender channel
Mandatory
|
SenderBuilder |
setShopId(String shopId)
Sets shop id
Mandatory for
SenderChannel.RETAIL |
SenderBuilder |
setTerminalId(String terminalId)
Sets terminal id
Mandatory for
SenderChannel.TERMINAL |
@Deprecated static SenderBuilder create()
static SenderBuilder create(int bookmakerId)
static SenderBuilder create(int bookmakerId, int limitId)
static SenderBuilder create(int bookmakerId, int limitId, String currency)
static SenderBuilder create(int bookmakerId, int limitId, String currency, SenderChannel channel)
SenderBuilder setBookmakerId(Integer bookmakerId)
bookmakerId
- bookmaker idSenderBuilder setCurrency(String currency)
currency
- currencySenderBuilder setTerminalId(String terminalId)
SenderChannel.TERMINAL
terminalId
- terminal idSenderBuilder setSenderChannel(SenderChannel channel)
channel
- channelSenderBuilder setShopId(String shopId)
SenderChannel.RETAIL
shopId
- shop idSenderBuilder setEndCustomer(EndCustomer endCustomer)
endCustomer
- end customerSenderBuilder setEndCustomer(String customerIp, String customerId, String languageId, String deviceId, Long confidence)
SenderChannel.INTERNET
, SenderChannel.MOBILE
customerIp
- end customer ipcustomerId
- customer idlanguageId
- language iddeviceId
- device idconfidence
- confidenceSenderBuilder setLimitId(Integer limitId)
limitId
- limit idCopyright © 2017–2023. All rights reserved.