commonpb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_document_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BinaryAttachment

type BinaryAttachment struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	//mime type of attached file
	FileType string `protobuf:"bytes,2,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"`
	// in byte
	Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	//the md5 checksum of the original file for easier verification - optional
	Checksum []byte `protobuf:"bytes,5,opt,name=checksum,proto3" json:"checksum,omitempty"`
	// contains filtered or unexported fields
}

func (*BinaryAttachment) Descriptor deprecated

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

Deprecated: Use BinaryAttachment.ProtoReflect.Descriptor instead.

func (*BinaryAttachment) GetChecksum

func (x *BinaryAttachment) GetChecksum() []byte

func (*BinaryAttachment) GetData

func (x *BinaryAttachment) GetData() []byte

func (*BinaryAttachment) GetFileType

func (x *BinaryAttachment) GetFileType() string

func (*BinaryAttachment) GetName

func (x *BinaryAttachment) GetName() string

func (*BinaryAttachment) GetSize

func (x *BinaryAttachment) GetSize() uint64

func (*BinaryAttachment) ProtoMessage

func (*BinaryAttachment) ProtoMessage()

func (*BinaryAttachment) ProtoReflect added in v1.0.0

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

func (*BinaryAttachment) Reset

func (x *BinaryAttachment) Reset()

func (*BinaryAttachment) String

func (x *BinaryAttachment) String() string

type PaymentDetails

type PaymentDetails struct {

	//identifying this payment. could be a sequential number, could be a transaction hash of the crypto payment
	Id           string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DateExecuted *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=date_executed,json=dateExecuted,proto3" json:"date_executed,omitempty"`
	//centrifuge id of payee
	Payee []byte `protobuf:"bytes,3,opt,name=payee,proto3" json:"payee,omitempty"`
	//centrifuge id of payer
	Payer    []byte `protobuf:"bytes,4,opt,name=payer,proto3" json:"payer,omitempty"`
	Amount   []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	Currency string `protobuf:"bytes,6,opt,name=currency,proto3" json:"currency,omitempty"`
	//payment reference (e.g. reference field on bank transfer)
	Reference             string `protobuf:"bytes,7,opt,name=reference,proto3" json:"reference,omitempty"`
	BankName              string `protobuf:"bytes,8,opt,name=bank_name,json=bankName,proto3" json:"bank_name,omitempty"`
	BankAddress           string `protobuf:"bytes,9,opt,name=bank_address,json=bankAddress,proto3" json:"bank_address,omitempty"`
	BankCountry           string `protobuf:"bytes,10,opt,name=bank_country,json=bankCountry,proto3" json:"bank_country,omitempty"`
	BankAccountNumber     string `protobuf:"bytes,11,opt,name=bank_account_number,json=bankAccountNumber,proto3" json:"bank_account_number,omitempty"`
	BankAccountCurrency   string `protobuf:"bytes,12,opt,name=bank_account_currency,json=bankAccountCurrency,proto3" json:"bank_account_currency,omitempty"`
	BankAccountHolderName string `` /* 129-byte string literal not displayed */
	BankKey               string `protobuf:"bytes,14,opt,name=bank_key,json=bankKey,proto3" json:"bank_key,omitempty"`
	//the ID of the chain to use in URI format. e.g. "ethereum://42/<tokenaddress>"
	CryptoChainUri string `protobuf:"bytes,15,opt,name=crypto_chain_uri,json=cryptoChainUri,proto3" json:"crypto_chain_uri,omitempty"`
	//the transaction in which the payment happened
	CryptoTransactionId string `protobuf:"bytes,16,opt,name=crypto_transaction_id,json=cryptoTransactionId,proto3" json:"crypto_transaction_id,omitempty"`
	//from address
	CryptoFrom string `protobuf:"bytes,17,opt,name=crypto_from,json=cryptoFrom,proto3" json:"crypto_from,omitempty"`
	//to address
	CryptoTo string `protobuf:"bytes,18,opt,name=crypto_to,json=cryptoTo,proto3" json:"crypto_to,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentDetails) Descriptor deprecated

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

Deprecated: Use PaymentDetails.ProtoReflect.Descriptor instead.

func (*PaymentDetails) GetAmount

func (x *PaymentDetails) GetAmount() []byte

func (*PaymentDetails) GetBankAccountCurrency

func (x *PaymentDetails) GetBankAccountCurrency() string

func (*PaymentDetails) GetBankAccountHolderName

func (x *PaymentDetails) GetBankAccountHolderName() string

func (*PaymentDetails) GetBankAccountNumber

func (x *PaymentDetails) GetBankAccountNumber() string

func (*PaymentDetails) GetBankAddress

func (x *PaymentDetails) GetBankAddress() string

func (*PaymentDetails) GetBankCountry

func (x *PaymentDetails) GetBankCountry() string

func (*PaymentDetails) GetBankKey

func (x *PaymentDetails) GetBankKey() string

func (*PaymentDetails) GetBankName

func (x *PaymentDetails) GetBankName() string

func (*PaymentDetails) GetCryptoChainUri

func (x *PaymentDetails) GetCryptoChainUri() string

func (*PaymentDetails) GetCryptoFrom

func (x *PaymentDetails) GetCryptoFrom() string

func (*PaymentDetails) GetCryptoTo

func (x *PaymentDetails) GetCryptoTo() string

func (*PaymentDetails) GetCryptoTransactionId

func (x *PaymentDetails) GetCryptoTransactionId() string

func (*PaymentDetails) GetCurrency

func (x *PaymentDetails) GetCurrency() string

func (*PaymentDetails) GetDateExecuted

func (x *PaymentDetails) GetDateExecuted() *timestamppb.Timestamp

func (*PaymentDetails) GetId

func (x *PaymentDetails) GetId() string

func (*PaymentDetails) GetPayee

func (x *PaymentDetails) GetPayee() []byte

func (*PaymentDetails) GetPayer

func (x *PaymentDetails) GetPayer() []byte

func (*PaymentDetails) GetReference

func (x *PaymentDetails) GetReference() string

func (*PaymentDetails) ProtoMessage

func (*PaymentDetails) ProtoMessage()

func (*PaymentDetails) ProtoReflect added in v1.0.0

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

func (*PaymentDetails) Reset

func (x *PaymentDetails) Reset()

func (*PaymentDetails) String

func (x *PaymentDetails) String() string

Jump to

Keyboard shortcuts

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