Documentation ¶
Index ¶
- Variables
- func RegisterOtsServer(s grpc.ServiceRegistrar, srv OtsServer)
- type AcceptOddsChange
- func (AcceptOddsChange) Descriptor() protoreflect.EnumDescriptor
- func (x AcceptOddsChange) Enum() *AcceptOddsChange
- func (AcceptOddsChange) EnumDescriptor() ([]byte, []int)deprecated
- func (x AcceptOddsChange) Number() protoreflect.EnumNumber
- func (x AcceptOddsChange) String() string
- func (AcceptOddsChange) Type() protoreflect.EnumType
- type AcceptanceStatus
- func (AcceptanceStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AcceptanceStatus) Enum() *AcceptanceStatus
- func (AcceptanceStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AcceptanceStatus) Number() protoreflect.EnumNumber
- func (x AcceptanceStatus) String() string
- func (AcceptanceStatus) Type() protoreflect.EnumType
- type AutoAcceptedOdds
- func (*AutoAcceptedOdds) Descriptor() ([]byte, []int)deprecated
- func (x *AutoAcceptedOdds) GetId() string
- func (x *AutoAcceptedOdds) GetRequestedOdds() uint64
- func (x *AutoAcceptedOdds) GetUsedOdds() uint64
- func (*AutoAcceptedOdds) ProtoMessage()
- func (x *AutoAcceptedOdds) ProtoReflect() protoreflect.Message
- func (x *AutoAcceptedOdds) Reset()
- func (x *AutoAcceptedOdds) String() string
- type Bet
- func (*Bet) Descriptor() ([]byte, []int)deprecated
- func (x *Bet) GetBonus() *BetBonus
- func (x *Bet) GetId() *wrapperspb.StringValue
- func (x *Bet) GetReofferId() *wrapperspb.StringValuedeprecated
- func (x *Bet) GetSelections() []*BetSelection
- func (x *Bet) GetStake() *BetStake
- func (x *Bet) GetSystems() []uint32
- func (x *Bet) GetTotalWins() *wrapperspb.UInt64Value
- func (*Bet) ProtoMessage()
- func (x *Bet) ProtoReflect() protoreflect.Message
- func (x *Bet) Reset()
- func (x *Bet) String() string
- type BetBonus
- func (*BetBonus) Descriptor() ([]byte, []int)deprecated
- func (x *BetBonus) GetMode() BetBonusMode
- func (x *BetBonus) GetType() BetBonusType
- func (x *BetBonus) GetValue() uint64
- func (*BetBonus) ProtoMessage()
- func (x *BetBonus) ProtoReflect() protoreflect.Message
- func (x *BetBonus) Reset()
- func (x *BetBonus) String() string
- type BetBonusMode
- func (BetBonusMode) Descriptor() protoreflect.EnumDescriptor
- func (x BetBonusMode) Enum() *BetBonusMode
- func (BetBonusMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x BetBonusMode) Number() protoreflect.EnumNumber
- func (x BetBonusMode) String() string
- func (BetBonusMode) Type() protoreflect.EnumType
- type BetBonusType
- func (BetBonusType) Descriptor() protoreflect.EnumDescriptor
- func (x BetBonusType) Enum() *BetBonusType
- func (BetBonusType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BetBonusType) Number() protoreflect.EnumNumber
- func (x BetBonusType) String() string
- func (BetBonusType) Type() protoreflect.EnumType
- type BetCashout
- func (*BetCashout) Descriptor() ([]byte, []int)deprecated
- func (x *BetCashout) GetCashoutPercent() *wrapperspb.UInt64Value
- func (x *BetCashout) GetCashoutStake() uint64
- func (x *BetCashout) GetId() string
- func (*BetCashout) ProtoMessage()
- func (x *BetCashout) ProtoReflect() protoreflect.Message
- func (x *BetCashout) Reset()
- func (x *BetCashout) String() string
- type BetSelection
- type BetStake
- type BetStakeType
- func (BetStakeType) Descriptor() protoreflect.EnumDescriptor
- func (x BetStakeType) Enum() *BetStakeType
- func (BetStakeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BetStakeType) Number() protoreflect.EnumNumber
- func (x BetStakeType) String() string
- func (BetStakeType) Type() protoreflect.EnumType
- type Bettor
- func (*Bettor) Descriptor() ([]byte, []int)deprecated
- func (x *Bettor) GetBos() float32
- func (x *Bettor) GetClientsLabels() []string
- func (x *Bettor) GetExtId() string
- func (x *Bettor) GetId() string
- func (x *Bettor) GetModifiedAt() *timestamppb.Timestamp
- func (x *Bettor) GetOddinsLabels() []string
- func (x *Bettor) GetOverAskFactor() float32
- func (*Bettor) ProtoMessage()
- func (x *Bettor) ProtoReflect() protoreflect.Message
- func (x *Bettor) Reset()
- func (x *Bettor) String() string
- type BettorsRequest
- func (*BettorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BettorsRequest) GetRecoverSince() *timestamppb.Timestamp
- func (*BettorsRequest) ProtoMessage()
- func (x *BettorsRequest) ProtoReflect() protoreflect.Message
- func (x *BettorsRequest) Reset()
- func (x *BettorsRequest) String() string
- type BettorsResponse
- func (*BettorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BettorsResponse) GetBettor() *Bettor
- func (m *BettorsResponse) GetData() isBettorsResponse_Data
- func (x *BettorsResponse) GetKeepalive() *StreamKeepalive
- func (*BettorsResponse) ProtoMessage()
- func (x *BettorsResponse) ProtoReflect() protoreflect.Message
- func (x *BettorsResponse) Reset()
- func (x *BettorsResponse) String() string
- type BettorsResponse_Bettor
- type BettorsResponse_Keepalive
- type CancelBetInfo
- func (*CancelBetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CancelBetInfo) GetCancelPercent() uint32
- func (x *CancelBetInfo) GetId() string
- func (*CancelBetInfo) ProtoMessage()
- func (x *CancelBetInfo) ProtoReflect() protoreflect.Message
- func (x *CancelBetInfo) Reset()
- func (x *CancelBetInfo) String() string
- type CancelReason
- func (CancelReason) Descriptor() protoreflect.EnumDescriptor
- func (x CancelReason) Enum() *CancelReason
- func (CancelReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x CancelReason) Number() protoreflect.EnumNumber
- func (x CancelReason) String() string
- func (CancelReason) Type() protoreflect.EnumType
- type CancelRejectionReason
- func (CancelRejectionReason) Descriptor() protoreflect.EnumDescriptor
- func (x CancelRejectionReason) Enum() *CancelRejectionReason
- func (CancelRejectionReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x CancelRejectionReason) Number() protoreflect.EnumNumber
- func (x CancelRejectionReason) String() string
- func (CancelRejectionReason) Type() protoreflect.EnumType
- type CancelStatus
- func (CancelStatus) Descriptor() protoreflect.EnumDescriptor
- func (x CancelStatus) Enum() *CancelStatus
- func (CancelStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x CancelStatus) Number() protoreflect.EnumNumber
- func (x CancelStatus) String() string
- func (CancelStatus) Type() protoreflect.EnumType
- type OtsClient
- type OtsServer
- type Ots_BettorsClient
- type Ots_BettorsServer
- type Ots_TicketClient
- type Ots_TicketResultClient
- type Ots_TicketResultServer
- type Ots_TicketServer
- type PlayerRiskScoreRequest
- func (*PlayerRiskScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerRiskScoreRequest) GetId() string
- func (*PlayerRiskScoreRequest) ProtoMessage()
- func (x *PlayerRiskScoreRequest) ProtoReflect() protoreflect.Message
- func (x *PlayerRiskScoreRequest) Reset()
- func (x *PlayerRiskScoreRequest) String() string
- type PlayerRiskScoreResponse
- func (*PlayerRiskScoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerRiskScoreResponse) GetBos() float32
- func (x *PlayerRiskScoreResponse) GetLiveDelay() uint32
- func (x *PlayerRiskScoreResponse) GetOaf() float32
- func (x *PlayerRiskScoreResponse) GetPrematchDelay() uint32
- func (x *PlayerRiskScoreResponse) GetScore() float32deprecated
- func (*PlayerRiskScoreResponse) ProtoMessage()
- func (x *PlayerRiskScoreResponse) ProtoReflect() protoreflect.Message
- func (x *PlayerRiskScoreResponse) Reset()
- func (x *PlayerRiskScoreResponse) String() string
- type Reason
- type ReasonCode
- type ResolveForeignEventsInTicketRequest
- func (*ResolveForeignEventsInTicketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveForeignEventsInTicketRequest) GetForeignStake() uint64
- func (x *ResolveForeignEventsInTicketRequest) GetId() string
- func (x *ResolveForeignEventsInTicketRequest) GetTimestamp() *timestamppb.Timestamp
- func (*ResolveForeignEventsInTicketRequest) ProtoMessage()
- func (x *ResolveForeignEventsInTicketRequest) ProtoReflect() protoreflect.Message
- func (x *ResolveForeignEventsInTicketRequest) Reset()
- func (x *ResolveForeignEventsInTicketRequest) String() string
- type ResolveForeignEventsInTicketResponse
- func (*ResolveForeignEventsInTicketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveForeignEventsInTicketResponse) GetReason() *Reason
- func (x *ResolveForeignEventsInTicketResponse) GetStatus() AcceptanceStatus
- func (*ResolveForeignEventsInTicketResponse) ProtoMessage()
- func (x *ResolveForeignEventsInTicketResponse) ProtoReflect() protoreflect.Message
- func (x *ResolveForeignEventsInTicketResponse) Reset()
- func (x *ResolveForeignEventsInTicketResponse) String() string
- type ResponseReoffer
- type ResultingStatus
- func (ResultingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ResultingStatus) Enum() *ResultingStatus
- func (ResultingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResultingStatus) Number() protoreflect.EnumNumber
- func (x ResultingStatus) String() string
- func (ResultingStatus) Type() protoreflect.EnumType
- type StreamKeepalive
- func (*StreamKeepalive) Descriptor() ([]byte, []int)deprecated
- func (x *StreamKeepalive) GetTimestamp() *timestamppb.Timestamp
- func (*StreamKeepalive) ProtoMessage()
- func (x *StreamKeepalive) ProtoReflect() protoreflect.Message
- func (x *StreamKeepalive) Reset()
- func (x *StreamKeepalive) String() string
- type Ticket
- func (*Ticket) Descriptor() ([]byte, []int)deprecated
- func (x *Ticket) GetAcceptOddsChange() AcceptOddsChange
- func (x *Ticket) GetBets() []*Bet
- func (x *Ticket) GetChannel() TicketChannel
- func (x *Ticket) GetCurrency() string
- func (x *Ticket) GetCustomer() *TicketCustomer
- func (x *Ticket) GetId() string
- func (x *Ticket) GetLastForeignEventEndTime() *timestamppb.Timestamp
- func (x *Ticket) GetLastForeignEventStartTime() *timestamppb.Timestamp
- func (x *Ticket) GetLocationId() *wrapperspb.StringValue
- func (x *Ticket) GetReofferId() *wrapperspb.StringValue
- func (x *Ticket) GetSelections() map[string]*TicketSelection
- func (x *Ticket) GetStakeMultiplier() *wrapperspb.UInt64Value
- func (x *Ticket) GetTimestamp() *timestamppb.Timestamp
- func (x *Ticket) GetTotalCombinations() uint64
- func (*Ticket) ProtoMessage()
- func (x *Ticket) ProtoReflect() protoreflect.Message
- func (x *Ticket) Reset()
- func (x *Ticket) String() string
- type TicketAckRequest
- func (*TicketAckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TicketAckRequest) GetAcceptanceStatus() AcceptanceStatus
- func (x *TicketAckRequest) GetId() string
- func (x *TicketAckRequest) GetReason() *Reason
- func (x *TicketAckRequest) GetTimestamp() *timestamppb.Timestamp
- func (*TicketAckRequest) ProtoMessage()
- func (x *TicketAckRequest) ProtoReflect() protoreflect.Message
- func (x *TicketAckRequest) Reset()
- func (x *TicketAckRequest) String() string
- type TicketAckResponse
- type TicketBetRejectReason
- func (*TicketBetRejectReason) Descriptor() ([]byte, []int)deprecated
- func (x *TicketBetRejectReason) GetCode() TicketBetRejectReason_Code
- func (x *TicketBetRejectReason) GetMessage() string
- func (*TicketBetRejectReason) ProtoMessage()
- func (x *TicketBetRejectReason) ProtoReflect() protoreflect.Message
- func (x *TicketBetRejectReason) Reset()
- func (x *TicketBetRejectReason) String() string
- type TicketBetRejectReason_Code
- func (TicketBetRejectReason_Code) Descriptor() protoreflect.EnumDescriptor
- func (x TicketBetRejectReason_Code) Enum() *TicketBetRejectReason_Code
- func (TicketBetRejectReason_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x TicketBetRejectReason_Code) Number() protoreflect.EnumNumber
- func (x TicketBetRejectReason_Code) String() string
- func (TicketBetRejectReason_Code) Type() protoreflect.EnumType
- type TicketCancelRequest
- func (*TicketCancelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TicketCancelRequest) GetCancelBetInfo() []*CancelBetInfo
- func (x *TicketCancelRequest) GetCancelPercent() uint32
- func (x *TicketCancelRequest) GetCancelReason() CancelReason
- func (x *TicketCancelRequest) GetCancelReasonDetail() string
- func (x *TicketCancelRequest) GetId() string
- func (x *TicketCancelRequest) GetTimestamp() *timestamppb.Timestamp
- func (*TicketCancelRequest) ProtoMessage()
- func (x *TicketCancelRequest) ProtoReflect() protoreflect.Message
- func (x *TicketCancelRequest) Reset()
- func (x *TicketCancelRequest) String() string
- type TicketCancelResponse
- func (*TicketCancelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TicketCancelResponse) GetCancelRejectionMessage() string
- func (x *TicketCancelResponse) GetCancelRejectionReason() CancelRejectionReason
- func (x *TicketCancelResponse) GetStatus() AcceptanceStatus
- func (*TicketCancelResponse) ProtoMessage()
- func (x *TicketCancelResponse) ProtoReflect() protoreflect.Message
- func (x *TicketCancelResponse) Reset()
- func (x *TicketCancelResponse) String() string
- type TicketCashout
- func (*TicketCashout) Descriptor() ([]byte, []int)deprecated
- func (x *TicketCashout) GetBetCashout() []*BetCashout
- func (x *TicketCashout) GetCashoutPercent() *wrapperspb.UInt64Value
- func (x *TicketCashout) GetCashoutStake() *wrapperspb.UInt64Value
- func (x *TicketCashout) GetId() string
- func (x *TicketCashout) GetStakeMultiplier() *wrapperspb.UInt64Value
- func (x *TicketCashout) GetTimestamp() *timestamppb.Timestamp
- func (*TicketCashout) ProtoMessage()
- func (x *TicketCashout) ProtoReflect() protoreflect.Message
- func (x *TicketCashout) Reset()
- func (x *TicketCashout) String() string
- type TicketCashoutRejectReason
- func (*TicketCashoutRejectReason) Descriptor() ([]byte, []int)deprecated
- func (x *TicketCashoutRejectReason) GetCode() TicketCashoutRejectReason_Code
- func (x *TicketCashoutRejectReason) GetMessage() string
- func (*TicketCashoutRejectReason) ProtoMessage()
- func (x *TicketCashoutRejectReason) ProtoReflect() protoreflect.Message
- func (x *TicketCashoutRejectReason) Reset()
- func (x *TicketCashoutRejectReason) String() string
- type TicketCashoutRejectReason_Code
- func (TicketCashoutRejectReason_Code) Descriptor() protoreflect.EnumDescriptor
- func (x TicketCashoutRejectReason_Code) Enum() *TicketCashoutRejectReason_Code
- func (TicketCashoutRejectReason_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x TicketCashoutRejectReason_Code) Number() protoreflect.EnumNumber
- func (x TicketCashoutRejectReason_Code) String() string
- func (TicketCashoutRejectReason_Code) Type() protoreflect.EnumType
- type TicketCashoutState
- func (*TicketCashoutState) Descriptor() ([]byte, []int)deprecated
- func (x *TicketCashoutState) GetId() string
- func (x *TicketCashoutState) GetRejectReason() *TicketCashoutRejectReason
- func (x *TicketCashoutState) GetTicketStatus() AcceptanceStatus
- func (*TicketCashoutState) ProtoMessage()
- func (x *TicketCashoutState) ProtoReflect() protoreflect.Message
- func (x *TicketCashoutState) Reset()
- func (x *TicketCashoutState) String() string
- type TicketChannel
- func (TicketChannel) Descriptor() protoreflect.EnumDescriptor
- func (x TicketChannel) Enum() *TicketChannel
- func (TicketChannel) EnumDescriptor() ([]byte, []int)deprecated
- func (x TicketChannel) Number() protoreflect.EnumNumber
- func (x TicketChannel) String() string
- func (TicketChannel) Type() protoreflect.EnumType
- type TicketCustomer
- func (*TicketCustomer) Descriptor() ([]byte, []int)deprecated
- func (x *TicketCustomer) GetDeviceId() *wrapperspb.StringValue
- func (x *TicketCustomer) GetId() string
- func (x *TicketCustomer) GetIp() *wrapperspb.StringValue
- func (x *TicketCustomer) GetLanguage() string
- func (x *TicketCustomer) GetNickname() *wrapperspb.StringValue
- func (*TicketCustomer) ProtoMessage()
- func (x *TicketCustomer) ProtoReflect() protoreflect.Message
- func (x *TicketCustomer) Reset()
- func (x *TicketCustomer) String() string
- type TicketMaxStake
- type TicketMaxStakeRequestdeprecated
- func (*TicketMaxStakeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TicketMaxStakeRequest) GetTicket() *Ticket
- func (*TicketMaxStakeRequest) ProtoMessage()
- func (x *TicketMaxStakeRequest) ProtoReflect() protoreflect.Message
- func (x *TicketMaxStakeRequest) Reset()
- func (x *TicketMaxStakeRequest) String() string
- type TicketMaxStakeResponsedeprecated
- func (*TicketMaxStakeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TicketMaxStakeResponse) GetState() *TicketState
- func (*TicketMaxStakeResponse) ProtoMessage()
- func (x *TicketMaxStakeResponse) ProtoReflect() protoreflect.Message
- func (x *TicketMaxStakeResponse) Reset()
- func (x *TicketMaxStakeResponse) String() string
- type TicketMaxStakeState
- func (*TicketMaxStakeState) Descriptor() ([]byte, []int)deprecated
- func (x *TicketMaxStakeState) GetId() string
- func (x *TicketMaxStakeState) GetState() *TicketState
- func (*TicketMaxStakeState) ProtoMessage()
- func (x *TicketMaxStakeState) ProtoReflect() protoreflect.Message
- func (x *TicketMaxStakeState) Reset()
- func (x *TicketMaxStakeState) String() string
- type TicketRejectReason
- func (*TicketRejectReason) Descriptor() ([]byte, []int)deprecated
- func (x *TicketRejectReason) GetCode() TicketRejectReason_Code
- func (x *TicketRejectReason) GetMessage() string
- func (*TicketRejectReason) ProtoMessage()
- func (x *TicketRejectReason) ProtoReflect() protoreflect.Message
- func (x *TicketRejectReason) Reset()
- func (x *TicketRejectReason) String() string
- type TicketRejectReason_Code
- func (TicketRejectReason_Code) Descriptor() protoreflect.EnumDescriptor
- func (x TicketRejectReason_Code) Enum() *TicketRejectReason_Code
- func (TicketRejectReason_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x TicketRejectReason_Code) Number() protoreflect.EnumNumber
- func (x TicketRejectReason_Code) String() string
- func (TicketRejectReason_Code) Type() protoreflect.EnumType
- type TicketRequest
- func (*TicketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TicketRequest) GetCashout() *TicketCashout
- func (m *TicketRequest) GetData() isTicketRequest_Data
- func (x *TicketRequest) GetKeepalive() *StreamKeepalive
- func (x *TicketRequest) GetMaxStake() *TicketMaxStake
- func (x *TicketRequest) GetTicket() *Ticket
- func (*TicketRequest) ProtoMessage()
- func (x *TicketRequest) ProtoReflect() protoreflect.Message
- func (x *TicketRequest) Reset()
- func (x *TicketRequest) String() string
- type TicketRequest_Cashout
- type TicketRequest_Keepalive
- type TicketRequest_MaxStake
- type TicketRequest_Ticket
- type TicketResponse
- func (*TicketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TicketResponse) GetCashout() *TicketCashoutState
- func (m *TicketResponse) GetData() isTicketResponse_Data
- func (x *TicketResponse) GetKeepalive() *StreamKeepalive
- func (x *TicketResponse) GetMaxStake() *TicketMaxStakeState
- func (x *TicketResponse) GetState() *TicketState
- func (*TicketResponse) ProtoMessage()
- func (x *TicketResponse) ProtoReflect() protoreflect.Message
- func (x *TicketResponse) Reset()
- func (x *TicketResponse) String() string
- type TicketResponseBetInfo
- func (*TicketResponseBetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TicketResponseBetInfo) GetId() string
- func (x *TicketResponseBetInfo) GetRejectReason() *TicketBetRejectReason
- func (x *TicketResponseBetInfo) GetReoffer() *ResponseReoffer
- func (x *TicketResponseBetInfo) GetTotalOdds() uint64
- func (*TicketResponseBetInfo) ProtoMessage()
- func (x *TicketResponseBetInfo) ProtoReflect() protoreflect.Message
- func (x *TicketResponseBetInfo) Reset()
- func (x *TicketResponseBetInfo) String() string
- type TicketResponse_Cashout
- type TicketResponse_Keepalive
- type TicketResponse_MaxStake
- type TicketResponse_State
- type TicketResult
- type TicketResultError
- func (*TicketResultError) Descriptor() ([]byte, []int)deprecated
- func (x *TicketResultError) GetCode() ReasonCode
- func (x *TicketResultError) GetMessage() *wrapperspb.StringValue
- func (*TicketResultError) ProtoMessage()
- func (x *TicketResultError) ProtoReflect() protoreflect.Message
- func (x *TicketResultError) Reset()
- func (x *TicketResultError) String() string
- type TicketResultRequest
- func (*TicketResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TicketResultRequest) GetAfter() *TicketsAfter
- func (m *TicketResultRequest) GetData() isTicketResultRequest_Data
- func (x *TicketResultRequest) GetKeepalive() *StreamKeepalive
- func (x *TicketResultRequest) GetTicket() *TicketResult
- func (*TicketResultRequest) ProtoMessage()
- func (x *TicketResultRequest) ProtoReflect() protoreflect.Message
- func (x *TicketResultRequest) Reset()
- func (x *TicketResultRequest) String() string
- type TicketResultRequest_After
- type TicketResultRequest_Keepalive
- type TicketResultRequest_Ticket
- type TicketResultResponse
- func (*TicketResultResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TicketResultResponse) GetAfter() *TicketsAfterState
- func (m *TicketResultResponse) GetData() isTicketResultResponse_Data
- func (x *TicketResultResponse) GetKeepalive() *StreamKeepalive
- func (x *TicketResultResponse) GetState() *TicketResultState
- func (*TicketResultResponse) ProtoMessage()
- func (x *TicketResultResponse) ProtoReflect() protoreflect.Message
- func (x *TicketResultResponse) Reset()
- func (x *TicketResultResponse) String() string
- type TicketResultResponse_After
- type TicketResultResponse_Keepalive
- type TicketResultResponse_State
- type TicketResultState
- func (*TicketResultState) Descriptor() ([]byte, []int)deprecated
- func (x *TicketResultState) GetBetInfo() map[string]*TicketResultStateBetInfo
- func (x *TicketResultState) GetError() *TicketResultError
- func (x *TicketResultState) GetExchangeRate() uint64
- func (x *TicketResultState) GetId() string
- func (x *TicketResultState) GetModifiedAt() *timestamppb.Timestamp
- func (x *TicketResultState) GetResultedAt() *timestamppb.Timestamp
- func (x *TicketResultState) GetSelectionInfo() map[string]*TicketResultStateSelectionInfo
- func (x *TicketResultState) GetTicketStatus() ResultingStatus
- func (x *TicketResultState) GetWonAmount() *wrapperspb.UInt64Value
- func (*TicketResultState) ProtoMessage()
- func (x *TicketResultState) ProtoReflect() protoreflect.Message
- func (x *TicketResultState) Reset()
- func (x *TicketResultState) String() string
- type TicketResultStateBetInfo
- func (*TicketResultStateBetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TicketResultStateBetInfo) GetBetStatus() ResultingStatus
- func (x *TicketResultStateBetInfo) GetId() string
- func (x *TicketResultStateBetInfo) GetWonAmount() *wrapperspb.UInt64Value
- func (*TicketResultStateBetInfo) ProtoMessage()
- func (x *TicketResultStateBetInfo) ProtoReflect() protoreflect.Message
- func (x *TicketResultStateBetInfo) Reset()
- func (x *TicketResultStateBetInfo) String() string
- type TicketResultStateSelectionInfo
- func (*TicketResultStateSelectionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TicketResultStateSelectionInfo) GetSelectionStatus() ResultingStatus
- func (*TicketResultStateSelectionInfo) ProtoMessage()
- func (x *TicketResultStateSelectionInfo) ProtoReflect() protoreflect.Message
- func (x *TicketResultStateSelectionInfo) Reset()
- func (x *TicketResultStateSelectionInfo) String() string
- type TicketSelection
- func (*TicketSelection) Descriptor() ([]byte, []int)deprecated
- func (x *TicketSelection) GetForeign() *wrapperspb.BoolValue
- func (x *TicketSelection) GetId() string
- func (x *TicketSelection) GetOdds() uint64
- func (*TicketSelection) ProtoMessage()
- func (x *TicketSelection) ProtoReflect() protoreflect.Message
- func (x *TicketSelection) Reset()
- func (x *TicketSelection) String() string
- type TicketSelectionRejectReason
- func (*TicketSelectionRejectReason) Descriptor() ([]byte, []int)deprecated
- func (x *TicketSelectionRejectReason) GetCode() TicketSelectionRejectReason_Code
- func (x *TicketSelectionRejectReason) GetMessage() string
- func (*TicketSelectionRejectReason) ProtoMessage()
- func (x *TicketSelectionRejectReason) ProtoReflect() protoreflect.Message
- func (x *TicketSelectionRejectReason) Reset()
- func (x *TicketSelectionRejectReason) String() string
- type TicketSelectionRejectReason_Code
- func (TicketSelectionRejectReason_Code) Descriptor() protoreflect.EnumDescriptor
- func (x TicketSelectionRejectReason_Code) Enum() *TicketSelectionRejectReason_Code
- func (TicketSelectionRejectReason_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x TicketSelectionRejectReason_Code) Number() protoreflect.EnumNumber
- func (x TicketSelectionRejectReason_Code) String() string
- func (TicketSelectionRejectReason_Code) Type() protoreflect.EnumType
- type TicketState
- func (*TicketState) Descriptor() ([]byte, []int)deprecated
- func (x *TicketState) GetAutoAcceptedOdds() map[string]*AutoAcceptedOdds
- func (x *TicketState) GetBetInfo() map[string]*TicketResponseBetInfo
- func (x *TicketState) GetExchangeRate() *wrapperspb.UInt64Value
- func (x *TicketState) GetId() string
- func (x *TicketState) GetPendingDelay() *wrapperspb.UInt32Value
- func (x *TicketState) GetRejectReason() *TicketRejectReason
- func (x *TicketState) GetReoffer() *ResponseReoffer
- func (x *TicketState) GetSelectionInfo() map[string]*TicketSelectionRejectReason
- func (x *TicketState) GetTicketStatus() AcceptanceStatus
- func (x *TicketState) GetTotalOdds() uint64
- func (*TicketState) ProtoMessage()
- func (x *TicketState) ProtoReflect() protoreflect.Message
- func (x *TicketState) Reset()
- func (x *TicketState) String() string
- type TicketsAfter
- func (*TicketsAfter) Descriptor() ([]byte, []int)deprecated
- func (x *TicketsAfter) GetAfter() *timestamppb.Timestamp
- func (x *TicketsAfter) GetRequestId() string
- func (*TicketsAfter) ProtoMessage()
- func (x *TicketsAfter) ProtoReflect() protoreflect.Message
- func (x *TicketsAfter) Reset()
- func (x *TicketsAfter) String() string
- type TicketsAfterState
- func (*TicketsAfterState) Descriptor() ([]byte, []int)deprecated
- func (x *TicketsAfterState) GetAfter() *timestamppb.Timestamp
- func (x *TicketsAfterState) GetBatchInfo() *TicketsAfterState_BatchInfo
- func (x *TicketsAfterState) GetError() *TicketResultError
- func (x *TicketsAfterState) GetRequestId() string
- func (x *TicketsAfterState) GetTickets() []*TicketResultState
- func (*TicketsAfterState) ProtoMessage()
- func (x *TicketsAfterState) ProtoReflect() protoreflect.Message
- func (x *TicketsAfterState) Reset()
- func (x *TicketsAfterState) String() string
- type TicketsAfterState_BatchInfo
- func (*TicketsAfterState_BatchInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TicketsAfterState_BatchInfo) GetActual() uint32
- func (x *TicketsAfterState_BatchInfo) GetTotal() uint32
- func (*TicketsAfterState_BatchInfo) ProtoMessage()
- func (x *TicketsAfterState_BatchInfo) ProtoReflect() protoreflect.Message
- func (x *TicketsAfterState_BatchInfo) Reset()
- func (x *TicketsAfterState_BatchInfo) String() string
- type UnimplementedOtsServer
- func (UnimplementedOtsServer) Bettors(*BettorsRequest, Ots_BettorsServer) error
- func (UnimplementedOtsServer) CancelTicket(context.Context, *TicketCancelRequest) (*TicketCancelResponse, error)
- func (UnimplementedOtsServer) PlayerRiskScore(context.Context, *PlayerRiskScoreRequest) (*PlayerRiskScoreResponse, error)
- func (UnimplementedOtsServer) ResolveForeignMatchesInTicket(context.Context, *ResolveForeignEventsInTicketRequest) (*ResolveForeignEventsInTicketResponse, error)
- func (UnimplementedOtsServer) Ticket(Ots_TicketServer) error
- func (UnimplementedOtsServer) TicketAck(context.Context, *TicketAckRequest) (*TicketAckResponse, error)
- func (UnimplementedOtsServer) TicketMaxStake(context.Context, *TicketMaxStakeRequest) (*TicketMaxStakeResponse, error)
- func (UnimplementedOtsServer) TicketResult(Ots_TicketResultServer) error
- type UnsafeOtsServer
Constants ¶
This section is empty.
Variables ¶
var ( ResultingStatus_name = map[int32]string{ 0: "RESULTING_STATUS_UNSPECIFIED", 1: "RESULTING_STATUS_WON", 2: "RESULTING_STATUS_VOIDED", 3: "RESULTING_STATUS_LOST", 4: "RESULTING_STATUS_NOT_RESULTED", 5: "RESULTING_STATUS_PENDING_LOST", 6: "RESULTING_STATUS_REJECTED", 7: "RESULTING_STATUS_HALF_WON", 8: "RESULTING_STATUS_HALF_LOST", } ResultingStatus_value = map[string]int32{ "RESULTING_STATUS_UNSPECIFIED": 0, "RESULTING_STATUS_WON": 1, "RESULTING_STATUS_VOIDED": 2, "RESULTING_STATUS_LOST": 3, "RESULTING_STATUS_NOT_RESULTED": 4, "RESULTING_STATUS_PENDING_LOST": 5, "RESULTING_STATUS_REJECTED": 6, "RESULTING_STATUS_HALF_WON": 7, "RESULTING_STATUS_HALF_LOST": 8, } )
Enum value maps for ResultingStatus.
var ( AcceptanceStatus_name = map[int32]string{ 0: "ACCEPTANCE_STATUS_UNSPECIFIED", 1: "ACCEPTANCE_STATUS_REJECTED", 2: "ACCEPTANCE_STATUS_ACCEPTED", 3: "ACCEPTANCE_STATUS_PENDING", } AcceptanceStatus_value = map[string]int32{ "ACCEPTANCE_STATUS_UNSPECIFIED": 0, "ACCEPTANCE_STATUS_REJECTED": 1, "ACCEPTANCE_STATUS_ACCEPTED": 2, "ACCEPTANCE_STATUS_PENDING": 3, } )
Enum value maps for AcceptanceStatus.
var ( CancelStatus_name = map[int32]string{ 0: "CANCEL_STATUS_UNSPECIFIED", 1: "CANCEL_STATUS_NOT_CANCELED", 2: "CANCEL_STATUS_CANCELED", } CancelStatus_value = map[string]int32{ "CANCEL_STATUS_UNSPECIFIED": 0, "CANCEL_STATUS_NOT_CANCELED": 1, "CANCEL_STATUS_CANCELED": 2, } )
Enum value maps for CancelStatus.
var ( CancelReason_name = map[int32]string{ 0: "CANCEL_REASON_UNSPECIFIED", 1: "CANCEL_REASON_TICKET_TIMEOUT", 2: "CANCEL_REASON_WRONG_TICKET", 3: "CANCEL_REASON_TECHNICAL_ISSUE", 4: "CANCEL_REASON_UNEXPECTED_ISSUE", 5: "CANCEL_REASON_REGULATOR", 6: "CANCEL_REASON_FOREIGN_STAKE_REJECTED", } CancelReason_value = map[string]int32{ "CANCEL_REASON_UNSPECIFIED": 0, "CANCEL_REASON_TICKET_TIMEOUT": 1, "CANCEL_REASON_WRONG_TICKET": 2, "CANCEL_REASON_TECHNICAL_ISSUE": 3, "CANCEL_REASON_UNEXPECTED_ISSUE": 4, "CANCEL_REASON_REGULATOR": 5, "CANCEL_REASON_FOREIGN_STAKE_REJECTED": 6, } )
Enum value maps for CancelReason.
var ( CancelRejectionReason_name = map[int32]string{ 0: "CANCEL_REJECT_REASON_UNSPECIFIED", 1: "CANCEL_REJECT_REASON_TICKET_NOT_FOUND", 2: "CANCEL_REJECT_REASON_TIME_EXPIRED", 3: "CANCEL_REJECT_REASON_ALREADY_SETTLED", 4: "CANCEL_REJECT_REASON_OTHER", } CancelRejectionReason_value = map[string]int32{ "CANCEL_REJECT_REASON_UNSPECIFIED": 0, "CANCEL_REJECT_REASON_TICKET_NOT_FOUND": 1, "CANCEL_REJECT_REASON_TIME_EXPIRED": 2, "CANCEL_REJECT_REASON_ALREADY_SETTLED": 3, "CANCEL_REJECT_REASON_OTHER": 4, } )
Enum value maps for CancelRejectionReason.
var ( BetStakeType_name = map[int32]string{ 0: "BET_STAKE_TYPE_UNSPECIFIED", 1: "BET_STAKE_TYPE_SUM", 2: "BET_STAKE_TYPE_UNIT", } BetStakeType_value = map[string]int32{ "BET_STAKE_TYPE_UNSPECIFIED": 0, "BET_STAKE_TYPE_SUM": 1, "BET_STAKE_TYPE_UNIT": 2, } )
Enum value maps for BetStakeType.
var ( AcceptOddsChange_name = map[int32]string{ 0: "ACCEPT_ODDS_CHANGE_UNSPECIFIED", 1: "ACCEPT_ODDS_CHANGE_NONE", 2: "ACCEPT_ODDS_CHANGE_ANY", 3: "ACCEPT_ODDS_CHANGE_HIGHER", } AcceptOddsChange_value = map[string]int32{ "ACCEPT_ODDS_CHANGE_UNSPECIFIED": 0, "ACCEPT_ODDS_CHANGE_NONE": 1, "ACCEPT_ODDS_CHANGE_ANY": 2, "ACCEPT_ODDS_CHANGE_HIGHER": 3, } )
Enum value maps for AcceptOddsChange.
var ( TicketChannel_name = map[int32]string{ 0: "TICKET_CHANNEL_UNSPECIFIED", 1: "TICKET_CHANNEL_INTERNET", 2: "TICKET_CHANNEL_RETAIL", 3: "TICKET_CHANNEL_TERMINAL", 4: "TICKET_CHANNEL_MOBILE", 5: "TICKET_CHANNEL_PHONE", 6: "TICKET_CHANNEL_SMS", 7: "TICKET_CHANNEL_CALL_CENTRE", 8: "TICKET_CHANNEL_TV_APP", 9: "TICKET_CHANNEL_AGENT", } TicketChannel_value = map[string]int32{ "TICKET_CHANNEL_UNSPECIFIED": 0, "TICKET_CHANNEL_INTERNET": 1, "TICKET_CHANNEL_RETAIL": 2, "TICKET_CHANNEL_TERMINAL": 3, "TICKET_CHANNEL_MOBILE": 4, "TICKET_CHANNEL_PHONE": 5, "TICKET_CHANNEL_SMS": 6, "TICKET_CHANNEL_CALL_CENTRE": 7, "TICKET_CHANNEL_TV_APP": 8, "TICKET_CHANNEL_AGENT": 9, } )
Enum value maps for TicketChannel.
var ( BetBonusType_name = map[int32]string{ 0: "BET_BONUS_TYPE_UNSPECIFIED", 1: "BET_BONUS_TYPE_TOTAL", } BetBonusType_value = map[string]int32{ "BET_BONUS_TYPE_UNSPECIFIED": 0, "BET_BONUS_TYPE_TOTAL": 1, } )
Enum value maps for BetBonusType.
var ( BetBonusMode_name = map[int32]string{ 0: "BET_BONUS_MODE_UNSPECIFIED", 1: "BET_BONUS_MODE_ALL", } BetBonusMode_value = map[string]int32{ "BET_BONUS_MODE_UNSPECIFIED": 0, "BET_BONUS_MODE_ALL": 1, } )
Enum value maps for BetBonusMode.
var ( ReasonCode_name = map[int32]string{ 0: "REASON_CODE_UNSPECIFIED", 1: "REASON_CODE_INVALID_ARGUMENT", 2: "REASON_CODE_ALREADY_EXISTS", 3: "REASON_CODE_NOT_FOUND", 4: "REASON_CODE_UNAVAILABLE", 5: "REASON_CODE_INTERNAL", } ReasonCode_value = map[string]int32{ "REASON_CODE_UNSPECIFIED": 0, "REASON_CODE_INVALID_ARGUMENT": 1, "REASON_CODE_ALREADY_EXISTS": 2, "REASON_CODE_NOT_FOUND": 3, "REASON_CODE_UNAVAILABLE": 4, "REASON_CODE_INTERNAL": 5, } )
Enum value maps for ReasonCode.
var ( TicketRejectReason_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "CODE_INTERNAL", 2: "CODE_INVALID_ARGUMENT", 3: "CODE_ALREADY_EXISTS", 4: "CODE_STAKE_TOO_LOW", 5: "CODE_STAKE_TOO_HIGH", 6: "CODE_MAX_PAYOUT_BREACHED", 7: "CODE_BETS_NOT_ACCEPTABLE", 8: "CODE_SELECTIONS_NOT_ACCEPTABLE", 9: "CODE_NOT_FOUND", } TicketRejectReason_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "CODE_INTERNAL": 1, "CODE_INVALID_ARGUMENT": 2, "CODE_ALREADY_EXISTS": 3, "CODE_STAKE_TOO_LOW": 4, "CODE_STAKE_TOO_HIGH": 5, "CODE_MAX_PAYOUT_BREACHED": 6, "CODE_BETS_NOT_ACCEPTABLE": 7, "CODE_SELECTIONS_NOT_ACCEPTABLE": 8, "CODE_NOT_FOUND": 9, } )
Enum value maps for TicketRejectReason_Code.
var ( TicketBetRejectReason_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "CODE_ODDS_CHANGED", 2: "CODE_SELECTION_NOT_ACTIVE", 3: "CODE_STAKE_TOO_LOW", 4: "CODE_STAKE_TOO_HIGH", 5: "CODE_MAX_PAYOUT_BREACHED", 6: "CODE_MARKET_LIABILITY_BREACHED", 7: "CODE_BETTOR_LIABILITY_BREACHED", 8: "CODE_EVENT_LIABILITY_BREACHED", 9: "CODE_MARKET_BETTOR_LIABILITY_BREACHED", } TicketBetRejectReason_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "CODE_ODDS_CHANGED": 1, "CODE_SELECTION_NOT_ACTIVE": 2, "CODE_STAKE_TOO_LOW": 3, "CODE_STAKE_TOO_HIGH": 4, "CODE_MAX_PAYOUT_BREACHED": 5, "CODE_MARKET_LIABILITY_BREACHED": 6, "CODE_BETTOR_LIABILITY_BREACHED": 7, "CODE_EVENT_LIABILITY_BREACHED": 8, "CODE_MARKET_BETTOR_LIABILITY_BREACHED": 9, } )
Enum value maps for TicketBetRejectReason_Code.
var ( TicketSelectionRejectReason_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "CODE_ODDS_CHANGED", 2: "CODE_NOT_ACTIVE", 3: "CODE_NOT_INDEPENDENT", } TicketSelectionRejectReason_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "CODE_ODDS_CHANGED": 1, "CODE_NOT_ACTIVE": 2, "CODE_NOT_INDEPENDENT": 3, } )
Enum value maps for TicketSelectionRejectReason_Code.
var ( TicketCashoutRejectReason_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "CODE_INTERNAL", 2: "CODE_INVALID_ARGUMENT", 3: "CODE_NOT_FOUND", 4: "CODE_WRONG_TICKET_STAKE", 5: "CODE_MAX_PAYOUT_BREACHED", } TicketCashoutRejectReason_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "CODE_INTERNAL": 1, "CODE_INVALID_ARGUMENT": 2, "CODE_NOT_FOUND": 3, "CODE_WRONG_TICKET_STAKE": 4, "CODE_MAX_PAYOUT_BREACHED": 5, } )
Enum value maps for TicketCashoutRejectReason_Code.
var File_ots_bettor_proto protoreflect.FileDescriptor
var File_ots_commons_proto protoreflect.FileDescriptor
var File_ots_enum_enums_proto protoreflect.FileDescriptor
var File_ots_player_risk_score_proto protoreflect.FileDescriptor
var File_ots_resolve_foreign_events_in_ticket_proto protoreflect.FileDescriptor
var File_ots_service_proto protoreflect.FileDescriptor
var File_ots_ticket_ack_proto protoreflect.FileDescriptor
var File_ots_ticket_cancel_proto protoreflect.FileDescriptor
var File_ots_ticket_cashout_proto protoreflect.FileDescriptor
var File_ots_ticket_max_stake_proto protoreflect.FileDescriptor
var File_ots_ticket_proto protoreflect.FileDescriptor
var File_ots_ticket_result_proto protoreflect.FileDescriptor
var Ots_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ots.ots", HandlerType: (*OtsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ResolveForeignMatchesInTicket", Handler: _Ots_ResolveForeignMatchesInTicket_Handler, }, { MethodName: "CancelTicket", Handler: _Ots_CancelTicket_Handler, }, { MethodName: "PlayerRiskScore", Handler: _Ots_PlayerRiskScore_Handler, }, { MethodName: "TicketAck", Handler: _Ots_TicketAck_Handler, }, { MethodName: "TicketMaxStake", Handler: _Ots_TicketMaxStake_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Ticket", Handler: _Ots_Ticket_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "TicketResult", Handler: _Ots_TicketResult_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "Bettors", Handler: _Ots_Bettors_Handler, ServerStreams: true, }, }, Metadata: "ots/service.proto", }
Ots_ServiceDesc is the grpc.ServiceDesc for Ots service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOtsServer ¶
func RegisterOtsServer(s grpc.ServiceRegistrar, srv OtsServer)
Types ¶
type AcceptOddsChange ¶
type AcceptOddsChange int32
const ( // Not a valid value. Used for blocking 0 as invalid state. AcceptOddsChange_ACCEPT_ODDS_CHANGE_UNSPECIFIED AcceptOddsChange = 0 AcceptOddsChange_ACCEPT_ODDS_CHANGE_NONE AcceptOddsChange = 1 AcceptOddsChange_ACCEPT_ODDS_CHANGE_ANY AcceptOddsChange = 2 AcceptOddsChange_ACCEPT_ODDS_CHANGE_HIGHER AcceptOddsChange = 3 )
func (AcceptOddsChange) Descriptor ¶
func (AcceptOddsChange) Descriptor() protoreflect.EnumDescriptor
func (AcceptOddsChange) Enum ¶
func (x AcceptOddsChange) Enum() *AcceptOddsChange
func (AcceptOddsChange) EnumDescriptor
deprecated
func (AcceptOddsChange) EnumDescriptor() ([]byte, []int)
Deprecated: Use AcceptOddsChange.Descriptor instead.
func (AcceptOddsChange) Number ¶
func (x AcceptOddsChange) Number() protoreflect.EnumNumber
func (AcceptOddsChange) String ¶
func (x AcceptOddsChange) String() string
func (AcceptOddsChange) Type ¶
func (AcceptOddsChange) Type() protoreflect.EnumType
type AcceptanceStatus ¶
type AcceptanceStatus int32
const ( // Not a valid value. Used for blocking 0 as invalid state. AcceptanceStatus_ACCEPTANCE_STATUS_UNSPECIFIED AcceptanceStatus = 0 AcceptanceStatus_ACCEPTANCE_STATUS_REJECTED AcceptanceStatus = 1 AcceptanceStatus_ACCEPTANCE_STATUS_ACCEPTED AcceptanceStatus = 2 AcceptanceStatus_ACCEPTANCE_STATUS_PENDING AcceptanceStatus = 3 )
func (AcceptanceStatus) Descriptor ¶
func (AcceptanceStatus) Descriptor() protoreflect.EnumDescriptor
func (AcceptanceStatus) Enum ¶
func (x AcceptanceStatus) Enum() *AcceptanceStatus
func (AcceptanceStatus) EnumDescriptor
deprecated
func (AcceptanceStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use AcceptanceStatus.Descriptor instead.
func (AcceptanceStatus) Number ¶
func (x AcceptanceStatus) Number() protoreflect.EnumNumber
func (AcceptanceStatus) String ¶
func (x AcceptanceStatus) String() string
func (AcceptanceStatus) Type ¶
func (AcceptanceStatus) Type() protoreflect.EnumType
type AutoAcceptedOdds ¶
type AutoAcceptedOdds struct { // Selection id. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Odds which were ticked placed multiplied by 10 000 and rounded to long value. RequestedOdds uint64 `protobuf:"varint,2,opt,name=requested_odds,json=requestedOdds,proto3" json:"requested_odds,omitempty"` // Odds which were ticked accepted multiplied by 10 000 and rounded to long value. UsedOdds uint64 `protobuf:"varint,3,opt,name=used_odds,json=usedOdds,proto3" json:"used_odds,omitempty"` // contains filtered or unexported fields }
func (*AutoAcceptedOdds) Descriptor
deprecated
func (*AutoAcceptedOdds) Descriptor() ([]byte, []int)
Deprecated: Use AutoAcceptedOdds.ProtoReflect.Descriptor instead.
func (*AutoAcceptedOdds) GetId ¶ added in v0.2.0
func (x *AutoAcceptedOdds) GetId() string
func (*AutoAcceptedOdds) GetRequestedOdds ¶
func (x *AutoAcceptedOdds) GetRequestedOdds() uint64
func (*AutoAcceptedOdds) GetUsedOdds ¶
func (x *AutoAcceptedOdds) GetUsedOdds() uint64
func (*AutoAcceptedOdds) ProtoMessage ¶
func (*AutoAcceptedOdds) ProtoMessage()
func (*AutoAcceptedOdds) ProtoReflect ¶
func (x *AutoAcceptedOdds) ProtoReflect() protoreflect.Message
func (*AutoAcceptedOdds) Reset ¶
func (x *AutoAcceptedOdds) Reset()
func (*AutoAcceptedOdds) String ¶
func (x *AutoAcceptedOdds) String() string
type Bet ¶
type Bet struct { // Bet id for multi-bets ticket. Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Bonus part of the bet. Bonus *BetBonus `protobuf:"bytes,2,opt,name=bonus,proto3" json:"bonus,omitempty"` // Stake of the bet. Stake *BetStake `protobuf:"bytes,3,opt,name=stake,proto3" json:"stake,omitempty"` // Reoffer bet id. // // Deprecated: Do not use. ReofferId *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=reoffer_id,json=reofferId,proto3" json:"reoffer_id,omitempty"` // Total wins for all generated combinations for the bet. We use this for validation purposes. TotalWins *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=total_wins,json=totalWins,proto3" json:"total_wins,omitempty"` // Array of all the systems in the bet ([0] is not allowed, use [fold] instead). Systems []uint32 `protobuf:"varint,6,rep,packed,name=systems,proto3" json:"systems,omitempty"` // Array of selections which form this bet, if omitted all selections are used. Selections []*BetSelection `protobuf:"bytes,7,rep,name=selections,proto3" json:"selections,omitempty"` // contains filtered or unexported fields }
func (*Bet) Descriptor
deprecated
func (*Bet) GetId ¶
func (x *Bet) GetId() *wrapperspb.StringValue
func (*Bet) GetReofferId
deprecated
func (x *Bet) GetReofferId() *wrapperspb.StringValue
Deprecated: Do not use.
func (*Bet) GetSelections ¶
func (x *Bet) GetSelections() []*BetSelection
func (*Bet) GetSystems ¶
func (*Bet) GetTotalWins ¶
func (x *Bet) GetTotalWins() *wrapperspb.UInt64Value
func (*Bet) ProtoMessage ¶
func (*Bet) ProtoMessage()
func (*Bet) ProtoReflect ¶
func (x *Bet) ProtoReflect() protoreflect.Message
type BetBonus ¶
type BetBonus struct { // Bonus amount to add to the win. It needs to be multiplied by 10000 and rounded to long value in local currency. Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // Bonus type - only supported TOTAL for now. Type BetBonusType `protobuf:"varint,2,opt,name=type,proto3,enum=ots.enums.BetBonusType" json:"type,omitempty"` // Bonus payout mode. Typically used for system bets - only supported ALL for now (means all bets has to be winning). Mode BetBonusMode `protobuf:"varint,3,opt,name=mode,proto3,enum=ots.enums.BetBonusMode" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*BetBonus) Descriptor
deprecated
func (*BetBonus) GetMode ¶
func (x *BetBonus) GetMode() BetBonusMode
func (*BetBonus) GetType ¶
func (x *BetBonus) GetType() BetBonusType
func (*BetBonus) ProtoMessage ¶
func (*BetBonus) ProtoMessage()
func (*BetBonus) ProtoReflect ¶
func (x *BetBonus) ProtoReflect() protoreflect.Message
type BetBonusMode ¶
type BetBonusMode int32
const ( // Not a valid mode. Used for blocking 0 as invalid state. BetBonusMode_BET_BONUS_MODE_UNSPECIFIED BetBonusMode = 0 BetBonusMode_BET_BONUS_MODE_ALL BetBonusMode = 1 )
func (BetBonusMode) Descriptor ¶
func (BetBonusMode) Descriptor() protoreflect.EnumDescriptor
func (BetBonusMode) Enum ¶
func (x BetBonusMode) Enum() *BetBonusMode
func (BetBonusMode) EnumDescriptor
deprecated
func (BetBonusMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use BetBonusMode.Descriptor instead.
func (BetBonusMode) Number ¶
func (x BetBonusMode) Number() protoreflect.EnumNumber
func (BetBonusMode) String ¶
func (x BetBonusMode) String() string
func (BetBonusMode) Type ¶
func (BetBonusMode) Type() protoreflect.EnumType
type BetBonusType ¶
type BetBonusType int32
const ( // Not a valid type. Used for blocking 0 as invalid state. BetBonusType_BET_BONUS_TYPE_UNSPECIFIED BetBonusType = 0 BetBonusType_BET_BONUS_TYPE_TOTAL BetBonusType = 1 )
func (BetBonusType) Descriptor ¶
func (BetBonusType) Descriptor() protoreflect.EnumDescriptor
func (BetBonusType) Enum ¶
func (x BetBonusType) Enum() *BetBonusType
func (BetBonusType) EnumDescriptor
deprecated
func (BetBonusType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BetBonusType.Descriptor instead.
func (BetBonusType) Number ¶
func (x BetBonusType) Number() protoreflect.EnumNumber
func (BetBonusType) String ¶
func (x BetBonusType) String() string
func (BetBonusType) Type ¶
func (BetBonusType) Type() protoreflect.EnumType
type BetCashout ¶ added in v0.23.0
type BetCashout struct { // Bet id. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Total cashout amount. Applicable for bet. It needs to be multiplied by 10000 (or ticket stake multiplier) and rounded to long value in local currency. All subsequent partial cashout must include previous values. CashoutStake uint64 `protobuf:"varint,2,opt,name=cashout_stake,json=cashoutStake,proto3" json:"cashout_stake,omitempty"` // Total cashout percent. Applicable bet. It needs to be multiplied by 10000 (or ticket stake multiplier) and rounded to long value in local currency. All subsequent partial cashout must include previous values. CashoutPercent *wrapperspb.UInt64Value `protobuf:"bytes,3,opt,name=cashout_percent,json=cashoutPercent,proto3" json:"cashout_percent,omitempty"` // contains filtered or unexported fields }
func (*BetCashout) Descriptor
deprecated
added in
v0.23.0
func (*BetCashout) Descriptor() ([]byte, []int)
Deprecated: Use BetCashout.ProtoReflect.Descriptor instead.
func (*BetCashout) GetCashoutPercent ¶ added in v0.23.0
func (x *BetCashout) GetCashoutPercent() *wrapperspb.UInt64Value
func (*BetCashout) GetCashoutStake ¶ added in v0.23.0
func (x *BetCashout) GetCashoutStake() uint64
func (*BetCashout) GetId ¶ added in v0.23.0
func (x *BetCashout) GetId() string
func (*BetCashout) ProtoMessage ¶ added in v0.23.0
func (*BetCashout) ProtoMessage()
func (*BetCashout) ProtoReflect ¶ added in v0.23.0
func (x *BetCashout) ProtoReflect() protoreflect.Message
func (*BetCashout) Reset ¶ added in v0.23.0
func (x *BetCashout) Reset()
func (*BetCashout) String ¶ added in v0.23.0
func (x *BetCashout) String() string
type BetSelection ¶
type BetSelection struct { // Selection ID is a link on TicketSelection.ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*BetSelection) Descriptor
deprecated
func (*BetSelection) Descriptor() ([]byte, []int)
Deprecated: Use BetSelection.ProtoReflect.Descriptor instead.
func (*BetSelection) GetId ¶
func (x *BetSelection) GetId() string
func (*BetSelection) ProtoMessage ¶
func (*BetSelection) ProtoMessage()
func (*BetSelection) ProtoReflect ¶
func (x *BetSelection) ProtoReflect() protoreflect.Message
func (*BetSelection) Reset ¶
func (x *BetSelection) Reset()
func (*BetSelection) String ¶
func (x *BetSelection) String() string
type BetStake ¶
type BetStake struct { // Stake amount. It needs to be multiplied by 10000 (or ticket stake multiplier) and rounded to long value in local currency. Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // Stake type - SUM or UNIT. Type BetStakeType `protobuf:"varint,2,opt,name=type,proto3,enum=ots.enums.BetStakeType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*BetStake) Descriptor
deprecated
func (*BetStake) GetType ¶
func (x *BetStake) GetType() BetStakeType
func (*BetStake) ProtoMessage ¶
func (*BetStake) ProtoMessage()
func (*BetStake) ProtoReflect ¶
func (x *BetStake) ProtoReflect() protoreflect.Message
type BetStakeType ¶
type BetStakeType int32
const ( // Not a valid type. Used for blocking 0 as invalid state. BetStakeType_BET_STAKE_TYPE_UNSPECIFIED BetStakeType = 0 BetStakeType_BET_STAKE_TYPE_SUM BetStakeType = 1 BetStakeType_BET_STAKE_TYPE_UNIT BetStakeType = 2 )
func (BetStakeType) Descriptor ¶
func (BetStakeType) Descriptor() protoreflect.EnumDescriptor
func (BetStakeType) Enum ¶
func (x BetStakeType) Enum() *BetStakeType
func (BetStakeType) EnumDescriptor
deprecated
func (BetStakeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BetStakeType.Descriptor instead.
func (BetStakeType) Number ¶
func (x BetStakeType) Number() protoreflect.EnumNumber
func (BetStakeType) String ¶
func (x BetStakeType) String() string
func (BetStakeType) Type ¶
func (BetStakeType) Type() protoreflect.EnumType
type Bettor ¶ added in v0.25.0
type Bettor struct { // Unique bettor id from Oddin.gg system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique bettor id from operator’s system. ExtId string `protobuf:"bytes,2,opt,name=ext_id,json=extId,proto3" json:"ext_id,omitempty"` ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"` Bos float32 `protobuf:"fixed32,4,opt,name=bos,proto3" json:"bos,omitempty"` OverAskFactor float32 `protobuf:"fixed32,5,opt,name=over_ask_factor,json=overAskFactor,proto3" json:"over_ask_factor,omitempty"` OddinsLabels []string `protobuf:"bytes,6,rep,name=oddins_labels,json=oddinsLabels,proto3" json:"oddins_labels,omitempty"` ClientsLabels []string `protobuf:"bytes,7,rep,name=clients_labels,json=clientsLabels,proto3" json:"clients_labels,omitempty"` // contains filtered or unexported fields }
func (*Bettor) Descriptor
deprecated
added in
v0.25.0
func (*Bettor) GetClientsLabels ¶ added in v0.25.0
func (*Bettor) GetModifiedAt ¶ added in v0.25.0
func (x *Bettor) GetModifiedAt() *timestamppb.Timestamp
func (*Bettor) GetOddinsLabels ¶ added in v0.25.0
func (*Bettor) GetOverAskFactor ¶ added in v0.25.0
func (*Bettor) ProtoMessage ¶ added in v0.25.0
func (*Bettor) ProtoMessage()
func (*Bettor) ProtoReflect ¶ added in v0.25.0
func (x *Bettor) ProtoReflect() protoreflect.Message
type BettorsRequest ¶ added in v0.25.0
type BettorsRequest struct { // if recover_since is null, no updates will be recovered. If it is defined we will start to send to consumer // all BettorRiskCoefficients since given timestamp value RecoverSince *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=recover_since,json=recoverSince,proto3,oneof" json:"recover_since,omitempty"` // contains filtered or unexported fields }
func (*BettorsRequest) Descriptor
deprecated
added in
v0.25.0
func (*BettorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BettorsRequest.ProtoReflect.Descriptor instead.
func (*BettorsRequest) GetRecoverSince ¶ added in v0.25.0
func (x *BettorsRequest) GetRecoverSince() *timestamppb.Timestamp
func (*BettorsRequest) ProtoMessage ¶ added in v0.25.0
func (*BettorsRequest) ProtoMessage()
func (*BettorsRequest) ProtoReflect ¶ added in v0.25.0
func (x *BettorsRequest) ProtoReflect() protoreflect.Message
func (*BettorsRequest) Reset ¶ added in v0.25.0
func (x *BettorsRequest) Reset()
func (*BettorsRequest) String ¶ added in v0.25.0
func (x *BettorsRequest) String() string
type BettorsResponse ¶ added in v0.25.0
type BettorsResponse struct { // Types that are assignable to Data: // *BettorsResponse_Bettor // *BettorsResponse_Keepalive Data isBettorsResponse_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*BettorsResponse) Descriptor
deprecated
added in
v0.25.0
func (*BettorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BettorsResponse.ProtoReflect.Descriptor instead.
func (*BettorsResponse) GetBettor ¶ added in v0.25.0
func (x *BettorsResponse) GetBettor() *Bettor
func (*BettorsResponse) GetData ¶ added in v0.25.0
func (m *BettorsResponse) GetData() isBettorsResponse_Data
func (*BettorsResponse) GetKeepalive ¶ added in v0.25.0
func (x *BettorsResponse) GetKeepalive() *StreamKeepalive
func (*BettorsResponse) ProtoMessage ¶ added in v0.25.0
func (*BettorsResponse) ProtoMessage()
func (*BettorsResponse) ProtoReflect ¶ added in v0.25.0
func (x *BettorsResponse) ProtoReflect() protoreflect.Message
func (*BettorsResponse) Reset ¶ added in v0.25.0
func (x *BettorsResponse) Reset()
func (*BettorsResponse) String ¶ added in v0.25.0
func (x *BettorsResponse) String() string
type BettorsResponse_Bettor ¶ added in v0.25.0
type BettorsResponse_Bettor struct {
Bettor *Bettor `protobuf:"bytes,1,opt,name=bettor,proto3,oneof"`
}
type BettorsResponse_Keepalive ¶ added in v0.25.0
type BettorsResponse_Keepalive struct {
Keepalive *StreamKeepalive `protobuf:"bytes,2,opt,name=keepalive,proto3,oneof"`
}
type CancelBetInfo ¶
type CancelBetInfo struct { // Unique bet id from the operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Cancel percent multiplied by 10 000 and rounded to a long value. Only applicable if cancelling the whole ticket. CancelPercent uint32 `protobuf:"varint,2,opt,name=cancel_percent,json=cancelPercent,proto3" json:"cancel_percent,omitempty"` // contains filtered or unexported fields }
func (*CancelBetInfo) Descriptor
deprecated
func (*CancelBetInfo) Descriptor() ([]byte, []int)
Deprecated: Use CancelBetInfo.ProtoReflect.Descriptor instead.
func (*CancelBetInfo) GetCancelPercent ¶
func (x *CancelBetInfo) GetCancelPercent() uint32
func (*CancelBetInfo) GetId ¶
func (x *CancelBetInfo) GetId() string
func (*CancelBetInfo) ProtoMessage ¶
func (*CancelBetInfo) ProtoMessage()
func (*CancelBetInfo) ProtoReflect ¶
func (x *CancelBetInfo) ProtoReflect() protoreflect.Message
func (*CancelBetInfo) Reset ¶
func (x *CancelBetInfo) Reset()
func (*CancelBetInfo) String ¶
func (x *CancelBetInfo) String() string
type CancelReason ¶
type CancelReason int32
const ( // Not a valid reason. Used for blocking 0 as invalid state. CancelReason_CANCEL_REASON_UNSPECIFIED CancelReason = 0 // Please use this code if a ticket response was not received within a given time. CancelReason_CANCEL_REASON_TICKET_TIMEOUT CancelReason = 1 // Should be used in case the ticket information was wrong and the client will send the corrected ticket in future. CancelReason_CANCEL_REASON_WRONG_TICKET CancelReason = 2 // Clients should use this if they discover a technical issue, // correct it and now need to cancel tickets affected by technical issues. CancelReason_CANCEL_REASON_TECHNICAL_ISSUE CancelReason = 3 // Should be used in case none of the above codes works. CancelReason_CANCEL_REASON_UNEXPECTED_ISSUE CancelReason = 4 // Regulator requested to cancel the ticket. CancelReason_CANCEL_REASON_REGULATOR CancelReason = 5 // Foreign stake can't be accepted. CancelReason_CANCEL_REASON_FOREIGN_STAKE_REJECTED CancelReason = 6 )
func (CancelReason) Descriptor ¶
func (CancelReason) Descriptor() protoreflect.EnumDescriptor
func (CancelReason) Enum ¶
func (x CancelReason) Enum() *CancelReason
func (CancelReason) EnumDescriptor
deprecated
func (CancelReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use CancelReason.Descriptor instead.
func (CancelReason) Number ¶
func (x CancelReason) Number() protoreflect.EnumNumber
func (CancelReason) String ¶
func (x CancelReason) String() string
func (CancelReason) Type ¶
func (CancelReason) Type() protoreflect.EnumType
type CancelRejectionReason ¶
type CancelRejectionReason int32
const ( // Not a valid reason. Used for blocking 0 as invalid state. CancelRejectionReason_CANCEL_REJECT_REASON_UNSPECIFIED CancelRejectionReason = 0 // Ticket was not found in OTS system. CancelRejectionReason_CANCEL_REJECT_REASON_TICKET_NOT_FOUND CancelRejectionReason = 1 // Time for receiving ticket cancellation has passed. CancelRejectionReason_CANCEL_REJECT_REASON_TIME_EXPIRED CancelRejectionReason = 2 // Ticket is already settled and cannot be canceled. CancelRejectionReason_CANCEL_REJECT_REASON_ALREADY_SETTLED CancelRejectionReason = 3 // Reason is not specified. More info should be contained in the message field. CancelRejectionReason_CANCEL_REJECT_REASON_OTHER CancelRejectionReason = 4 )
func (CancelRejectionReason) Descriptor ¶
func (CancelRejectionReason) Descriptor() protoreflect.EnumDescriptor
func (CancelRejectionReason) Enum ¶
func (x CancelRejectionReason) Enum() *CancelRejectionReason
func (CancelRejectionReason) EnumDescriptor
deprecated
func (CancelRejectionReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use CancelRejectionReason.Descriptor instead.
func (CancelRejectionReason) Number ¶
func (x CancelRejectionReason) Number() protoreflect.EnumNumber
func (CancelRejectionReason) String ¶
func (x CancelRejectionReason) String() string
func (CancelRejectionReason) Type ¶
func (CancelRejectionReason) Type() protoreflect.EnumType
type CancelStatus ¶
type CancelStatus int32
const ( // Not a valid value. Used for blocking 0 as invalid state. CancelStatus_CANCEL_STATUS_UNSPECIFIED CancelStatus = 0 CancelStatus_CANCEL_STATUS_NOT_CANCELED CancelStatus = 1 CancelStatus_CANCEL_STATUS_CANCELED CancelStatus = 2 )
func (CancelStatus) Descriptor ¶
func (CancelStatus) Descriptor() protoreflect.EnumDescriptor
func (CancelStatus) Enum ¶
func (x CancelStatus) Enum() *CancelStatus
func (CancelStatus) EnumDescriptor
deprecated
func (CancelStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use CancelStatus.Descriptor instead.
func (CancelStatus) Number ¶
func (x CancelStatus) Number() protoreflect.EnumNumber
func (CancelStatus) String ¶
func (x CancelStatus) String() string
func (CancelStatus) Type ¶
func (CancelStatus) Type() protoreflect.EnumType
type OtsClient ¶
type OtsClient interface { Ticket(ctx context.Context, opts ...grpc.CallOption) (Ots_TicketClient, error) ResolveForeignMatchesInTicket(ctx context.Context, in *ResolveForeignEventsInTicketRequest, opts ...grpc.CallOption) (*ResolveForeignEventsInTicketResponse, error) CancelTicket(ctx context.Context, in *TicketCancelRequest, opts ...grpc.CallOption) (*TicketCancelResponse, error) PlayerRiskScore(ctx context.Context, in *PlayerRiskScoreRequest, opts ...grpc.CallOption) (*PlayerRiskScoreResponse, error) TicketAck(ctx context.Context, in *TicketAckRequest, opts ...grpc.CallOption) (*TicketAckResponse, error) TicketResult(ctx context.Context, opts ...grpc.CallOption) (Ots_TicketResultClient, error) // Deprecated: Do not use. TicketMaxStake(ctx context.Context, in *TicketMaxStakeRequest, opts ...grpc.CallOption) (*TicketMaxStakeResponse, error) Bettors(ctx context.Context, in *BettorsRequest, opts ...grpc.CallOption) (Ots_BettorsClient, error) }
OtsClient is the client API for Ots service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOtsClient ¶
func NewOtsClient(cc grpc.ClientConnInterface) OtsClient
type OtsServer ¶
type OtsServer interface { Ticket(Ots_TicketServer) error ResolveForeignMatchesInTicket(context.Context, *ResolveForeignEventsInTicketRequest) (*ResolveForeignEventsInTicketResponse, error) CancelTicket(context.Context, *TicketCancelRequest) (*TicketCancelResponse, error) PlayerRiskScore(context.Context, *PlayerRiskScoreRequest) (*PlayerRiskScoreResponse, error) TicketAck(context.Context, *TicketAckRequest) (*TicketAckResponse, error) TicketResult(Ots_TicketResultServer) error // Deprecated: Do not use. TicketMaxStake(context.Context, *TicketMaxStakeRequest) (*TicketMaxStakeResponse, error) Bettors(*BettorsRequest, Ots_BettorsServer) error // contains filtered or unexported methods }
OtsServer is the server API for Ots service. All implementations must embed UnimplementedOtsServer for forward compatibility
type Ots_BettorsClient ¶ added in v0.25.0
type Ots_BettorsClient interface { Recv() (*BettorsResponse, error) grpc.ClientStream }
type Ots_BettorsServer ¶ added in v0.25.0
type Ots_BettorsServer interface { Send(*BettorsResponse) error grpc.ServerStream }
type Ots_TicketClient ¶ added in v0.3.0
type Ots_TicketClient interface { Send(*TicketRequest) error Recv() (*TicketResponse, error) grpc.ClientStream }
type Ots_TicketResultClient ¶ added in v0.18.0
type Ots_TicketResultClient interface { Send(*TicketResultRequest) error Recv() (*TicketResultResponse, error) grpc.ClientStream }
type Ots_TicketResultServer ¶ added in v0.18.0
type Ots_TicketResultServer interface { Send(*TicketResultResponse) error Recv() (*TicketResultRequest, error) grpc.ServerStream }
type Ots_TicketServer ¶ added in v0.3.0
type Ots_TicketServer interface { Send(*TicketResponse) error Recv() (*TicketRequest, error) grpc.ServerStream }
type PlayerRiskScoreRequest ¶
type PlayerRiskScoreRequest struct { // Unique player id from the operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
PlayerRiskScoreRequest is used for PlayerRiskScore RPC call. You can use this method to get more insight on individual player risk score.
func (*PlayerRiskScoreRequest) Descriptor
deprecated
func (*PlayerRiskScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use PlayerRiskScoreRequest.ProtoReflect.Descriptor instead.
func (*PlayerRiskScoreRequest) GetId ¶
func (x *PlayerRiskScoreRequest) GetId() string
func (*PlayerRiskScoreRequest) ProtoMessage ¶
func (*PlayerRiskScoreRequest) ProtoMessage()
func (*PlayerRiskScoreRequest) ProtoReflect ¶
func (x *PlayerRiskScoreRequest) ProtoReflect() protoreflect.Message
func (*PlayerRiskScoreRequest) Reset ¶
func (x *PlayerRiskScoreRequest) Reset()
func (*PlayerRiskScoreRequest) String ¶
func (x *PlayerRiskScoreRequest) String() string
type PlayerRiskScoreResponse ¶
type PlayerRiskScoreResponse struct { // Deprecated: Do not use. Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` Bos float32 `protobuf:"fixed32,2,opt,name=bos,proto3" json:"bos,omitempty"` Oaf float32 `protobuf:"fixed32,3,opt,name=oaf,proto3" json:"oaf,omitempty"` LiveDelay uint32 `protobuf:"varint,4,opt,name=live_delay,json=liveDelay,proto3" json:"live_delay,omitempty"` PrematchDelay uint32 `protobuf:"varint,5,opt,name=prematch_delay,json=prematchDelay,proto3" json:"prematch_delay,omitempty"` // contains filtered or unexported fields }
func (*PlayerRiskScoreResponse) Descriptor
deprecated
func (*PlayerRiskScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use PlayerRiskScoreResponse.ProtoReflect.Descriptor instead.
func (*PlayerRiskScoreResponse) GetBos ¶ added in v0.20.0
func (x *PlayerRiskScoreResponse) GetBos() float32
func (*PlayerRiskScoreResponse) GetLiveDelay ¶ added in v0.20.0
func (x *PlayerRiskScoreResponse) GetLiveDelay() uint32
func (*PlayerRiskScoreResponse) GetOaf ¶ added in v0.20.0
func (x *PlayerRiskScoreResponse) GetOaf() float32
func (*PlayerRiskScoreResponse) GetPrematchDelay ¶ added in v0.20.0
func (x *PlayerRiskScoreResponse) GetPrematchDelay() uint32
func (*PlayerRiskScoreResponse) GetScore
deprecated
added in
v0.8.0
func (x *PlayerRiskScoreResponse) GetScore() float32
Deprecated: Do not use.
func (*PlayerRiskScoreResponse) ProtoMessage ¶
func (*PlayerRiskScoreResponse) ProtoMessage()
func (*PlayerRiskScoreResponse) ProtoReflect ¶
func (x *PlayerRiskScoreResponse) ProtoReflect() protoreflect.Message
func (*PlayerRiskScoreResponse) Reset ¶
func (x *PlayerRiskScoreResponse) Reset()
func (*PlayerRiskScoreResponse) String ¶
func (x *PlayerRiskScoreResponse) String() string
type Reason ¶ added in v0.2.0
type Reason struct { // Reason code. Code ReasonCode `protobuf:"varint,1,opt,name=code,proto3,enum=ots.enums.ReasonCode" json:"code,omitempty"` // Message describing a reason. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Reason) Descriptor
deprecated
added in
v0.2.0
func (*Reason) GetCode ¶ added in v0.2.0
func (x *Reason) GetCode() ReasonCode
func (*Reason) GetMessage ¶ added in v0.2.0
func (*Reason) ProtoMessage ¶ added in v0.2.0
func (*Reason) ProtoMessage()
func (*Reason) ProtoReflect ¶ added in v0.2.0
func (x *Reason) ProtoReflect() protoreflect.Message
type ReasonCode ¶ added in v0.3.0
type ReasonCode int32
const ( // Not a valid value. Used for blocking 0 as invalid state. ReasonCode_REASON_CODE_UNSPECIFIED ReasonCode = 0 ReasonCode_REASON_CODE_INVALID_ARGUMENT ReasonCode = 1 ReasonCode_REASON_CODE_ALREADY_EXISTS ReasonCode = 2 ReasonCode_REASON_CODE_NOT_FOUND ReasonCode = 3 ReasonCode_REASON_CODE_UNAVAILABLE ReasonCode = 4 ReasonCode_REASON_CODE_INTERNAL ReasonCode = 5 )
func (ReasonCode) Descriptor ¶ added in v0.3.0
func (ReasonCode) Descriptor() protoreflect.EnumDescriptor
func (ReasonCode) Enum ¶ added in v0.3.0
func (x ReasonCode) Enum() *ReasonCode
func (ReasonCode) EnumDescriptor
deprecated
added in
v0.3.0
func (ReasonCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReasonCode.Descriptor instead.
func (ReasonCode) Number ¶ added in v0.3.0
func (x ReasonCode) Number() protoreflect.EnumNumber
func (ReasonCode) String ¶ added in v0.3.0
func (x ReasonCode) String() string
func (ReasonCode) Type ¶ added in v0.3.0
func (ReasonCode) Type() protoreflect.EnumType
type ResolveForeignEventsInTicketRequest ¶
type ResolveForeignEventsInTicketRequest struct { // Unique ticket id from the operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Stake not handled by Oddin in the same currency as the previous ticket // multiplied by 10 000 and rounded to a long value. ForeignStake uint64 `protobuf:"varint,3,opt,name=foreign_stake,json=foreignStake,proto3" json:"foreign_stake,omitempty"` // Timestamp of non Oddin settlement. Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*ResolveForeignEventsInTicketRequest) Descriptor
deprecated
func (*ResolveForeignEventsInTicketRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolveForeignEventsInTicketRequest.ProtoReflect.Descriptor instead.
func (*ResolveForeignEventsInTicketRequest) GetForeignStake ¶
func (x *ResolveForeignEventsInTicketRequest) GetForeignStake() uint64
func (*ResolveForeignEventsInTicketRequest) GetId ¶ added in v0.2.0
func (x *ResolveForeignEventsInTicketRequest) GetId() string
func (*ResolveForeignEventsInTicketRequest) GetTimestamp ¶
func (x *ResolveForeignEventsInTicketRequest) GetTimestamp() *timestamppb.Timestamp
func (*ResolveForeignEventsInTicketRequest) ProtoMessage ¶
func (*ResolveForeignEventsInTicketRequest) ProtoMessage()
func (*ResolveForeignEventsInTicketRequest) ProtoReflect ¶
func (x *ResolveForeignEventsInTicketRequest) ProtoReflect() protoreflect.Message
func (*ResolveForeignEventsInTicketRequest) Reset ¶
func (x *ResolveForeignEventsInTicketRequest) Reset()
func (*ResolveForeignEventsInTicketRequest) String ¶
func (x *ResolveForeignEventsInTicketRequest) String() string
type ResolveForeignEventsInTicketResponse ¶
type ResolveForeignEventsInTicketResponse struct { // Acceptance status - REJECTED or ACCEPTED Status AcceptanceStatus `protobuf:"varint,1,opt,name=status,proto3,enum=ots.enums.AcceptanceStatus" json:"status,omitempty"` // Information about rejection/acception reason. Reason *Reason `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ResolveForeignEventsInTicketResponse) Descriptor
deprecated
func (*ResolveForeignEventsInTicketResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolveForeignEventsInTicketResponse.ProtoReflect.Descriptor instead.
func (*ResolveForeignEventsInTicketResponse) GetReason ¶ added in v0.2.0
func (x *ResolveForeignEventsInTicketResponse) GetReason() *Reason
func (*ResolveForeignEventsInTicketResponse) GetStatus ¶
func (x *ResolveForeignEventsInTicketResponse) GetStatus() AcceptanceStatus
func (*ResolveForeignEventsInTicketResponse) ProtoMessage ¶
func (*ResolveForeignEventsInTicketResponse) ProtoMessage()
func (*ResolveForeignEventsInTicketResponse) ProtoReflect ¶
func (x *ResolveForeignEventsInTicketResponse) ProtoReflect() protoreflect.Message
func (*ResolveForeignEventsInTicketResponse) Reset ¶
func (x *ResolveForeignEventsInTicketResponse) Reset()
func (*ResolveForeignEventsInTicketResponse) String ¶
func (x *ResolveForeignEventsInTicketResponse) String() string
type ResponseReoffer ¶ added in v0.2.0
type ResponseReoffer struct { Stake uint64 `protobuf:"varint,1,opt,name=stake,proto3" json:"stake,omitempty"` // contains filtered or unexported fields }
func (*ResponseReoffer) Descriptor
deprecated
added in
v0.2.0
func (*ResponseReoffer) Descriptor() ([]byte, []int)
Deprecated: Use ResponseReoffer.ProtoReflect.Descriptor instead.
func (*ResponseReoffer) GetStake ¶ added in v0.2.0
func (x *ResponseReoffer) GetStake() uint64
func (*ResponseReoffer) ProtoMessage ¶ added in v0.2.0
func (*ResponseReoffer) ProtoMessage()
func (*ResponseReoffer) ProtoReflect ¶ added in v0.2.0
func (x *ResponseReoffer) ProtoReflect() protoreflect.Message
func (*ResponseReoffer) Reset ¶ added in v0.2.0
func (x *ResponseReoffer) Reset()
func (*ResponseReoffer) String ¶ added in v0.2.0
func (x *ResponseReoffer) String() string
type ResultingStatus ¶ added in v0.18.0
type ResultingStatus int32
const ( // Not a valid value. Used for blocking 0 as invalid state. ResultingStatus_RESULTING_STATUS_UNSPECIFIED ResultingStatus = 0 ResultingStatus_RESULTING_STATUS_WON ResultingStatus = 1 ResultingStatus_RESULTING_STATUS_VOIDED ResultingStatus = 2 ResultingStatus_RESULTING_STATUS_LOST ResultingStatus = 3 ResultingStatus_RESULTING_STATUS_NOT_RESULTED ResultingStatus = 4 ResultingStatus_RESULTING_STATUS_PENDING_LOST ResultingStatus = 5 ResultingStatus_RESULTING_STATUS_REJECTED ResultingStatus = 6 ResultingStatus_RESULTING_STATUS_HALF_WON ResultingStatus = 7 ResultingStatus_RESULTING_STATUS_HALF_LOST ResultingStatus = 8 )
func (ResultingStatus) Descriptor ¶ added in v0.18.0
func (ResultingStatus) Descriptor() protoreflect.EnumDescriptor
func (ResultingStatus) Enum ¶ added in v0.18.0
func (x ResultingStatus) Enum() *ResultingStatus
func (ResultingStatus) EnumDescriptor
deprecated
added in
v0.18.0
func (ResultingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResultingStatus.Descriptor instead.
func (ResultingStatus) Number ¶ added in v0.18.0
func (x ResultingStatus) Number() protoreflect.EnumNumber
func (ResultingStatus) String ¶ added in v0.18.0
func (x ResultingStatus) String() string
func (ResultingStatus) Type ¶ added in v0.18.0
func (ResultingStatus) Type() protoreflect.EnumType
type StreamKeepalive ¶ added in v0.6.0
type StreamKeepalive struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
StreamKeepalive is used for keeping alive open client, server or bidirectional stream.
func (*StreamKeepalive) Descriptor
deprecated
added in
v0.6.0
func (*StreamKeepalive) Descriptor() ([]byte, []int)
Deprecated: Use StreamKeepalive.ProtoReflect.Descriptor instead.
func (*StreamKeepalive) GetTimestamp ¶ added in v0.6.0
func (x *StreamKeepalive) GetTimestamp() *timestamppb.Timestamp
func (*StreamKeepalive) ProtoMessage ¶ added in v0.6.0
func (*StreamKeepalive) ProtoMessage()
func (*StreamKeepalive) ProtoReflect ¶ added in v0.6.0
func (x *StreamKeepalive) ProtoReflect() protoreflect.Message
func (*StreamKeepalive) Reset ¶ added in v0.6.0
func (x *StreamKeepalive) Reset()
func (*StreamKeepalive) String ¶ added in v0.6.0
func (x *StreamKeepalive) String() string
type Ticket ¶ added in v0.7.0
type Ticket struct { // Unique ticket id from operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Timestamp of request creation. Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // List of ticket bets. Bets []*Bet `protobuf:"bytes,3,rep,name=bets,proto3" json:"bets,omitempty"` // Alternative odds used to accept bet. AcceptOddsChange AcceptOddsChange `` /* 144-byte string literal not displayed */ // Total number of combinations to validate against generated combinations. TotalCombinations uint64 `protobuf:"varint,5,opt,name=total_combinations,json=totalCombinations,proto3" json:"total_combinations,omitempty"` // Customer information. Customer *TicketCustomer `protobuf:"bytes,6,opt,name=customer,proto3" json:"customer,omitempty"` // Reoffer ticket id. ReofferId *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=reoffer_id,json=reofferId,proto3" json:"reoffer_id,omitempty"` // Array of selections which form this bet, if omitted all selections are used. Selections map[string]*TicketSelection `` /* 161-byte string literal not displayed */ // Id of terminal or shop, where bet is received. LocationId *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // Currency of bets stakes. Must be the same for the whole ticket. Currency string `protobuf:"bytes,11,opt,name=currency,proto3" json:"currency,omitempty"` // Channel from which ticket was placed (internet, terminal, etc..). Channel TicketChannel `protobuf:"varint,12,opt,name=channel,proto3,enum=ots.enums.TicketChannel" json:"channel,omitempty"` LastForeignEventStartTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=lastForeignEventStartTime,proto3" json:"lastForeignEventStartTime,omitempty"` LastForeignEventEndTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=lastForeignEventEndTime,proto3" json:"lastForeignEventEndTime,omitempty"` // Stake multiplier for stake - optional value to use instead of 10000 StakeMultiplier *wrapperspb.UInt64Value `protobuf:"bytes,15,opt,name=stake_multiplier,json=stakeMultiplier,proto3" json:"stake_multiplier,omitempty"` // contains filtered or unexported fields }
TicketRequest is used as request for Ticket RPC call.
func (*Ticket) Descriptor
deprecated
added in
v0.7.0
func (*Ticket) GetAcceptOddsChange ¶ added in v0.7.0
func (x *Ticket) GetAcceptOddsChange() AcceptOddsChange
func (*Ticket) GetChannel ¶ added in v0.7.0
func (x *Ticket) GetChannel() TicketChannel
func (*Ticket) GetCurrency ¶ added in v0.7.0
func (*Ticket) GetCustomer ¶ added in v0.7.0
func (x *Ticket) GetCustomer() *TicketCustomer
func (*Ticket) GetLastForeignEventEndTime ¶ added in v0.14.0
func (x *Ticket) GetLastForeignEventEndTime() *timestamppb.Timestamp
func (*Ticket) GetLastForeignEventStartTime ¶ added in v0.13.0
func (x *Ticket) GetLastForeignEventStartTime() *timestamppb.Timestamp
func (*Ticket) GetLocationId ¶ added in v0.7.0
func (x *Ticket) GetLocationId() *wrapperspb.StringValue
func (*Ticket) GetReofferId ¶ added in v0.7.0
func (x *Ticket) GetReofferId() *wrapperspb.StringValue
func (*Ticket) GetSelections ¶ added in v0.7.0
func (x *Ticket) GetSelections() map[string]*TicketSelection
func (*Ticket) GetStakeMultiplier ¶ added in v0.17.2
func (x *Ticket) GetStakeMultiplier() *wrapperspb.UInt64Value
func (*Ticket) GetTimestamp ¶ added in v0.7.0
func (x *Ticket) GetTimestamp() *timestamppb.Timestamp
func (*Ticket) GetTotalCombinations ¶ added in v0.7.0
func (*Ticket) ProtoMessage ¶ added in v0.7.0
func (*Ticket) ProtoMessage()
func (*Ticket) ProtoReflect ¶ added in v0.7.0
func (x *Ticket) ProtoReflect() protoreflect.Message
type TicketAckRequest ¶
type TicketAckRequest struct { // Unique ticket id from the operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Timestamp when the ticket was accepted. Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Acceptance status - REJECTED or ACCEPTED AcceptanceStatus AcceptanceStatus `` /* 142-byte string literal not displayed */ // Information about rejection/acception reason Reason *Reason `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*TicketAckRequest) Descriptor
deprecated
func (*TicketAckRequest) Descriptor() ([]byte, []int)
Deprecated: Use TicketAckRequest.ProtoReflect.Descriptor instead.
func (*TicketAckRequest) GetAcceptanceStatus ¶
func (x *TicketAckRequest) GetAcceptanceStatus() AcceptanceStatus
func (*TicketAckRequest) GetId ¶ added in v0.2.0
func (x *TicketAckRequest) GetId() string
func (*TicketAckRequest) GetReason ¶ added in v0.2.0
func (x *TicketAckRequest) GetReason() *Reason
func (*TicketAckRequest) GetTimestamp ¶
func (x *TicketAckRequest) GetTimestamp() *timestamppb.Timestamp
func (*TicketAckRequest) ProtoMessage ¶
func (*TicketAckRequest) ProtoMessage()
func (*TicketAckRequest) ProtoReflect ¶
func (x *TicketAckRequest) ProtoReflect() protoreflect.Message
func (*TicketAckRequest) Reset ¶
func (x *TicketAckRequest) Reset()
func (*TicketAckRequest) String ¶
func (x *TicketAckRequest) String() string
type TicketAckResponse ¶ added in v0.3.0
type TicketAckResponse struct {
// contains filtered or unexported fields
}
func (*TicketAckResponse) Descriptor
deprecated
added in
v0.3.0
func (*TicketAckResponse) Descriptor() ([]byte, []int)
Deprecated: Use TicketAckResponse.ProtoReflect.Descriptor instead.
func (*TicketAckResponse) ProtoMessage ¶ added in v0.3.0
func (*TicketAckResponse) ProtoMessage()
func (*TicketAckResponse) ProtoReflect ¶ added in v0.3.0
func (x *TicketAckResponse) ProtoReflect() protoreflect.Message
func (*TicketAckResponse) Reset ¶ added in v0.3.0
func (x *TicketAckResponse) Reset()
func (*TicketAckResponse) String ¶ added in v0.3.0
func (x *TicketAckResponse) String() string
type TicketBetRejectReason ¶ added in v0.9.0
type TicketBetRejectReason struct { // Reason code. Code TicketBetRejectReason_Code `protobuf:"varint,1,opt,name=code,proto3,enum=ots.TicketBetRejectReason_Code" json:"code,omitempty"` // Message describing a reason. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*TicketBetRejectReason) Descriptor
deprecated
added in
v0.9.0
func (*TicketBetRejectReason) Descriptor() ([]byte, []int)
Deprecated: Use TicketBetRejectReason.ProtoReflect.Descriptor instead.
func (*TicketBetRejectReason) GetCode ¶ added in v0.9.0
func (x *TicketBetRejectReason) GetCode() TicketBetRejectReason_Code
func (*TicketBetRejectReason) GetMessage ¶ added in v0.9.0
func (x *TicketBetRejectReason) GetMessage() string
func (*TicketBetRejectReason) ProtoMessage ¶ added in v0.9.0
func (*TicketBetRejectReason) ProtoMessage()
func (*TicketBetRejectReason) ProtoReflect ¶ added in v0.9.0
func (x *TicketBetRejectReason) ProtoReflect() protoreflect.Message
func (*TicketBetRejectReason) Reset ¶ added in v0.9.0
func (x *TicketBetRejectReason) Reset()
func (*TicketBetRejectReason) String ¶ added in v0.9.0
func (x *TicketBetRejectReason) String() string
type TicketBetRejectReason_Code ¶ added in v0.9.0
type TicketBetRejectReason_Code int32
const ( // Not a valid value. Used for blocking 0 as invalid state. TicketBetRejectReason_CODE_UNSPECIFIED TicketBetRejectReason_Code = 0 // At least one odds in bet is different from current odds. TicketBetRejectReason_CODE_ODDS_CHANGED TicketBetRejectReason_Code = 1 // At least one selection in bet is not active. TicketBetRejectReason_CODE_SELECTION_NOT_ACTIVE TicketBetRejectReason_Code = 2 // Bet stake is lower then minimum stake. TicketBetRejectReason_CODE_STAKE_TOO_LOW TicketBetRejectReason_Code = 3 // Bet stake is high then maximal stake. TicketBetRejectReason_CODE_STAKE_TOO_HIGH TicketBetRejectReason_Code = 4 // Max payout breached. TicketBetRejectReason_CODE_MAX_PAYOUT_BREACHED TicketBetRejectReason_Code = 5 // Market liability breached. TicketBetRejectReason_CODE_MARKET_LIABILITY_BREACHED TicketBetRejectReason_Code = 6 // Bettor liability breached. TicketBetRejectReason_CODE_BETTOR_LIABILITY_BREACHED TicketBetRejectReason_Code = 7 // Event liability breached. TicketBetRejectReason_CODE_EVENT_LIABILITY_BREACHED TicketBetRejectReason_Code = 8 // Market bettor liability breached. TicketBetRejectReason_CODE_MARKET_BETTOR_LIABILITY_BREACHED TicketBetRejectReason_Code = 9 )
func (TicketBetRejectReason_Code) Descriptor ¶ added in v0.9.0
func (TicketBetRejectReason_Code) Descriptor() protoreflect.EnumDescriptor
func (TicketBetRejectReason_Code) Enum ¶ added in v0.9.0
func (x TicketBetRejectReason_Code) Enum() *TicketBetRejectReason_Code
func (TicketBetRejectReason_Code) EnumDescriptor
deprecated
added in
v0.9.0
func (TicketBetRejectReason_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use TicketBetRejectReason_Code.Descriptor instead.
func (TicketBetRejectReason_Code) Number ¶ added in v0.9.0
func (x TicketBetRejectReason_Code) Number() protoreflect.EnumNumber
func (TicketBetRejectReason_Code) String ¶ added in v0.9.0
func (x TicketBetRejectReason_Code) String() string
func (TicketBetRejectReason_Code) Type ¶ added in v0.9.0
func (TicketBetRejectReason_Code) Type() protoreflect.EnumType
type TicketCancelRequest ¶
type TicketCancelRequest struct { // Unique ticket id from the operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Enum describing the reason for cancelling. CancelReason CancelReason `` /* 126-byte string literal not displayed */ // Verbose description of the reason for cancelling the ticket. CancelReasonDetail string `protobuf:"bytes,3,opt,name=cancel_reason_detail,json=cancelReasonDetail,proto3" json:"cancel_reason_detail,omitempty"` // Timestamp of the ticket cancellation in UTC. Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Cancel percent multiplied by 10 000 and rounded to a long value. Only applicable if cancelling the whole ticket. CancelPercent uint32 `protobuf:"varint,5,opt,name=cancel_percent,json=cancelPercent,proto3" json:"cancel_percent,omitempty"` // Information about the partial bet cancelation. Mutually exclusive with cancel_percent. CancelBetInfo []*CancelBetInfo `protobuf:"bytes,6,rep,name=cancel_bet_info,json=cancelBetInfo,proto3" json:"cancel_bet_info,omitempty"` // contains filtered or unexported fields }
func (*TicketCancelRequest) Descriptor
deprecated
func (*TicketCancelRequest) Descriptor() ([]byte, []int)
Deprecated: Use TicketCancelRequest.ProtoReflect.Descriptor instead.
func (*TicketCancelRequest) GetCancelBetInfo ¶
func (x *TicketCancelRequest) GetCancelBetInfo() []*CancelBetInfo
func (*TicketCancelRequest) GetCancelPercent ¶
func (x *TicketCancelRequest) GetCancelPercent() uint32
func (*TicketCancelRequest) GetCancelReason ¶
func (x *TicketCancelRequest) GetCancelReason() CancelReason
func (*TicketCancelRequest) GetCancelReasonDetail ¶
func (x *TicketCancelRequest) GetCancelReasonDetail() string
func (*TicketCancelRequest) GetId ¶
func (x *TicketCancelRequest) GetId() string
func (*TicketCancelRequest) GetTimestamp ¶
func (x *TicketCancelRequest) GetTimestamp() *timestamppb.Timestamp
func (*TicketCancelRequest) ProtoMessage ¶
func (*TicketCancelRequest) ProtoMessage()
func (*TicketCancelRequest) ProtoReflect ¶
func (x *TicketCancelRequest) ProtoReflect() protoreflect.Message
func (*TicketCancelRequest) Reset ¶
func (x *TicketCancelRequest) Reset()
func (*TicketCancelRequest) String ¶
func (x *TicketCancelRequest) String() string
type TicketCancelResponse ¶
type TicketCancelResponse struct { // Acceptance status - REJECTED or ACCEPTED. Status AcceptanceStatus `protobuf:"varint,1,opt,name=status,proto3,enum=ots.enums.AcceptanceStatus" json:"status,omitempty"` // Enum describing cancel rejection reason. CancelRejectionReason CancelRejectionReason `` /* 164-byte string literal not displayed */ // Verbose description of ticket cancel rejection reason. CancelRejectionMessage string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TicketCancelResponse) Descriptor
deprecated
func (*TicketCancelResponse) Descriptor() ([]byte, []int)
Deprecated: Use TicketCancelResponse.ProtoReflect.Descriptor instead.
func (*TicketCancelResponse) GetCancelRejectionMessage ¶
func (x *TicketCancelResponse) GetCancelRejectionMessage() string
func (*TicketCancelResponse) GetCancelRejectionReason ¶
func (x *TicketCancelResponse) GetCancelRejectionReason() CancelRejectionReason
func (*TicketCancelResponse) GetStatus ¶
func (x *TicketCancelResponse) GetStatus() AcceptanceStatus
func (*TicketCancelResponse) ProtoMessage ¶
func (*TicketCancelResponse) ProtoMessage()
func (*TicketCancelResponse) ProtoReflect ¶
func (x *TicketCancelResponse) ProtoReflect() protoreflect.Message
func (*TicketCancelResponse) Reset ¶
func (x *TicketCancelResponse) Reset()
func (*TicketCancelResponse) String ¶
func (x *TicketCancelResponse) String() string
type TicketCashout ¶ added in v0.23.0
type TicketCashout struct { // Unique ticket id from operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Timestamp of request creation. Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Total cashout amount. Applicable for whole ticket. It needs to be multiplied by 10000 (or ticket stake multiplier) and rounded to long value in local currency. All subsequent partial cashout must include previous values. CashoutStake *wrapperspb.UInt64Value `protobuf:"bytes,3,opt,name=cashout_stake,json=cashoutStake,proto3" json:"cashout_stake,omitempty"` // Total cashout percent. Applicable for whole ticket. It needs to be multiplied by 10000 (or ticket stake multiplier) and rounded to long value in local currency. All subsequent partial cashout must include previous values. CashoutPercent *wrapperspb.UInt64Value `protobuf:"bytes,4,opt,name=cashout_percent,json=cashoutPercent,proto3" json:"cashout_percent,omitempty"` BetCashout []*BetCashout `protobuf:"bytes,5,rep,name=bet_cashout,json=betCashout,proto3" json:"bet_cashout,omitempty"` // Stake multiplier for stake - optional value to use instead of 10000 StakeMultiplier *wrapperspb.UInt64Value `protobuf:"bytes,6,opt,name=stake_multiplier,json=stakeMultiplier,proto3" json:"stake_multiplier,omitempty"` // contains filtered or unexported fields }
TicketCashout is used as request for Ticket Cashout RPC call.
func (*TicketCashout) Descriptor
deprecated
added in
v0.23.0
func (*TicketCashout) Descriptor() ([]byte, []int)
Deprecated: Use TicketCashout.ProtoReflect.Descriptor instead.
func (*TicketCashout) GetBetCashout ¶ added in v0.23.0
func (x *TicketCashout) GetBetCashout() []*BetCashout
func (*TicketCashout) GetCashoutPercent ¶ added in v0.23.0
func (x *TicketCashout) GetCashoutPercent() *wrapperspb.UInt64Value
func (*TicketCashout) GetCashoutStake ¶ added in v0.23.0
func (x *TicketCashout) GetCashoutStake() *wrapperspb.UInt64Value
func (*TicketCashout) GetId ¶ added in v0.23.0
func (x *TicketCashout) GetId() string
func (*TicketCashout) GetStakeMultiplier ¶ added in v0.23.0
func (x *TicketCashout) GetStakeMultiplier() *wrapperspb.UInt64Value
func (*TicketCashout) GetTimestamp ¶ added in v0.23.0
func (x *TicketCashout) GetTimestamp() *timestamppb.Timestamp
func (*TicketCashout) ProtoMessage ¶ added in v0.23.0
func (*TicketCashout) ProtoMessage()
func (*TicketCashout) ProtoReflect ¶ added in v0.23.0
func (x *TicketCashout) ProtoReflect() protoreflect.Message
func (*TicketCashout) Reset ¶ added in v0.23.0
func (x *TicketCashout) Reset()
func (*TicketCashout) String ¶ added in v0.23.0
func (x *TicketCashout) String() string
type TicketCashoutRejectReason ¶ added in v0.23.0
type TicketCashoutRejectReason struct { // Reason code. Code TicketCashoutRejectReason_Code `protobuf:"varint,1,opt,name=code,proto3,enum=ots.TicketCashoutRejectReason_Code" json:"code,omitempty"` // Message describing a reason. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*TicketCashoutRejectReason) Descriptor
deprecated
added in
v0.23.0
func (*TicketCashoutRejectReason) Descriptor() ([]byte, []int)
Deprecated: Use TicketCashoutRejectReason.ProtoReflect.Descriptor instead.
func (*TicketCashoutRejectReason) GetCode ¶ added in v0.23.0
func (x *TicketCashoutRejectReason) GetCode() TicketCashoutRejectReason_Code
func (*TicketCashoutRejectReason) GetMessage ¶ added in v0.23.0
func (x *TicketCashoutRejectReason) GetMessage() string
func (*TicketCashoutRejectReason) ProtoMessage ¶ added in v0.23.0
func (*TicketCashoutRejectReason) ProtoMessage()
func (*TicketCashoutRejectReason) ProtoReflect ¶ added in v0.23.0
func (x *TicketCashoutRejectReason) ProtoReflect() protoreflect.Message
func (*TicketCashoutRejectReason) Reset ¶ added in v0.23.0
func (x *TicketCashoutRejectReason) Reset()
func (*TicketCashoutRejectReason) String ¶ added in v0.23.0
func (x *TicketCashoutRejectReason) String() string
type TicketCashoutRejectReason_Code ¶ added in v0.23.0
type TicketCashoutRejectReason_Code int32
const ( // Not a valid value. Used for blocking 0 as invalid state. TicketCashoutRejectReason_CODE_UNSPECIFIED TicketCashoutRejectReason_Code = 0 // We are having internal problems. TicketCashoutRejectReason_CODE_INTERNAL TicketCashoutRejectReason_Code = 1 // Ticket cashout is not valid. TicketCashoutRejectReason_CODE_INVALID_ARGUMENT TicketCashoutRejectReason_Code = 2 // Ticket not found. TicketCashoutRejectReason_CODE_NOT_FOUND TicketCashoutRejectReason_Code = 3 // Ticket is not in accepted state. TicketCashoutRejectReason_CODE_WRONG_TICKET_STAKE TicketCashoutRejectReason_Code = 4 // Cashout amount is higher than possible payout. TicketCashoutRejectReason_CODE_MAX_PAYOUT_BREACHED TicketCashoutRejectReason_Code = 5 )
func (TicketCashoutRejectReason_Code) Descriptor ¶ added in v0.23.0
func (TicketCashoutRejectReason_Code) Descriptor() protoreflect.EnumDescriptor
func (TicketCashoutRejectReason_Code) Enum ¶ added in v0.23.0
func (x TicketCashoutRejectReason_Code) Enum() *TicketCashoutRejectReason_Code
func (TicketCashoutRejectReason_Code) EnumDescriptor
deprecated
added in
v0.23.0
func (TicketCashoutRejectReason_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use TicketCashoutRejectReason_Code.Descriptor instead.
func (TicketCashoutRejectReason_Code) Number ¶ added in v0.23.0
func (x TicketCashoutRejectReason_Code) Number() protoreflect.EnumNumber
func (TicketCashoutRejectReason_Code) String ¶ added in v0.23.0
func (x TicketCashoutRejectReason_Code) String() string
func (TicketCashoutRejectReason_Code) Type ¶ added in v0.23.0
func (TicketCashoutRejectReason_Code) Type() protoreflect.EnumType
type TicketCashoutState ¶ added in v0.23.0
type TicketCashoutState struct { // Unique ticket id from operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Acceptance status - REJECTED | ACCEPTED. PENDING is not used. TicketStatus AcceptanceStatus `` /* 130-byte string literal not displayed */ // Information about rejection reason. RejectReason *TicketCashoutRejectReason `protobuf:"bytes,3,opt,name=reject_reason,json=rejectReason,proto3" json:"reject_reason,omitempty"` // contains filtered or unexported fields }
func (*TicketCashoutState) Descriptor
deprecated
added in
v0.23.0
func (*TicketCashoutState) Descriptor() ([]byte, []int)
Deprecated: Use TicketCashoutState.ProtoReflect.Descriptor instead.
func (*TicketCashoutState) GetId ¶ added in v0.23.0
func (x *TicketCashoutState) GetId() string
func (*TicketCashoutState) GetRejectReason ¶ added in v0.23.0
func (x *TicketCashoutState) GetRejectReason() *TicketCashoutRejectReason
func (*TicketCashoutState) GetTicketStatus ¶ added in v0.23.0
func (x *TicketCashoutState) GetTicketStatus() AcceptanceStatus
func (*TicketCashoutState) ProtoMessage ¶ added in v0.23.0
func (*TicketCashoutState) ProtoMessage()
func (*TicketCashoutState) ProtoReflect ¶ added in v0.23.0
func (x *TicketCashoutState) ProtoReflect() protoreflect.Message
func (*TicketCashoutState) Reset ¶ added in v0.23.0
func (x *TicketCashoutState) Reset()
func (*TicketCashoutState) String ¶ added in v0.23.0
func (x *TicketCashoutState) String() string
type TicketChannel ¶ added in v0.3.0
type TicketChannel int32
const ( // Not a valid value. Used for blocking 0 as invalid state. TicketChannel_TICKET_CHANNEL_UNSPECIFIED TicketChannel = 0 TicketChannel_TICKET_CHANNEL_INTERNET TicketChannel = 1 TicketChannel_TICKET_CHANNEL_RETAIL TicketChannel = 2 TicketChannel_TICKET_CHANNEL_TERMINAL TicketChannel = 3 TicketChannel_TICKET_CHANNEL_MOBILE TicketChannel = 4 TicketChannel_TICKET_CHANNEL_PHONE TicketChannel = 5 TicketChannel_TICKET_CHANNEL_SMS TicketChannel = 6 TicketChannel_TICKET_CHANNEL_CALL_CENTRE TicketChannel = 7 TicketChannel_TICKET_CHANNEL_TV_APP TicketChannel = 8 TicketChannel_TICKET_CHANNEL_AGENT TicketChannel = 9 )
func (TicketChannel) Descriptor ¶ added in v0.3.0
func (TicketChannel) Descriptor() protoreflect.EnumDescriptor
func (TicketChannel) Enum ¶ added in v0.3.0
func (x TicketChannel) Enum() *TicketChannel
func (TicketChannel) EnumDescriptor
deprecated
added in
v0.3.0
func (TicketChannel) EnumDescriptor() ([]byte, []int)
Deprecated: Use TicketChannel.Descriptor instead.
func (TicketChannel) Number ¶ added in v0.3.0
func (x TicketChannel) Number() protoreflect.EnumNumber
func (TicketChannel) String ¶ added in v0.3.0
func (x TicketChannel) String() string
func (TicketChannel) Type ¶ added in v0.3.0
func (TicketChannel) Type() protoreflect.EnumType
type TicketCustomer ¶ added in v0.3.0
type TicketCustomer struct { // Bookmaker unique user ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Bettor IP address. Ip *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` // Bettor unique device id from which ticket was placed. DeviceId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Supported language ISO-639-1 code. Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` // Optional bettor nickname Nickname *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` // contains filtered or unexported fields }
func (*TicketCustomer) Descriptor
deprecated
added in
v0.3.0
func (*TicketCustomer) Descriptor() ([]byte, []int)
Deprecated: Use TicketCustomer.ProtoReflect.Descriptor instead.
func (*TicketCustomer) GetDeviceId ¶ added in v0.3.0
func (x *TicketCustomer) GetDeviceId() *wrapperspb.StringValue
func (*TicketCustomer) GetId ¶ added in v0.3.0
func (x *TicketCustomer) GetId() string
func (*TicketCustomer) GetIp ¶ added in v0.3.0
func (x *TicketCustomer) GetIp() *wrapperspb.StringValue
func (*TicketCustomer) GetLanguage ¶ added in v0.3.0
func (x *TicketCustomer) GetLanguage() string
func (*TicketCustomer) GetNickname ¶ added in v0.10.1
func (x *TicketCustomer) GetNickname() *wrapperspb.StringValue
func (*TicketCustomer) ProtoMessage ¶ added in v0.3.0
func (*TicketCustomer) ProtoMessage()
func (*TicketCustomer) ProtoReflect ¶ added in v0.3.0
func (x *TicketCustomer) ProtoReflect() protoreflect.Message
func (*TicketCustomer) Reset ¶ added in v0.3.0
func (x *TicketCustomer) Reset()
func (*TicketCustomer) String ¶ added in v0.3.0
func (x *TicketCustomer) String() string
type TicketMaxStake ¶ added in v0.23.0
type TicketMaxStake struct { Ticket *Ticket `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` // contains filtered or unexported fields }
func (*TicketMaxStake) Descriptor
deprecated
added in
v0.23.0
func (*TicketMaxStake) Descriptor() ([]byte, []int)
Deprecated: Use TicketMaxStake.ProtoReflect.Descriptor instead.
func (*TicketMaxStake) GetTicket ¶ added in v0.23.0
func (x *TicketMaxStake) GetTicket() *Ticket
func (*TicketMaxStake) ProtoMessage ¶ added in v0.23.0
func (*TicketMaxStake) ProtoMessage()
func (*TicketMaxStake) ProtoReflect ¶ added in v0.23.0
func (x *TicketMaxStake) ProtoReflect() protoreflect.Message
func (*TicketMaxStake) Reset ¶ added in v0.23.0
func (x *TicketMaxStake) Reset()
func (*TicketMaxStake) String ¶ added in v0.23.0
func (x *TicketMaxStake) String() string
type TicketMaxStakeRequest
deprecated
type TicketMaxStakeRequest struct { Ticket *Ticket `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` // contains filtered or unexported fields }
Deprecated: Do not use.
func (*TicketMaxStakeRequest) Descriptor
deprecated
func (*TicketMaxStakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use TicketMaxStakeRequest.ProtoReflect.Descriptor instead.
func (*TicketMaxStakeRequest) GetTicket ¶ added in v0.19.0
func (x *TicketMaxStakeRequest) GetTicket() *Ticket
func (*TicketMaxStakeRequest) ProtoMessage ¶
func (*TicketMaxStakeRequest) ProtoMessage()
func (*TicketMaxStakeRequest) ProtoReflect ¶
func (x *TicketMaxStakeRequest) ProtoReflect() protoreflect.Message
func (*TicketMaxStakeRequest) Reset ¶
func (x *TicketMaxStakeRequest) Reset()
func (*TicketMaxStakeRequest) String ¶
func (x *TicketMaxStakeRequest) String() string
type TicketMaxStakeResponse
deprecated
type TicketMaxStakeResponse struct { State *TicketState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
Deprecated: Do not use.
func (*TicketMaxStakeResponse) Descriptor
deprecated
func (*TicketMaxStakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use TicketMaxStakeResponse.ProtoReflect.Descriptor instead.
func (*TicketMaxStakeResponse) GetState ¶ added in v0.19.0
func (x *TicketMaxStakeResponse) GetState() *TicketState
func (*TicketMaxStakeResponse) ProtoMessage ¶
func (*TicketMaxStakeResponse) ProtoMessage()
func (*TicketMaxStakeResponse) ProtoReflect ¶
func (x *TicketMaxStakeResponse) ProtoReflect() protoreflect.Message
func (*TicketMaxStakeResponse) Reset ¶
func (x *TicketMaxStakeResponse) Reset()
func (*TicketMaxStakeResponse) String ¶
func (x *TicketMaxStakeResponse) String() string
type TicketMaxStakeState ¶ added in v0.23.0
type TicketMaxStakeState struct { // Unique ticket id from operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` State *TicketState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*TicketMaxStakeState) Descriptor
deprecated
added in
v0.23.0
func (*TicketMaxStakeState) Descriptor() ([]byte, []int)
Deprecated: Use TicketMaxStakeState.ProtoReflect.Descriptor instead.
func (*TicketMaxStakeState) GetId ¶ added in v0.23.0
func (x *TicketMaxStakeState) GetId() string
func (*TicketMaxStakeState) GetState ¶ added in v0.23.0
func (x *TicketMaxStakeState) GetState() *TicketState
func (*TicketMaxStakeState) ProtoMessage ¶ added in v0.23.0
func (*TicketMaxStakeState) ProtoMessage()
func (*TicketMaxStakeState) ProtoReflect ¶ added in v0.23.0
func (x *TicketMaxStakeState) ProtoReflect() protoreflect.Message
func (*TicketMaxStakeState) Reset ¶ added in v0.23.0
func (x *TicketMaxStakeState) Reset()
func (*TicketMaxStakeState) String ¶ added in v0.23.0
func (x *TicketMaxStakeState) String() string
type TicketRejectReason ¶ added in v0.9.0
type TicketRejectReason struct { // Reason code. Code TicketRejectReason_Code `protobuf:"varint,1,opt,name=code,proto3,enum=ots.TicketRejectReason_Code" json:"code,omitempty"` // Message describing a reason. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*TicketRejectReason) Descriptor
deprecated
added in
v0.9.0
func (*TicketRejectReason) Descriptor() ([]byte, []int)
Deprecated: Use TicketRejectReason.ProtoReflect.Descriptor instead.
func (*TicketRejectReason) GetCode ¶ added in v0.9.0
func (x *TicketRejectReason) GetCode() TicketRejectReason_Code
func (*TicketRejectReason) GetMessage ¶ added in v0.9.0
func (x *TicketRejectReason) GetMessage() string
func (*TicketRejectReason) ProtoMessage ¶ added in v0.9.0
func (*TicketRejectReason) ProtoMessage()
func (*TicketRejectReason) ProtoReflect ¶ added in v0.9.0
func (x *TicketRejectReason) ProtoReflect() protoreflect.Message
func (*TicketRejectReason) Reset ¶ added in v0.9.0
func (x *TicketRejectReason) Reset()
func (*TicketRejectReason) String ¶ added in v0.9.0
func (x *TicketRejectReason) String() string
type TicketRejectReason_Code ¶ added in v0.9.0
type TicketRejectReason_Code int32
const ( // Not a valid value. Used for blocking 0 as invalid state. TicketRejectReason_CODE_UNSPECIFIED TicketRejectReason_Code = 0 // We are having internal problems. TicketRejectReason_CODE_INTERNAL TicketRejectReason_Code = 1 // Ticket is not valid. TicketRejectReason_CODE_INVALID_ARGUMENT TicketRejectReason_Code = 2 // Ticket already exists in our system. TicketRejectReason_CODE_ALREADY_EXISTS TicketRejectReason_Code = 3 // Bet stake is lower then minimum stake. TicketRejectReason_CODE_STAKE_TOO_LOW TicketRejectReason_Code = 4 // Bet stake is high then maximal stake. TicketRejectReason_CODE_STAKE_TOO_HIGH TicketRejectReason_Code = 5 // Max payout breached. TicketRejectReason_CODE_MAX_PAYOUT_BREACHED TicketRejectReason_Code = 6 // Ticket bets are not acceptable, check bet_info field for details. TicketRejectReason_CODE_BETS_NOT_ACCEPTABLE TicketRejectReason_Code = 7 // Ticket selections are not acceptable, check selection_info field for details. TicketRejectReason_CODE_SELECTIONS_NOT_ACCEPTABLE TicketRejectReason_Code = 8 // Ticket not found in our system. TicketRejectReason_CODE_NOT_FOUND TicketRejectReason_Code = 9 )
func (TicketRejectReason_Code) Descriptor ¶ added in v0.9.0
func (TicketRejectReason_Code) Descriptor() protoreflect.EnumDescriptor
func (TicketRejectReason_Code) Enum ¶ added in v0.9.0
func (x TicketRejectReason_Code) Enum() *TicketRejectReason_Code
func (TicketRejectReason_Code) EnumDescriptor
deprecated
added in
v0.9.0
func (TicketRejectReason_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use TicketRejectReason_Code.Descriptor instead.
func (TicketRejectReason_Code) Number ¶ added in v0.9.0
func (x TicketRejectReason_Code) Number() protoreflect.EnumNumber
func (TicketRejectReason_Code) String ¶ added in v0.9.0
func (x TicketRejectReason_Code) String() string
func (TicketRejectReason_Code) Type ¶ added in v0.9.0
func (TicketRejectReason_Code) Type() protoreflect.EnumType
type TicketRequest ¶
type TicketRequest struct { // Types that are assignable to Data: // *TicketRequest_Ticket // *TicketRequest_Keepalive // *TicketRequest_Cashout // *TicketRequest_MaxStake Data isTicketRequest_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*TicketRequest) Descriptor
deprecated
func (*TicketRequest) Descriptor() ([]byte, []int)
Deprecated: Use TicketRequest.ProtoReflect.Descriptor instead.
func (*TicketRequest) GetCashout ¶ added in v0.23.0
func (x *TicketRequest) GetCashout() *TicketCashout
func (*TicketRequest) GetData ¶ added in v0.7.0
func (m *TicketRequest) GetData() isTicketRequest_Data
func (*TicketRequest) GetKeepalive ¶ added in v0.7.0
func (x *TicketRequest) GetKeepalive() *StreamKeepalive
func (*TicketRequest) GetMaxStake ¶ added in v0.23.0
func (x *TicketRequest) GetMaxStake() *TicketMaxStake
func (*TicketRequest) GetTicket ¶ added in v0.7.0
func (x *TicketRequest) GetTicket() *Ticket
func (*TicketRequest) ProtoMessage ¶
func (*TicketRequest) ProtoMessage()
func (*TicketRequest) ProtoReflect ¶
func (x *TicketRequest) ProtoReflect() protoreflect.Message
func (*TicketRequest) Reset ¶
func (x *TicketRequest) Reset()
func (*TicketRequest) String ¶
func (x *TicketRequest) String() string
type TicketRequest_Cashout ¶ added in v0.23.0
type TicketRequest_Cashout struct {
Cashout *TicketCashout `protobuf:"bytes,3,opt,name=cashout,proto3,oneof"`
}
type TicketRequest_Keepalive ¶ added in v0.7.0
type TicketRequest_Keepalive struct {
Keepalive *StreamKeepalive `protobuf:"bytes,2,opt,name=keepalive,proto3,oneof"`
}
type TicketRequest_MaxStake ¶ added in v0.23.0
type TicketRequest_MaxStake struct {
MaxStake *TicketMaxStake `protobuf:"bytes,4,opt,name=max_stake,json=maxStake,proto3,oneof"`
}
type TicketRequest_Ticket ¶ added in v0.7.0
type TicketRequest_Ticket struct {
Ticket *Ticket `protobuf:"bytes,1,opt,name=ticket,proto3,oneof"`
}
type TicketResponse ¶
type TicketResponse struct { // Types that are assignable to Data: // *TicketResponse_State // *TicketResponse_Keepalive // *TicketResponse_Cashout // *TicketResponse_MaxStake Data isTicketResponse_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*TicketResponse) Descriptor
deprecated
func (*TicketResponse) Descriptor() ([]byte, []int)
Deprecated: Use TicketResponse.ProtoReflect.Descriptor instead.
func (*TicketResponse) GetCashout ¶ added in v0.23.0
func (x *TicketResponse) GetCashout() *TicketCashoutState
func (*TicketResponse) GetData ¶ added in v0.6.0
func (m *TicketResponse) GetData() isTicketResponse_Data
func (*TicketResponse) GetKeepalive ¶ added in v0.6.0
func (x *TicketResponse) GetKeepalive() *StreamKeepalive
func (*TicketResponse) GetMaxStake ¶ added in v0.23.0
func (x *TicketResponse) GetMaxStake() *TicketMaxStakeState
func (*TicketResponse) GetState ¶ added in v0.6.0
func (x *TicketResponse) GetState() *TicketState
func (*TicketResponse) ProtoMessage ¶
func (*TicketResponse) ProtoMessage()
func (*TicketResponse) ProtoReflect ¶
func (x *TicketResponse) ProtoReflect() protoreflect.Message
func (*TicketResponse) Reset ¶
func (x *TicketResponse) Reset()
func (*TicketResponse) String ¶
func (x *TicketResponse) String() string
type TicketResponseBetInfo ¶
type TicketResponseBetInfo struct { // Unique bet id from operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Information about rejection reason. RejectReason *TicketBetRejectReason `protobuf:"bytes,2,opt,name=reject_reason,json=rejectReason,proto3" json:"reject_reason,omitempty"` // Information about the reoffer stake. Reoffer *ResponseReoffer `protobuf:"bytes,3,opt,name=reoffer,proto3" json:"reoffer,omitempty"` // Total odds for whole bet TotalOdds uint64 `protobuf:"varint,4,opt,name=total_odds,json=totalOdds,proto3" json:"total_odds,omitempty"` // contains filtered or unexported fields }
func (*TicketResponseBetInfo) Descriptor
deprecated
func (*TicketResponseBetInfo) Descriptor() ([]byte, []int)
Deprecated: Use TicketResponseBetInfo.ProtoReflect.Descriptor instead.
func (*TicketResponseBetInfo) GetId ¶
func (x *TicketResponseBetInfo) GetId() string
func (*TicketResponseBetInfo) GetRejectReason ¶ added in v0.9.0
func (x *TicketResponseBetInfo) GetRejectReason() *TicketBetRejectReason
func (*TicketResponseBetInfo) GetReoffer ¶ added in v0.2.0
func (x *TicketResponseBetInfo) GetReoffer() *ResponseReoffer
func (*TicketResponseBetInfo) GetTotalOdds ¶ added in v0.18.0
func (x *TicketResponseBetInfo) GetTotalOdds() uint64
func (*TicketResponseBetInfo) ProtoMessage ¶
func (*TicketResponseBetInfo) ProtoMessage()
func (*TicketResponseBetInfo) ProtoReflect ¶
func (x *TicketResponseBetInfo) ProtoReflect() protoreflect.Message
func (*TicketResponseBetInfo) Reset ¶
func (x *TicketResponseBetInfo) Reset()
func (*TicketResponseBetInfo) String ¶
func (x *TicketResponseBetInfo) String() string
type TicketResponse_Cashout ¶ added in v0.23.0
type TicketResponse_Cashout struct {
Cashout *TicketCashoutState `protobuf:"bytes,3,opt,name=cashout,proto3,oneof"`
}
type TicketResponse_Keepalive ¶ added in v0.6.0
type TicketResponse_Keepalive struct {
Keepalive *StreamKeepalive `protobuf:"bytes,2,opt,name=keepalive,proto3,oneof"`
}
type TicketResponse_MaxStake ¶ added in v0.23.0
type TicketResponse_MaxStake struct {
MaxStake *TicketMaxStakeState `protobuf:"bytes,4,opt,name=max_stake,json=maxStake,proto3,oneof"`
}
type TicketResponse_State ¶ added in v0.6.0
type TicketResponse_State struct {
State *TicketState `protobuf:"bytes,1,opt,name=state,proto3,oneof"`
}
type TicketResult ¶ added in v0.18.0
type TicketResult struct { // Unique ticket id from operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*TicketResult) Descriptor
deprecated
added in
v0.18.0
func (*TicketResult) Descriptor() ([]byte, []int)
Deprecated: Use TicketResult.ProtoReflect.Descriptor instead.
func (*TicketResult) GetId ¶ added in v0.18.0
func (x *TicketResult) GetId() string
func (*TicketResult) ProtoMessage ¶ added in v0.18.0
func (*TicketResult) ProtoMessage()
func (*TicketResult) ProtoReflect ¶ added in v0.18.0
func (x *TicketResult) ProtoReflect() protoreflect.Message
func (*TicketResult) Reset ¶ added in v0.18.0
func (x *TicketResult) Reset()
func (*TicketResult) String ¶ added in v0.18.0
func (x *TicketResult) String() string
type TicketResultError ¶ added in v0.18.3
type TicketResultError struct { Code ReasonCode `protobuf:"varint,1,opt,name=code,proto3,enum=ots.enums.ReasonCode" json:"code,omitempty"` Message *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*TicketResultError) Descriptor
deprecated
added in
v0.18.3
func (*TicketResultError) Descriptor() ([]byte, []int)
Deprecated: Use TicketResultError.ProtoReflect.Descriptor instead.
func (*TicketResultError) GetCode ¶ added in v0.18.3
func (x *TicketResultError) GetCode() ReasonCode
func (*TicketResultError) GetMessage ¶ added in v0.18.3
func (x *TicketResultError) GetMessage() *wrapperspb.StringValue
func (*TicketResultError) ProtoMessage ¶ added in v0.18.3
func (*TicketResultError) ProtoMessage()
func (*TicketResultError) ProtoReflect ¶ added in v0.18.3
func (x *TicketResultError) ProtoReflect() protoreflect.Message
func (*TicketResultError) Reset ¶ added in v0.18.3
func (x *TicketResultError) Reset()
func (*TicketResultError) String ¶ added in v0.18.3
func (x *TicketResultError) String() string
type TicketResultRequest ¶ added in v0.18.0
type TicketResultRequest struct { // Types that are assignable to Data: // *TicketResultRequest_Ticket // *TicketResultRequest_Keepalive // *TicketResultRequest_After Data isTicketResultRequest_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*TicketResultRequest) Descriptor
deprecated
added in
v0.18.0
func (*TicketResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use TicketResultRequest.ProtoReflect.Descriptor instead.
func (*TicketResultRequest) GetAfter ¶ added in v0.18.0
func (x *TicketResultRequest) GetAfter() *TicketsAfter
func (*TicketResultRequest) GetData ¶ added in v0.18.0
func (m *TicketResultRequest) GetData() isTicketResultRequest_Data
func (*TicketResultRequest) GetKeepalive ¶ added in v0.18.0
func (x *TicketResultRequest) GetKeepalive() *StreamKeepalive
func (*TicketResultRequest) GetTicket ¶ added in v0.18.0
func (x *TicketResultRequest) GetTicket() *TicketResult
func (*TicketResultRequest) ProtoMessage ¶ added in v0.18.0
func (*TicketResultRequest) ProtoMessage()
func (*TicketResultRequest) ProtoReflect ¶ added in v0.18.0
func (x *TicketResultRequest) ProtoReflect() protoreflect.Message
func (*TicketResultRequest) Reset ¶ added in v0.18.0
func (x *TicketResultRequest) Reset()
func (*TicketResultRequest) String ¶ added in v0.18.0
func (x *TicketResultRequest) String() string
type TicketResultRequest_After ¶ added in v0.18.0
type TicketResultRequest_After struct {
After *TicketsAfter `protobuf:"bytes,3,opt,name=after,proto3,oneof"`
}
type TicketResultRequest_Keepalive ¶ added in v0.18.0
type TicketResultRequest_Keepalive struct {
Keepalive *StreamKeepalive `protobuf:"bytes,2,opt,name=keepalive,proto3,oneof"`
}
type TicketResultRequest_Ticket ¶ added in v0.18.0
type TicketResultRequest_Ticket struct {
Ticket *TicketResult `protobuf:"bytes,1,opt,name=ticket,proto3,oneof"`
}
type TicketResultResponse ¶ added in v0.18.0
type TicketResultResponse struct { // Types that are assignable to Data: // *TicketResultResponse_State // *TicketResultResponse_Keepalive // *TicketResultResponse_After Data isTicketResultResponse_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*TicketResultResponse) Descriptor
deprecated
added in
v0.18.0
func (*TicketResultResponse) Descriptor() ([]byte, []int)
Deprecated: Use TicketResultResponse.ProtoReflect.Descriptor instead.
func (*TicketResultResponse) GetAfter ¶ added in v0.18.0
func (x *TicketResultResponse) GetAfter() *TicketsAfterState
func (*TicketResultResponse) GetData ¶ added in v0.18.0
func (m *TicketResultResponse) GetData() isTicketResultResponse_Data
func (*TicketResultResponse) GetKeepalive ¶ added in v0.18.0
func (x *TicketResultResponse) GetKeepalive() *StreamKeepalive
func (*TicketResultResponse) GetState ¶ added in v0.18.0
func (x *TicketResultResponse) GetState() *TicketResultState
func (*TicketResultResponse) ProtoMessage ¶ added in v0.18.0
func (*TicketResultResponse) ProtoMessage()
func (*TicketResultResponse) ProtoReflect ¶ added in v0.18.0
func (x *TicketResultResponse) ProtoReflect() protoreflect.Message
func (*TicketResultResponse) Reset ¶ added in v0.18.0
func (x *TicketResultResponse) Reset()
func (*TicketResultResponse) String ¶ added in v0.18.0
func (x *TicketResultResponse) String() string
type TicketResultResponse_After ¶ added in v0.18.0
type TicketResultResponse_After struct {
After *TicketsAfterState `protobuf:"bytes,3,opt,name=after,proto3,oneof"`
}
type TicketResultResponse_Keepalive ¶ added in v0.18.0
type TicketResultResponse_Keepalive struct {
Keepalive *StreamKeepalive `protobuf:"bytes,2,opt,name=keepalive,proto3,oneof"`
}
type TicketResultResponse_State ¶ added in v0.18.0
type TicketResultResponse_State struct {
State *TicketResultState `protobuf:"bytes,1,opt,name=state,proto3,oneof"`
}
type TicketResultState ¶ added in v0.18.0
type TicketResultState struct { // Unique ticket id from operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Resulting status - WON | VOIDED | LOST | PENDING_LOST | NOT_RESULTED | REJECTED. TicketStatus ResultingStatus `` /* 129-byte string literal not displayed */ // Won amount of ticket converted by exchange_rate and multiplied by 10000 and rounded to uint value. WonAmount *wrapperspb.UInt64Value `protobuf:"bytes,3,opt,name=won_amount,json=wonAmount,proto3" json:"won_amount,omitempty"` // Rejection details of bets. BetInfo map[string]*TicketResultStateBetInfo `` /* 170-byte string literal not displayed */ // Rejection details of selections. SelectionInfo map[string]*TicketResultStateSelectionInfo `` /* 188-byte string literal not displayed */ // Exchange rate used to convert currency to EUR multiplied by 10 000 and rounded to long value. ExchangeRate uint64 `protobuf:"varint,6,opt,name=exchange_rate,json=exchangeRate,proto3" json:"exchange_rate,omitempty"` // Ticket result timestamp. ResultedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=resulted_at,json=resultedAt,proto3" json:"resulted_at,omitempty"` // Information about possible error during processing. Error *TicketResultError `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"` // Ticket modified_at timestamp. ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"` // contains filtered or unexported fields }
func (*TicketResultState) Descriptor
deprecated
added in
v0.18.0
func (*TicketResultState) Descriptor() ([]byte, []int)
Deprecated: Use TicketResultState.ProtoReflect.Descriptor instead.
func (*TicketResultState) GetBetInfo ¶ added in v0.18.0
func (x *TicketResultState) GetBetInfo() map[string]*TicketResultStateBetInfo
func (*TicketResultState) GetError ¶ added in v0.18.3
func (x *TicketResultState) GetError() *TicketResultError
func (*TicketResultState) GetExchangeRate ¶ added in v0.18.0
func (x *TicketResultState) GetExchangeRate() uint64
func (*TicketResultState) GetId ¶ added in v0.18.0
func (x *TicketResultState) GetId() string
func (*TicketResultState) GetModifiedAt ¶ added in v0.23.0
func (x *TicketResultState) GetModifiedAt() *timestamppb.Timestamp
func (*TicketResultState) GetResultedAt ¶ added in v0.18.0
func (x *TicketResultState) GetResultedAt() *timestamppb.Timestamp
func (*TicketResultState) GetSelectionInfo ¶ added in v0.18.0
func (x *TicketResultState) GetSelectionInfo() map[string]*TicketResultStateSelectionInfo
func (*TicketResultState) GetTicketStatus ¶ added in v0.18.0
func (x *TicketResultState) GetTicketStatus() ResultingStatus
func (*TicketResultState) GetWonAmount ¶ added in v0.18.0
func (x *TicketResultState) GetWonAmount() *wrapperspb.UInt64Value
func (*TicketResultState) ProtoMessage ¶ added in v0.18.0
func (*TicketResultState) ProtoMessage()
func (*TicketResultState) ProtoReflect ¶ added in v0.18.0
func (x *TicketResultState) ProtoReflect() protoreflect.Message
func (*TicketResultState) Reset ¶ added in v0.18.0
func (x *TicketResultState) Reset()
func (*TicketResultState) String ¶ added in v0.18.0
func (x *TicketResultState) String() string
type TicketResultStateBetInfo ¶ added in v0.18.0
type TicketResultStateBetInfo struct { // Unique bet id from operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Information about rejection reason - WON | VOIDED | LOST | PENDING_LOST | NOT_RESULTED | REJECTED. BetStatus ResultingStatus `protobuf:"varint,2,opt,name=bet_status,json=betStatus,proto3,enum=ots.enums.ResultingStatus" json:"bet_status,omitempty"` // Won amount on bet converted by ticket exchange_rate and multiplied by 10000 and rounded to uint value. WonAmount *wrapperspb.UInt64Value `protobuf:"bytes,3,opt,name=won_amount,json=wonAmount,proto3" json:"won_amount,omitempty"` // contains filtered or unexported fields }
func (*TicketResultStateBetInfo) Descriptor
deprecated
added in
v0.18.0
func (*TicketResultStateBetInfo) Descriptor() ([]byte, []int)
Deprecated: Use TicketResultStateBetInfo.ProtoReflect.Descriptor instead.
func (*TicketResultStateBetInfo) GetBetStatus ¶ added in v0.18.0
func (x *TicketResultStateBetInfo) GetBetStatus() ResultingStatus
func (*TicketResultStateBetInfo) GetId ¶ added in v0.18.0
func (x *TicketResultStateBetInfo) GetId() string
func (*TicketResultStateBetInfo) GetWonAmount ¶ added in v0.18.0
func (x *TicketResultStateBetInfo) GetWonAmount() *wrapperspb.UInt64Value
func (*TicketResultStateBetInfo) ProtoMessage ¶ added in v0.18.0
func (*TicketResultStateBetInfo) ProtoMessage()
func (*TicketResultStateBetInfo) ProtoReflect ¶ added in v0.18.0
func (x *TicketResultStateBetInfo) ProtoReflect() protoreflect.Message
func (*TicketResultStateBetInfo) Reset ¶ added in v0.18.0
func (x *TicketResultStateBetInfo) Reset()
func (*TicketResultStateBetInfo) String ¶ added in v0.18.0
func (x *TicketResultStateBetInfo) String() string
type TicketResultStateSelectionInfo ¶ added in v0.18.0
type TicketResultStateSelectionInfo struct { // Information about selection status - WON | HALF_WON | VOIDED | LOST | HALF_LOST | PENDING_LOST | NOT_RESULTED | REJECTED. SelectionStatus ResultingStatus `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TicketResultStateSelectionInfo) Descriptor
deprecated
added in
v0.18.0
func (*TicketResultStateSelectionInfo) Descriptor() ([]byte, []int)
Deprecated: Use TicketResultStateSelectionInfo.ProtoReflect.Descriptor instead.
func (*TicketResultStateSelectionInfo) GetSelectionStatus ¶ added in v0.18.0
func (x *TicketResultStateSelectionInfo) GetSelectionStatus() ResultingStatus
func (*TicketResultStateSelectionInfo) ProtoMessage ¶ added in v0.18.0
func (*TicketResultStateSelectionInfo) ProtoMessage()
func (*TicketResultStateSelectionInfo) ProtoReflect ¶ added in v0.18.0
func (x *TicketResultStateSelectionInfo) ProtoReflect() protoreflect.Message
func (*TicketResultStateSelectionInfo) Reset ¶ added in v0.18.0
func (x *TicketResultStateSelectionInfo) Reset()
func (*TicketResultStateSelectionInfo) String ¶ added in v0.18.0
func (x *TicketResultStateSelectionInfo) String() string
type TicketSelection ¶
type TicketSelection struct { // Selection ID mush have specific format: // "od:<product_id>/<event_id>/<market_id>/<outcome_id>?<specifier1>=<value1>[&<specifierN=valueN>]*" Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Odds multiplied by 10000 and rounded to uint value. Odds uint64 `protobuf:"varint,3,opt,name=odds,proto3" json:"odds,omitempty"` // Information about selection origin Foreign *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=foreign,proto3" json:"foreign,omitempty"` // contains filtered or unexported fields }
func (*TicketSelection) Descriptor
deprecated
func (*TicketSelection) Descriptor() ([]byte, []int)
Deprecated: Use TicketSelection.ProtoReflect.Descriptor instead.
func (*TicketSelection) GetForeign ¶ added in v0.12.0
func (x *TicketSelection) GetForeign() *wrapperspb.BoolValue
func (*TicketSelection) GetId ¶
func (x *TicketSelection) GetId() string
func (*TicketSelection) GetOdds ¶
func (x *TicketSelection) GetOdds() uint64
func (*TicketSelection) ProtoMessage ¶
func (*TicketSelection) ProtoMessage()
func (*TicketSelection) ProtoReflect ¶
func (x *TicketSelection) ProtoReflect() protoreflect.Message
func (*TicketSelection) Reset ¶
func (x *TicketSelection) Reset()
func (*TicketSelection) String ¶
func (x *TicketSelection) String() string
type TicketSelectionRejectReason ¶ added in v0.9.0
type TicketSelectionRejectReason struct { // Reason code. Code TicketSelectionRejectReason_Code `protobuf:"varint,1,opt,name=code,proto3,enum=ots.TicketSelectionRejectReason_Code" json:"code,omitempty"` // Message describing a reason. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*TicketSelectionRejectReason) Descriptor
deprecated
added in
v0.9.0
func (*TicketSelectionRejectReason) Descriptor() ([]byte, []int)
Deprecated: Use TicketSelectionRejectReason.ProtoReflect.Descriptor instead.
func (*TicketSelectionRejectReason) GetCode ¶ added in v0.9.0
func (x *TicketSelectionRejectReason) GetCode() TicketSelectionRejectReason_Code
func (*TicketSelectionRejectReason) GetMessage ¶ added in v0.9.0
func (x *TicketSelectionRejectReason) GetMessage() string
func (*TicketSelectionRejectReason) ProtoMessage ¶ added in v0.9.0
func (*TicketSelectionRejectReason) ProtoMessage()
func (*TicketSelectionRejectReason) ProtoReflect ¶ added in v0.9.0
func (x *TicketSelectionRejectReason) ProtoReflect() protoreflect.Message
func (*TicketSelectionRejectReason) Reset ¶ added in v0.9.0
func (x *TicketSelectionRejectReason) Reset()
func (*TicketSelectionRejectReason) String ¶ added in v0.9.0
func (x *TicketSelectionRejectReason) String() string
type TicketSelectionRejectReason_Code ¶ added in v0.9.0
type TicketSelectionRejectReason_Code int32
const ( // Not a valid value. Used for blocking 0 as invalid state. TicketSelectionRejectReason_CODE_UNSPECIFIED TicketSelectionRejectReason_Code = 0 // Selection Odds is different from current odds. TicketSelectionRejectReason_CODE_ODDS_CHANGED TicketSelectionRejectReason_Code = 1 // Selection is not active. TicketSelectionRejectReason_CODE_NOT_ACTIVE TicketSelectionRejectReason_Code = 2 // Selection is not independent. TicketSelectionRejectReason_CODE_NOT_INDEPENDENT TicketSelectionRejectReason_Code = 3 )
func (TicketSelectionRejectReason_Code) Descriptor ¶ added in v0.9.0
func (TicketSelectionRejectReason_Code) Descriptor() protoreflect.EnumDescriptor
func (TicketSelectionRejectReason_Code) Enum ¶ added in v0.9.0
func (x TicketSelectionRejectReason_Code) Enum() *TicketSelectionRejectReason_Code
func (TicketSelectionRejectReason_Code) EnumDescriptor
deprecated
added in
v0.9.0
func (TicketSelectionRejectReason_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use TicketSelectionRejectReason_Code.Descriptor instead.
func (TicketSelectionRejectReason_Code) Number ¶ added in v0.9.0
func (x TicketSelectionRejectReason_Code) Number() protoreflect.EnumNumber
func (TicketSelectionRejectReason_Code) String ¶ added in v0.9.0
func (x TicketSelectionRejectReason_Code) String() string
func (TicketSelectionRejectReason_Code) Type ¶ added in v0.9.0
func (TicketSelectionRejectReason_Code) Type() protoreflect.EnumType
type TicketState ¶ added in v0.6.0
type TicketState struct { // Unique ticket id from operator’s system. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Acceptance status - PENDING | REJECTED | ACCEPTED. TicketStatus AcceptanceStatus `` /* 130-byte string literal not displayed */ // Information about rejection reason. RejectReason *TicketRejectReason `protobuf:"bytes,3,opt,name=reject_reason,json=rejectReason,proto3" json:"reject_reason,omitempty"` // Rejection details of bets. BetInfo map[string]*TicketResponseBetInfo `` /* 170-byte string literal not displayed */ // Rejection details of selections. SelectionInfo map[string]*TicketSelectionRejectReason `` /* 188-byte string literal not displayed */ // Exchange rate used to convert currency to EUR multiplied by 10 000 and rounded to long value. ExchangeRate *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=exchange_rate,json=exchangeRate,proto3" json:"exchange_rate,omitempty"` // Alternative odds used to accept bet. AutoAcceptedOdds map[string]*AutoAcceptedOdds `` /* 199-byte string literal not displayed */ // Information about the reoffer stake. Reoffer *ResponseReoffer `protobuf:"bytes,8,opt,name=reoffer,proto3" json:"reoffer,omitempty"` // Total odds for whole ticket TotalOdds uint64 `protobuf:"varint,9,opt,name=total_odds,json=totalOdds,proto3" json:"total_odds,omitempty"` // Possible ticket pending delay PendingDelay *wrapperspb.UInt32Value `protobuf:"bytes,10,opt,name=pending_delay,json=pendingDelay,proto3" json:"pending_delay,omitempty"` // contains filtered or unexported fields }
func (*TicketState) Descriptor
deprecated
added in
v0.6.0
func (*TicketState) Descriptor() ([]byte, []int)
Deprecated: Use TicketState.ProtoReflect.Descriptor instead.
func (*TicketState) GetAutoAcceptedOdds ¶ added in v0.6.0
func (x *TicketState) GetAutoAcceptedOdds() map[string]*AutoAcceptedOdds
func (*TicketState) GetBetInfo ¶ added in v0.6.0
func (x *TicketState) GetBetInfo() map[string]*TicketResponseBetInfo
func (*TicketState) GetExchangeRate ¶ added in v0.6.0
func (x *TicketState) GetExchangeRate() *wrapperspb.UInt64Value
func (*TicketState) GetId ¶ added in v0.6.0
func (x *TicketState) GetId() string
func (*TicketState) GetPendingDelay ¶ added in v0.19.0
func (x *TicketState) GetPendingDelay() *wrapperspb.UInt32Value
func (*TicketState) GetRejectReason ¶ added in v0.9.0
func (x *TicketState) GetRejectReason() *TicketRejectReason
func (*TicketState) GetReoffer ¶ added in v0.9.0
func (x *TicketState) GetReoffer() *ResponseReoffer
func (*TicketState) GetSelectionInfo ¶ added in v0.9.0
func (x *TicketState) GetSelectionInfo() map[string]*TicketSelectionRejectReason
func (*TicketState) GetTicketStatus ¶ added in v0.6.0
func (x *TicketState) GetTicketStatus() AcceptanceStatus
func (*TicketState) GetTotalOdds ¶ added in v0.18.0
func (x *TicketState) GetTotalOdds() uint64
func (*TicketState) ProtoMessage ¶ added in v0.6.0
func (*TicketState) ProtoMessage()
func (*TicketState) ProtoReflect ¶ added in v0.6.0
func (x *TicketState) ProtoReflect() protoreflect.Message
func (*TicketState) Reset ¶ added in v0.6.0
func (x *TicketState) Reset()
func (*TicketState) String ¶ added in v0.6.0
func (x *TicketState) String() string
type TicketsAfter ¶ added in v0.18.0
type TicketsAfter struct { // Unique request id RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Request tickets after this date After *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` // contains filtered or unexported fields }
func (*TicketsAfter) Descriptor
deprecated
added in
v0.18.0
func (*TicketsAfter) Descriptor() ([]byte, []int)
Deprecated: Use TicketsAfter.ProtoReflect.Descriptor instead.
func (*TicketsAfter) GetAfter ¶ added in v0.18.0
func (x *TicketsAfter) GetAfter() *timestamppb.Timestamp
func (*TicketsAfter) GetRequestId ¶ added in v0.18.0
func (x *TicketsAfter) GetRequestId() string
func (*TicketsAfter) ProtoMessage ¶ added in v0.18.0
func (*TicketsAfter) ProtoMessage()
func (*TicketsAfter) ProtoReflect ¶ added in v0.18.0
func (x *TicketsAfter) ProtoReflect() protoreflect.Message
func (*TicketsAfter) Reset ¶ added in v0.18.0
func (x *TicketsAfter) Reset()
func (*TicketsAfter) String ¶ added in v0.18.0
func (x *TicketsAfter) String() string
type TicketsAfterState ¶ added in v0.18.0
type TicketsAfterState struct { // Unique request id from TicketsAfter request RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Request tickets after this date After *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` // Tickets resulted after timestamp Tickets []*TicketResultState `protobuf:"bytes,3,rep,name=tickets,proto3" json:"tickets,omitempty"` // Information about possible error during processing Error *TicketResultError `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // Information about batching - batch size is fixed to 100 tickets BatchInfo *TicketsAfterState_BatchInfo `protobuf:"bytes,5,opt,name=batch_info,json=batchInfo,proto3" json:"batch_info,omitempty"` // contains filtered or unexported fields }
func (*TicketsAfterState) Descriptor
deprecated
added in
v0.18.0
func (*TicketsAfterState) Descriptor() ([]byte, []int)
Deprecated: Use TicketsAfterState.ProtoReflect.Descriptor instead.
func (*TicketsAfterState) GetAfter ¶ added in v0.18.0
func (x *TicketsAfterState) GetAfter() *timestamppb.Timestamp
func (*TicketsAfterState) GetBatchInfo ¶ added in v0.18.4
func (x *TicketsAfterState) GetBatchInfo() *TicketsAfterState_BatchInfo
func (*TicketsAfterState) GetError ¶ added in v0.18.3
func (x *TicketsAfterState) GetError() *TicketResultError
func (*TicketsAfterState) GetRequestId ¶ added in v0.18.0
func (x *TicketsAfterState) GetRequestId() string
func (*TicketsAfterState) GetTickets ¶ added in v0.18.0
func (x *TicketsAfterState) GetTickets() []*TicketResultState
func (*TicketsAfterState) ProtoMessage ¶ added in v0.18.0
func (*TicketsAfterState) ProtoMessage()
func (*TicketsAfterState) ProtoReflect ¶ added in v0.18.0
func (x *TicketsAfterState) ProtoReflect() protoreflect.Message
func (*TicketsAfterState) Reset ¶ added in v0.18.0
func (x *TicketsAfterState) Reset()
func (*TicketsAfterState) String ¶ added in v0.18.0
func (x *TicketsAfterState) String() string
type TicketsAfterState_BatchInfo ¶ added in v0.18.4
type TicketsAfterState_BatchInfo struct { Actual uint32 `protobuf:"varint,1,opt,name=actual,proto3" json:"actual,omitempty"` Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*TicketsAfterState_BatchInfo) Descriptor
deprecated
added in
v0.18.4
func (*TicketsAfterState_BatchInfo) Descriptor() ([]byte, []int)
Deprecated: Use TicketsAfterState_BatchInfo.ProtoReflect.Descriptor instead.
func (*TicketsAfterState_BatchInfo) GetActual ¶ added in v0.18.4
func (x *TicketsAfterState_BatchInfo) GetActual() uint32
func (*TicketsAfterState_BatchInfo) GetTotal ¶ added in v0.18.4
func (x *TicketsAfterState_BatchInfo) GetTotal() uint32
func (*TicketsAfterState_BatchInfo) ProtoMessage ¶ added in v0.18.4
func (*TicketsAfterState_BatchInfo) ProtoMessage()
func (*TicketsAfterState_BatchInfo) ProtoReflect ¶ added in v0.18.4
func (x *TicketsAfterState_BatchInfo) ProtoReflect() protoreflect.Message
func (*TicketsAfterState_BatchInfo) Reset ¶ added in v0.18.4
func (x *TicketsAfterState_BatchInfo) Reset()
func (*TicketsAfterState_BatchInfo) String ¶ added in v0.18.4
func (x *TicketsAfterState_BatchInfo) String() string
type UnimplementedOtsServer ¶
type UnimplementedOtsServer struct { }
UnimplementedOtsServer must be embedded to have forward compatible implementations.
func (UnimplementedOtsServer) Bettors ¶ added in v0.25.0
func (UnimplementedOtsServer) Bettors(*BettorsRequest, Ots_BettorsServer) error
func (UnimplementedOtsServer) CancelTicket ¶
func (UnimplementedOtsServer) CancelTicket(context.Context, *TicketCancelRequest) (*TicketCancelResponse, error)
func (UnimplementedOtsServer) PlayerRiskScore ¶
func (UnimplementedOtsServer) PlayerRiskScore(context.Context, *PlayerRiskScoreRequest) (*PlayerRiskScoreResponse, error)
func (UnimplementedOtsServer) ResolveForeignMatchesInTicket ¶
func (UnimplementedOtsServer) ResolveForeignMatchesInTicket(context.Context, *ResolveForeignEventsInTicketRequest) (*ResolveForeignEventsInTicketResponse, error)
func (UnimplementedOtsServer) Ticket ¶
func (UnimplementedOtsServer) Ticket(Ots_TicketServer) error
func (UnimplementedOtsServer) TicketAck ¶
func (UnimplementedOtsServer) TicketAck(context.Context, *TicketAckRequest) (*TicketAckResponse, error)
func (UnimplementedOtsServer) TicketMaxStake ¶
func (UnimplementedOtsServer) TicketMaxStake(context.Context, *TicketMaxStakeRequest) (*TicketMaxStakeResponse, error)
func (UnimplementedOtsServer) TicketResult ¶ added in v0.18.0
func (UnimplementedOtsServer) TicketResult(Ots_TicketResultServer) error
type UnsafeOtsServer ¶ added in v0.18.0
type UnsafeOtsServer interface {
// contains filtered or unexported methods
}
UnsafeOtsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OtsServer will result in compilation errors.