accountsv2

package
v1.34.2-20240816105022... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_linq_money_accounts_v2_accounts_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountBalance

type AccountBalance struct {

	// Number of the internal account
	Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
	// Internal currency 3-letters code
	// LNQ for wallet balance, for example
	Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
	// Actual balance of the user in coins
	Balance *Balance `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

Returns detailed information about user balance on the requested account

func (*AccountBalance) Descriptor deprecated

func (*AccountBalance) Descriptor() ([]byte, []int)

Deprecated: Use AccountBalance.ProtoReflect.Descriptor instead.

func (*AccountBalance) GetBalance

func (x *AccountBalance) GetBalance() *Balance

func (*AccountBalance) GetCurrency

func (x *AccountBalance) GetCurrency() string

func (*AccountBalance) GetNumber

func (x *AccountBalance) GetNumber() string

func (*AccountBalance) ProtoMessage

func (*AccountBalance) ProtoMessage()

func (*AccountBalance) ProtoReflect

func (x *AccountBalance) ProtoReflect() protoreflect.Message

func (*AccountBalance) Reset

func (x *AccountBalance) Reset()

func (*AccountBalance) String

func (x *AccountBalance) String() string

type AccountsResponse

type AccountsResponse struct {

	// Returns list of accounts, limited by user access
	// For the game request only LNQ and this game accounts will be returned
	Accounts []*AccountBalance `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

List of active accounts for the current user

func (*AccountsResponse) Descriptor deprecated

func (*AccountsResponse) Descriptor() ([]byte, []int)

Deprecated: Use AccountsResponse.ProtoReflect.Descriptor instead.

func (*AccountsResponse) GetAccounts

func (x *AccountsResponse) GetAccounts() []*AccountBalance

func (*AccountsResponse) ProtoMessage

func (*AccountsResponse) ProtoMessage()

func (*AccountsResponse) ProtoReflect

func (x *AccountsResponse) ProtoReflect() protoreflect.Message

func (*AccountsResponse) Reset

func (x *AccountsResponse) Reset()

func (*AccountsResponse) String

func (x *AccountsResponse) String() string

type AppliedRewardOrder

type AppliedRewardOrder struct {

	// Order identifier, uuid string
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Amount of the order for bet or win
	Amount uint32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// Order status after transaction has beed applied
	Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// Reference data that was placed into the order during the creation
	Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

Returns order details and account state

func (*AppliedRewardOrder) Descriptor deprecated

func (*AppliedRewardOrder) Descriptor() ([]byte, []int)

Deprecated: Use AppliedRewardOrder.ProtoReflect.Descriptor instead.

func (*AppliedRewardOrder) GetAmount

func (x *AppliedRewardOrder) GetAmount() uint32

func (*AppliedRewardOrder) GetId

func (x *AppliedRewardOrder) GetId() string

func (*AppliedRewardOrder) GetReference

func (x *AppliedRewardOrder) GetReference() string

func (*AppliedRewardOrder) GetStatus

func (x *AppliedRewardOrder) GetStatus() string

func (*AppliedRewardOrder) ProtoMessage

func (*AppliedRewardOrder) ProtoMessage()

func (*AppliedRewardOrder) ProtoReflect

func (x *AppliedRewardOrder) ProtoReflect() protoreflect.Message

func (*AppliedRewardOrder) Reset

func (x *AppliedRewardOrder) Reset()

func (*AppliedRewardOrder) String

func (x *AppliedRewardOrder) String() string

type Balance

type Balance struct {

	// Current balance of the account in coins
	Current uint32 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"`
	// Available to spend balance of the user in coins
	Available uint32 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
	// contains filtered or unexported fields
}

Object containing current and available balances Values presented in currency coins, which means that values should be devided by 100

func (*Balance) Descriptor deprecated

func (*Balance) Descriptor() ([]byte, []int)

Deprecated: Use Balance.ProtoReflect.Descriptor instead.

func (*Balance) GetAvailable

func (x *Balance) GetAvailable() uint32

func (*Balance) GetCurrent

func (x *Balance) GetCurrent() uint32

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) ProtoReflect

func (x *Balance) ProtoReflect() protoreflect.Message

func (*Balance) Reset

func (x *Balance) Reset()

func (*Balance) String

func (x *Balance) String() string

type CustomRewardRequest

type CustomRewardRequest struct {

	// Amount of money for reward in coins
	Amount int32 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// Reason for the reward, has to be explained
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// Reference to the transaction, if any
	Reference *string `protobuf:"bytes,3,opt,name=reference,proto3,oneof" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

Request to apply custom reward to the user account

func (*CustomRewardRequest) Descriptor deprecated

func (*CustomRewardRequest) Descriptor() ([]byte, []int)

Deprecated: Use CustomRewardRequest.ProtoReflect.Descriptor instead.

func (*CustomRewardRequest) GetAmount

func (x *CustomRewardRequest) GetAmount() int32

func (*CustomRewardRequest) GetReason

func (x *CustomRewardRequest) GetReason() string

func (*CustomRewardRequest) GetReference

func (x *CustomRewardRequest) GetReference() string

func (*CustomRewardRequest) ProtoMessage

func (*CustomRewardRequest) ProtoMessage()

func (*CustomRewardRequest) ProtoReflect

func (x *CustomRewardRequest) ProtoReflect() protoreflect.Message

func (*CustomRewardRequest) Reset

func (x *CustomRewardRequest) Reset()

func (*CustomRewardRequest) String

func (x *CustomRewardRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL