Documentation ¶
Index ¶
- Variables
- type BalanceRequest
- func (*BalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceRequest) GetStartDate() *timestamppb.Timestamp
- func (x *BalanceRequest) GetUserId() int32
- func (*BalanceRequest) ProtoMessage()
- func (x *BalanceRequest) ProtoReflect() protoreflect.Message
- func (x *BalanceRequest) Reset()
- func (x *BalanceRequest) String() string
- type BalanceResponse
- func (*BalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceResponse) GetBalanceAmount() float32
- func (x *BalanceResponse) GetUserId() int32
- func (*BalanceResponse) ProtoMessage()
- func (x *BalanceResponse) ProtoReflect() protoreflect.Message
- func (x *BalanceResponse) Reset()
- func (x *BalanceResponse) String() string
- type DepositRequest
- func (*DepositRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DepositRequest) GetAmount() float32
- func (x *DepositRequest) GetId() string
- func (x *DepositRequest) GetUpdated() *timestamppb.Timestamp
- func (x *DepositRequest) GetUserId() int32
- func (*DepositRequest) ProtoMessage()
- func (x *DepositRequest) ProtoReflect() protoreflect.Message
- func (x *DepositRequest) Reset()
- func (x *DepositRequest) String() string
- type DepositResponse
- func (*DepositResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DepositResponse) GetDateCreated() *timestamppb.Timestamp
- func (x *DepositResponse) GetDepositStatus() Status
- func (x *DepositResponse) GetId() string
- func (*DepositResponse) ProtoMessage()
- func (x *DepositResponse) ProtoReflect() protoreflect.Message
- func (x *DepositResponse) Reset()
- func (x *DepositResponse) String() string
- type LockRequest
- func (*LockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LockRequest) GetAmount() float32
- func (x *LockRequest) GetDuration() *timestamppb.Timestamp
- func (x *LockRequest) GetLockId() string
- func (*LockRequest) ProtoMessage()
- func (x *LockRequest) ProtoReflect() protoreflect.Message
- func (x *LockRequest) Reset()
- func (x *LockRequest) String() string
- type LockResponse
- func (*LockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LockResponse) GetLockResponse() string
- func (x *LockResponse) GetLockStatus() Status
- func (x *LockResponse) GetMaturityDate() *timestamppb.Timestamp
- func (*LockResponse) ProtoMessage()
- func (x *LockResponse) ProtoReflect() protoreflect.Message
- func (x *LockResponse) Reset()
- func (x *LockResponse) String() string
- type Status
- type WithdrawalRequest
- func (*WithdrawalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawalRequest) GetAmount() float32
- func (x *WithdrawalRequest) GetDateCreated() *timestamppb.Timestamp
- func (x *WithdrawalRequest) GetId() string
- func (x *WithdrawalRequest) GetUserId() int32
- func (*WithdrawalRequest) ProtoMessage()
- func (x *WithdrawalRequest) ProtoReflect() protoreflect.Message
- func (x *WithdrawalRequest) Reset()
- func (x *WithdrawalRequest) String() string
- type WithdrawalResponse
- func (*WithdrawalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawalResponse) GetWithdrawalId() string
- func (x *WithdrawalResponse) GetWithdrawalResponse() string
- func (x *WithdrawalResponse) GetWithdrawalStatus() Status
- func (*WithdrawalResponse) ProtoMessage()
- func (x *WithdrawalResponse) ProtoReflect() protoreflect.Message
- func (x *WithdrawalResponse) Reset()
- func (x *WithdrawalResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Status_name = map[int32]string{ 0: "FAILED", 1: "PENDING", 2: "SUCCESS", } Status_value = map[string]int32{ "FAILED": 0, "PENDING": 1, "SUCCESS": 2, } )
Enum value maps for Status.
View Source
var File_proto_transaction_transaction_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BalanceRequest ¶
type BalanceRequest struct { UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` StartDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=startDate,proto3" json:"startDate,omitempty"` // contains filtered or unexported fields }
func (*BalanceRequest) Descriptor
deprecated
func (*BalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use BalanceRequest.ProtoReflect.Descriptor instead.
func (*BalanceRequest) GetStartDate ¶
func (x *BalanceRequest) GetStartDate() *timestamppb.Timestamp
func (*BalanceRequest) GetUserId ¶
func (x *BalanceRequest) GetUserId() int32
func (*BalanceRequest) ProtoMessage ¶
func (*BalanceRequest) ProtoMessage()
func (*BalanceRequest) ProtoReflect ¶
func (x *BalanceRequest) ProtoReflect() protoreflect.Message
func (*BalanceRequest) Reset ¶
func (x *BalanceRequest) Reset()
func (*BalanceRequest) String ¶
func (x *BalanceRequest) String() string
type BalanceResponse ¶
type BalanceResponse struct { UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` BalanceAmount float32 `protobuf:"fixed32,2,opt,name=balance_amount,json=balanceAmount,proto3" json:"balance_amount,omitempty"` // contains filtered or unexported fields }
func (*BalanceResponse) Descriptor
deprecated
func (*BalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use BalanceResponse.ProtoReflect.Descriptor instead.
func (*BalanceResponse) GetBalanceAmount ¶
func (x *BalanceResponse) GetBalanceAmount() float32
func (*BalanceResponse) GetUserId ¶
func (x *BalanceResponse) GetUserId() int32
func (*BalanceResponse) ProtoMessage ¶
func (*BalanceResponse) ProtoMessage()
func (*BalanceResponse) ProtoReflect ¶
func (x *BalanceResponse) ProtoReflect() protoreflect.Message
func (*BalanceResponse) Reset ¶
func (x *BalanceResponse) Reset()
func (*BalanceResponse) String ¶
func (x *BalanceResponse) String() string
type DepositRequest ¶
type DepositRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Amount float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"` Updated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated,proto3" json:"updated,omitempty"` // contains filtered or unexported fields }
func (*DepositRequest) Descriptor
deprecated
func (*DepositRequest) Descriptor() ([]byte, []int)
Deprecated: Use DepositRequest.ProtoReflect.Descriptor instead.
func (*DepositRequest) GetAmount ¶
func (x *DepositRequest) GetAmount() float32
func (*DepositRequest) GetId ¶
func (x *DepositRequest) GetId() string
func (*DepositRequest) GetUpdated ¶
func (x *DepositRequest) GetUpdated() *timestamppb.Timestamp
func (*DepositRequest) GetUserId ¶
func (x *DepositRequest) GetUserId() int32
func (*DepositRequest) ProtoMessage ¶
func (*DepositRequest) ProtoMessage()
func (*DepositRequest) ProtoReflect ¶
func (x *DepositRequest) ProtoReflect() protoreflect.Message
func (*DepositRequest) Reset ¶
func (x *DepositRequest) Reset()
func (*DepositRequest) String ¶
func (x *DepositRequest) String() string
type DepositResponse ¶
type DepositResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DepositStatus Status `protobuf:"varint,2,opt,name=depositStatus,proto3,enum=transaction.Status" json:"depositStatus,omitempty"` DateCreated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=dateCreated,proto3" json:"dateCreated,omitempty"` // contains filtered or unexported fields }
func (*DepositResponse) Descriptor
deprecated
func (*DepositResponse) Descriptor() ([]byte, []int)
Deprecated: Use DepositResponse.ProtoReflect.Descriptor instead.
func (*DepositResponse) GetDateCreated ¶
func (x *DepositResponse) GetDateCreated() *timestamppb.Timestamp
func (*DepositResponse) GetDepositStatus ¶
func (x *DepositResponse) GetDepositStatus() Status
func (*DepositResponse) GetId ¶
func (x *DepositResponse) GetId() string
func (*DepositResponse) ProtoMessage ¶
func (*DepositResponse) ProtoMessage()
func (*DepositResponse) ProtoReflect ¶
func (x *DepositResponse) ProtoReflect() protoreflect.Message
func (*DepositResponse) Reset ¶
func (x *DepositResponse) Reset()
func (*DepositResponse) String ¶
func (x *DepositResponse) String() string
type LockRequest ¶
type LockRequest struct { LockId string `protobuf:"bytes,1,opt,name=lockId,proto3" json:"lockId,omitempty"` Amount float32 `protobuf:"fixed32,2,opt,name=amount,proto3" json:"amount,omitempty"` Duration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*LockRequest) Descriptor
deprecated
func (*LockRequest) Descriptor() ([]byte, []int)
Deprecated: Use LockRequest.ProtoReflect.Descriptor instead.
func (*LockRequest) GetAmount ¶
func (x *LockRequest) GetAmount() float32
func (*LockRequest) GetDuration ¶
func (x *LockRequest) GetDuration() *timestamppb.Timestamp
func (*LockRequest) GetLockId ¶
func (x *LockRequest) GetLockId() string
func (*LockRequest) ProtoMessage ¶
func (*LockRequest) ProtoMessage()
func (*LockRequest) ProtoReflect ¶
func (x *LockRequest) ProtoReflect() protoreflect.Message
func (*LockRequest) Reset ¶
func (x *LockRequest) Reset()
func (*LockRequest) String ¶
func (x *LockRequest) String() string
type LockResponse ¶
type LockResponse struct { LockResponse string `protobuf:"bytes,1,opt,name=lockResponse,proto3" json:"lockResponse,omitempty"` LockStatus Status `protobuf:"varint,2,opt,name=lockStatus,proto3,enum=transaction.Status" json:"lockStatus,omitempty"` MaturityDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=maturityDate,proto3" json:"maturityDate,omitempty"` // contains filtered or unexported fields }
func (*LockResponse) Descriptor
deprecated
func (*LockResponse) Descriptor() ([]byte, []int)
Deprecated: Use LockResponse.ProtoReflect.Descriptor instead.
func (*LockResponse) GetLockResponse ¶
func (x *LockResponse) GetLockResponse() string
func (*LockResponse) GetLockStatus ¶
func (x *LockResponse) GetLockStatus() Status
func (*LockResponse) GetMaturityDate ¶
func (x *LockResponse) GetMaturityDate() *timestamppb.Timestamp
func (*LockResponse) ProtoMessage ¶
func (*LockResponse) ProtoMessage()
func (*LockResponse) ProtoReflect ¶
func (x *LockResponse) ProtoReflect() protoreflect.Message
func (*LockResponse) Reset ¶
func (x *LockResponse) Reset()
func (*LockResponse) String ¶
func (x *LockResponse) String() string
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type WithdrawalRequest ¶
type WithdrawalRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Amount float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"` DateCreated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=dateCreated,proto3" json:"dateCreated,omitempty"` // contains filtered or unexported fields }
func (*WithdrawalRequest) Descriptor
deprecated
func (*WithdrawalRequest) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawalRequest.ProtoReflect.Descriptor instead.
func (*WithdrawalRequest) GetAmount ¶
func (x *WithdrawalRequest) GetAmount() float32
func (*WithdrawalRequest) GetDateCreated ¶
func (x *WithdrawalRequest) GetDateCreated() *timestamppb.Timestamp
func (*WithdrawalRequest) GetId ¶
func (x *WithdrawalRequest) GetId() string
func (*WithdrawalRequest) GetUserId ¶
func (x *WithdrawalRequest) GetUserId() int32
func (*WithdrawalRequest) ProtoMessage ¶
func (*WithdrawalRequest) ProtoMessage()
func (*WithdrawalRequest) ProtoReflect ¶
func (x *WithdrawalRequest) ProtoReflect() protoreflect.Message
func (*WithdrawalRequest) Reset ¶
func (x *WithdrawalRequest) Reset()
func (*WithdrawalRequest) String ¶
func (x *WithdrawalRequest) String() string
type WithdrawalResponse ¶
type WithdrawalResponse struct { WithdrawalId string `protobuf:"bytes,1,opt,name=withdrawalId,proto3" json:"withdrawalId,omitempty"` WithdrawalResponse string `protobuf:"bytes,2,opt,name=withdrawalResponse,proto3" json:"withdrawalResponse,omitempty"` WithdrawalStatus Status `protobuf:"varint,3,opt,name=withdrawalStatus,proto3,enum=transaction.Status" json:"withdrawalStatus,omitempty"` // contains filtered or unexported fields }
func (*WithdrawalResponse) Descriptor
deprecated
func (*WithdrawalResponse) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawalResponse.ProtoReflect.Descriptor instead.
func (*WithdrawalResponse) GetWithdrawalId ¶
func (x *WithdrawalResponse) GetWithdrawalId() string
func (*WithdrawalResponse) GetWithdrawalResponse ¶
func (x *WithdrawalResponse) GetWithdrawalResponse() string
func (*WithdrawalResponse) GetWithdrawalStatus ¶
func (x *WithdrawalResponse) GetWithdrawalStatus() Status
func (*WithdrawalResponse) ProtoMessage ¶
func (*WithdrawalResponse) ProtoMessage()
func (*WithdrawalResponse) ProtoReflect ¶
func (x *WithdrawalResponse) ProtoReflect() protoreflect.Message
func (*WithdrawalResponse) Reset ¶
func (x *WithdrawalResponse) Reset()
func (*WithdrawalResponse) String ¶
func (x *WithdrawalResponse) String() string
Click to show internal directories.
Click to hide internal directories.