Documentation ¶
Index ¶
- Variables
- func RegisterAccountProtoServer(s grpc.ServiceRegistrar, srv AccountProtoServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAlias() string
- func (x *Account) GetAssetCode() string
- func (x *Account) GetBalance() *Balance
- func (x *Account) GetCreatedAt() string
- func (x *Account) GetDeletedAt() string
- func (x *Account) GetEntityId() string
- func (x *Account) GetId() string
- func (x *Account) GetLedgerId() string
- func (x *Account) GetMetadata() *Metadata
- func (x *Account) GetName() string
- func (x *Account) GetOrganizationId() string
- func (x *Account) GetParentAccountId() string
- func (x *Account) GetPortfolioId() string
- func (x *Account) GetProductId() string
- func (x *Account) GetStatus() *Status
- func (x *Account) GetType() string
- func (x *Account) GetUpdatedAt() string
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountProtoClient
- type AccountProtoServer
- type AccountsAlias
- func (*AccountsAlias) Descriptor() ([]byte, []int)deprecated
- func (x *AccountsAlias) GetAliases() []string
- func (x *AccountsAlias) GetLedgerId() string
- func (x *AccountsAlias) GetOrganizationId() string
- func (*AccountsAlias) ProtoMessage()
- func (x *AccountsAlias) ProtoReflect() protoreflect.Message
- func (x *AccountsAlias) Reset()
- func (x *AccountsAlias) String() string
- type AccountsID
- func (*AccountsID) Descriptor() ([]byte, []int)deprecated
- func (x *AccountsID) GetIds() []string
- func (x *AccountsID) GetLedgerId() string
- func (x *AccountsID) GetOrganizationId() string
- func (*AccountsID) ProtoMessage()
- func (x *AccountsID) ProtoReflect() protoreflect.Message
- func (x *AccountsID) Reset()
- func (x *AccountsID) String() string
- type AccountsRequest
- func (*AccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountsRequest) GetAccounts() []*Account
- func (x *AccountsRequest) GetLedgerId() string
- func (x *AccountsRequest) GetOrganizationId() string
- func (*AccountsRequest) ProtoMessage()
- func (x *AccountsRequest) ProtoReflect() protoreflect.Message
- func (x *AccountsRequest) Reset()
- func (x *AccountsRequest) String() string
- type AccountsResponse
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)deprecated
- func (x *Balance) GetAvailable() float64
- func (x *Balance) GetOnHold() float64
- func (x *Balance) GetScale() float64
- func (*Balance) ProtoMessage()
- func (x *Balance) ProtoReflect() protoreflect.Message
- func (x *Balance) Reset()
- func (x *Balance) String() string
- type Metadata
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetAllowReceiving() bool
- func (x *Status) GetAllowSending() bool
- func (x *Status) GetCode() string
- func (x *Status) GetDescription() string
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type UnimplementedAccountProtoServer
- func (UnimplementedAccountProtoServer) GetAccountsByAliases(context.Context, *AccountsAlias) (*AccountsResponse, error)
- func (UnimplementedAccountProtoServer) GetAccountsByIds(context.Context, *AccountsID) (*AccountsResponse, error)
- func (UnimplementedAccountProtoServer) UpdateAccounts(context.Context, *AccountsRequest) (*AccountsResponse, error)
- type UnsafeAccountProtoServer
Constants ¶
This section is empty.
Variables ¶
var AccountProto_ServiceDesc = grpc.ServiceDesc{ ServiceName: "account.AccountProto", HandlerType: (*AccountProtoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAccountsByIds", Handler: _AccountProto_GetAccountsByIds_Handler, }, { MethodName: "GetAccountsByAliases", Handler: _AccountProto_GetAccountsByAliases_Handler, }, { MethodName: "UpdateAccounts", Handler: _AccountProto_UpdateAccounts_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "account/account.proto", }
AccountProto_ServiceDesc is the grpc.ServiceDesc for AccountProto service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_account_account_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountProtoServer ¶
func RegisterAccountProtoServer(s grpc.ServiceRegistrar, srv AccountProtoServer)
Types ¶
type Account ¶
type Account struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ParentAccountId string `protobuf:"bytes,3,opt,name=parent_account_id,json=parentAccountId,proto3" json:"parent_account_id,omitempty"` EntityId string `protobuf:"bytes,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` AssetCode string `protobuf:"bytes,5,opt,name=asset_code,json=assetCode,proto3" json:"asset_code,omitempty"` OrganizationId string `protobuf:"bytes,6,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` LedgerId string `protobuf:"bytes,7,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` PortfolioId string `protobuf:"bytes,8,opt,name=portfolio_id,json=portfolioId,proto3" json:"portfolio_id,omitempty"` ProductId string `protobuf:"bytes,9,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Balance *Balance `protobuf:"bytes,10,opt,name=balance,proto3" json:"balance,omitempty"` Status *Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` Alias string `protobuf:"bytes,12,opt,name=alias,proto3" json:"alias,omitempty"` Type string `protobuf:"bytes,13,opt,name=type,proto3" json:"type,omitempty"` CreatedAt string `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,16,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` Metadata *Metadata `protobuf:"bytes,17,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetAssetCode ¶
func (*Account) GetBalance ¶
func (*Account) GetCreatedAt ¶
func (*Account) GetDeletedAt ¶
func (*Account) GetEntityId ¶
func (*Account) GetLedgerId ¶
func (*Account) GetMetadata ¶
func (*Account) GetOrganizationId ¶
func (*Account) GetParentAccountId ¶
func (*Account) GetPortfolioId ¶
func (*Account) GetProductId ¶
func (*Account) GetUpdatedAt ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountProtoClient ¶
type AccountProtoClient interface { GetAccountsByIds(ctx context.Context, in *AccountsID, opts ...grpc.CallOption) (*AccountsResponse, error) GetAccountsByAliases(ctx context.Context, in *AccountsAlias, opts ...grpc.CallOption) (*AccountsResponse, error) UpdateAccounts(ctx context.Context, in *AccountsRequest, opts ...grpc.CallOption) (*AccountsResponse, error) }
AccountProtoClient is the client API for AccountProto 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 NewAccountProtoClient ¶
func NewAccountProtoClient(cc grpc.ClientConnInterface) AccountProtoClient
type AccountProtoServer ¶
type AccountProtoServer interface { GetAccountsByIds(context.Context, *AccountsID) (*AccountsResponse, error) GetAccountsByAliases(context.Context, *AccountsAlias) (*AccountsResponse, error) UpdateAccounts(context.Context, *AccountsRequest) (*AccountsResponse, error) // contains filtered or unexported methods }
AccountProtoServer is the server API for AccountProto service. All implementations must embed UnimplementedAccountProtoServer for forward compatibility
type AccountsAlias ¶
type AccountsAlias struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` LedgerId string `protobuf:"bytes,2,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"` // contains filtered or unexported fields }
func (*AccountsAlias) Descriptor
deprecated
func (*AccountsAlias) Descriptor() ([]byte, []int)
Deprecated: Use AccountsAlias.ProtoReflect.Descriptor instead.
func (*AccountsAlias) GetAliases ¶
func (x *AccountsAlias) GetAliases() []string
func (*AccountsAlias) GetLedgerId ¶ added in v1.25.0
func (x *AccountsAlias) GetLedgerId() string
func (*AccountsAlias) GetOrganizationId ¶ added in v1.25.0
func (x *AccountsAlias) GetOrganizationId() string
func (*AccountsAlias) ProtoMessage ¶
func (*AccountsAlias) ProtoMessage()
func (*AccountsAlias) ProtoReflect ¶
func (x *AccountsAlias) ProtoReflect() protoreflect.Message
func (*AccountsAlias) Reset ¶
func (x *AccountsAlias) Reset()
func (*AccountsAlias) String ¶
func (x *AccountsAlias) String() string
type AccountsID ¶
type AccountsID struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` LedgerId string `protobuf:"bytes,2,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` Ids []string `protobuf:"bytes,3,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*AccountsID) Descriptor
deprecated
func (*AccountsID) Descriptor() ([]byte, []int)
Deprecated: Use AccountsID.ProtoReflect.Descriptor instead.
func (*AccountsID) GetIds ¶
func (x *AccountsID) GetIds() []string
func (*AccountsID) GetLedgerId ¶ added in v1.25.0
func (x *AccountsID) GetLedgerId() string
func (*AccountsID) GetOrganizationId ¶ added in v1.25.0
func (x *AccountsID) GetOrganizationId() string
func (*AccountsID) ProtoMessage ¶
func (*AccountsID) ProtoMessage()
func (*AccountsID) ProtoReflect ¶
func (x *AccountsID) ProtoReflect() protoreflect.Message
func (*AccountsID) Reset ¶
func (x *AccountsID) Reset()
func (*AccountsID) String ¶
func (x *AccountsID) String() string
type AccountsRequest ¶
type AccountsRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` LedgerId string `protobuf:"bytes,2,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` Accounts []*Account `protobuf:"bytes,3,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*AccountsRequest) Descriptor
deprecated
func (*AccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountsRequest.ProtoReflect.Descriptor instead.
func (*AccountsRequest) GetAccounts ¶
func (x *AccountsRequest) GetAccounts() []*Account
func (*AccountsRequest) GetLedgerId ¶ added in v1.25.0
func (x *AccountsRequest) GetLedgerId() string
func (*AccountsRequest) GetOrganizationId ¶ added in v1.25.0
func (x *AccountsRequest) GetOrganizationId() string
func (*AccountsRequest) ProtoMessage ¶
func (*AccountsRequest) ProtoMessage()
func (*AccountsRequest) ProtoReflect ¶
func (x *AccountsRequest) ProtoReflect() protoreflect.Message
func (*AccountsRequest) Reset ¶
func (x *AccountsRequest) Reset()
func (*AccountsRequest) String ¶
func (x *AccountsRequest) String() string
type AccountsResponse ¶
type AccountsResponse struct { Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*AccountsResponse) Descriptor
deprecated
func (*AccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountsResponse.ProtoReflect.Descriptor instead.
func (*AccountsResponse) GetAccounts ¶
func (x *AccountsResponse) GetAccounts() []*Account
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 { Available float64 `protobuf:"fixed64,1,opt,name=available,proto3" json:"available,omitempty"` OnHold float64 `protobuf:"fixed64,2,opt,name=on_hold,json=onHold,proto3" json:"on_hold,omitempty"` Scale float64 `protobuf:"fixed64,3,opt,name=scale,proto3" json:"scale,omitempty"` // contains filtered or unexported fields }
func (*Balance) Descriptor
deprecated
func (*Balance) GetAvailable ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) ProtoReflect ¶
func (x *Balance) ProtoReflect() protoreflect.Message
type Metadata ¶
type Metadata struct { Value map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Status ¶
type Status struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` AllowSending bool `protobuf:"varint,3,opt,name=allow_sending,json=allowSending,proto3" json:"allow_sending,omitempty"` AllowReceiving bool `protobuf:"varint,4,opt,name=allow_receiving,json=allowReceiving,proto3" json:"allow_receiving,omitempty"` // contains filtered or unexported fields }
func (*Status) Descriptor
deprecated
func (*Status) GetAllowReceiving ¶
func (*Status) GetAllowSending ¶
func (*Status) GetDescription ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type UnimplementedAccountProtoServer ¶
type UnimplementedAccountProtoServer struct { }
UnimplementedAccountProtoServer must be embedded to have forward compatible implementations.
func (UnimplementedAccountProtoServer) GetAccountsByAliases ¶
func (UnimplementedAccountProtoServer) GetAccountsByAliases(context.Context, *AccountsAlias) (*AccountsResponse, error)
func (UnimplementedAccountProtoServer) GetAccountsByIds ¶
func (UnimplementedAccountProtoServer) GetAccountsByIds(context.Context, *AccountsID) (*AccountsResponse, error)
func (UnimplementedAccountProtoServer) UpdateAccounts ¶
func (UnimplementedAccountProtoServer) UpdateAccounts(context.Context, *AccountsRequest) (*AccountsResponse, error)
type UnsafeAccountProtoServer ¶
type UnsafeAccountProtoServer interface {
// contains filtered or unexported methods
}
UnsafeAccountProtoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountProtoServer will result in compilation errors.