Documentation ¶
Index ¶
- Variables
- type AccountBalance
- func (*AccountBalance) Descriptor() ([]byte, []int)deprecated
- func (x *AccountBalance) GetBalance() *Balance
- func (x *AccountBalance) GetCurrency() string
- func (x *AccountBalance) GetNumber() string
- func (*AccountBalance) ProtoMessage()
- func (x *AccountBalance) ProtoReflect() protoreflect.Message
- func (x *AccountBalance) Reset()
- func (x *AccountBalance) String() string
- type AccountsResponse
- func (*AccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountsResponse) GetAccounts() []*AccountBalance
- func (*AccountsResponse) ProtoMessage()
- func (x *AccountsResponse) ProtoReflect() protoreflect.Message
- func (x *AccountsResponse) Reset()
- func (x *AccountsResponse) String() string
- type Balance
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 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) ProtoReflect ¶
func (x *Balance) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.