entitypb

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: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_entity_entity_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Address

type Address struct {
	IsMain        bool   `protobuf:"varint,1,opt,name=is_main,json=isMain,proto3" json:"is_main,omitempty"`
	IsRemitTo     bool   `protobuf:"varint,2,opt,name=is_remit_to,json=isRemitTo,proto3" json:"is_remit_to,omitempty"`
	IsShipTo      bool   `protobuf:"varint,3,opt,name=is_ship_to,json=isShipTo,proto3" json:"is_ship_to,omitempty"`
	IsPayTo       bool   `protobuf:"varint,4,opt,name=is_pay_to,json=isPayTo,proto3" json:"is_pay_to,omitempty"`
	Label         string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
	Zip           string `protobuf:"bytes,6,opt,name=zip,proto3" json:"zip,omitempty"`
	State         string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
	Country       string `protobuf:"bytes,8,opt,name=country,proto3" json:"country,omitempty"`
	AddressLine1  string `protobuf:"bytes,9,opt,name=address_line1,json=addressLine1,proto3" json:"address_line1,omitempty"`
	AddressLine2  string `protobuf:"bytes,10,opt,name=address_line2,json=addressLine2,proto3" json:"address_line2,omitempty"`
	ContactPerson string `protobuf:"bytes,11,opt,name=contact_person,json=contactPerson,proto3" json:"contact_person,omitempty"`
	// contains filtered or unexported fields
}

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddressLine1

func (x *Address) GetAddressLine1() string

func (*Address) GetAddressLine2

func (x *Address) GetAddressLine2() string

func (*Address) GetContactPerson

func (x *Address) GetContactPerson() string

func (*Address) GetCountry

func (x *Address) GetCountry() string

func (*Address) GetIsMain

func (x *Address) GetIsMain() bool

func (*Address) GetIsPayTo

func (x *Address) GetIsPayTo() bool

func (*Address) GetIsRemitTo

func (x *Address) GetIsRemitTo() bool

func (*Address) GetIsShipTo

func (x *Address) GetIsShipTo() bool

func (*Address) GetLabel

func (x *Address) GetLabel() string

func (*Address) GetState

func (x *Address) GetState() string

func (*Address) GetZip

func (x *Address) GetZip() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect added in v1.0.0

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type BankPaymentMethod

type BankPaymentMethod struct {
	Identifier        []byte   `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Address           *Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	HolderName        string   `protobuf:"bytes,3,opt,name=holder_name,json=holderName,proto3" json:"holder_name,omitempty"`
	BankKey           string   `protobuf:"bytes,4,opt,name=bank_key,json=bankKey,proto3" json:"bank_key,omitempty"`
	BankAccountNumber string   `protobuf:"bytes,5,opt,name=bank_account_number,json=bankAccountNumber,proto3" json:"bank_account_number,omitempty"`
	SupportedCurrency string   `protobuf:"bytes,6,opt,name=supported_currency,json=supportedCurrency,proto3" json:"supported_currency,omitempty"`
	// contains filtered or unexported fields
}

func (*BankPaymentMethod) Descriptor deprecated

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

Deprecated: Use BankPaymentMethod.ProtoReflect.Descriptor instead.

func (*BankPaymentMethod) GetAddress

func (x *BankPaymentMethod) GetAddress() *Address

func (*BankPaymentMethod) GetBankAccountNumber

func (x *BankPaymentMethod) GetBankAccountNumber() string

func (*BankPaymentMethod) GetBankKey

func (x *BankPaymentMethod) GetBankKey() string

func (*BankPaymentMethod) GetHolderName

func (x *BankPaymentMethod) GetHolderName() string

func (*BankPaymentMethod) GetIdentifier

func (x *BankPaymentMethod) GetIdentifier() []byte

func (*BankPaymentMethod) GetSupportedCurrency

func (x *BankPaymentMethod) GetSupportedCurrency() string

func (*BankPaymentMethod) ProtoMessage

func (*BankPaymentMethod) ProtoMessage()

func (*BankPaymentMethod) ProtoReflect added in v1.0.0

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

func (*BankPaymentMethod) Reset

func (x *BankPaymentMethod) Reset()

func (*BankPaymentMethod) String

func (x *BankPaymentMethod) String() string

type Contact

type Contact struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	Fax   string `protobuf:"bytes,5,opt,name=fax,proto3" json:"fax,omitempty"`
	// contains filtered or unexported fields
}

func (*Contact) Descriptor deprecated

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetEmail

func (x *Contact) GetEmail() string

func (*Contact) GetFax

func (x *Contact) GetFax() string

func (*Contact) GetName

func (x *Contact) GetName() string

func (*Contact) GetPhone

func (x *Contact) GetPhone() string

func (*Contact) GetTitle

func (x *Contact) GetTitle() string

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect added in v1.0.0

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

func (*Contact) Reset

func (x *Contact) Reset()

func (*Contact) String

func (x *Contact) String() string

type CryptoPaymentMethod

type CryptoPaymentMethod struct {
	Identifier        []byte `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	To                string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	ChainUri          string `protobuf:"bytes,3,opt,name=chain_uri,json=chainUri,proto3" json:"chain_uri,omitempty"`
	SupportedCurrency string `protobuf:"bytes,4,opt,name=supported_currency,json=supportedCurrency,proto3" json:"supported_currency,omitempty"`
	// contains filtered or unexported fields
}

func (*CryptoPaymentMethod) Descriptor deprecated

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

Deprecated: Use CryptoPaymentMethod.ProtoReflect.Descriptor instead.

func (*CryptoPaymentMethod) GetChainUri

func (x *CryptoPaymentMethod) GetChainUri() string

func (*CryptoPaymentMethod) GetIdentifier

func (x *CryptoPaymentMethod) GetIdentifier() []byte

func (*CryptoPaymentMethod) GetSupportedCurrency

func (x *CryptoPaymentMethod) GetSupportedCurrency() string

func (*CryptoPaymentMethod) GetTo

func (x *CryptoPaymentMethod) GetTo() string

func (*CryptoPaymentMethod) ProtoMessage

func (*CryptoPaymentMethod) ProtoMessage()

func (*CryptoPaymentMethod) ProtoReflect added in v1.0.0

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

func (*CryptoPaymentMethod) Reset

func (x *CryptoPaymentMethod) Reset()

func (*CryptoPaymentMethod) String

func (x *CryptoPaymentMethod) String() string

type Entity

type Entity struct {
	Identity  []byte `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	LegalName string `protobuf:"bytes,2,opt,name=legal_name,json=legalName,proto3" json:"legal_name,omitempty"`
	// address
	Addresses []*Address `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// tax information
	PaymentDetails []*PaymentDetail `protobuf:"bytes,4,rep,name=payment_details,json=paymentDetails,proto3" json:"payment_details,omitempty"`
	// Entity contact list
	Contacts []*Contact `protobuf:"bytes,5,rep,name=contacts,proto3" json:"contacts,omitempty"`
	// contains filtered or unexported fields
}

EntityData is the default entity schema

func (*Entity) Descriptor deprecated

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

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetAddresses

func (x *Entity) GetAddresses() []*Address

func (*Entity) GetContacts

func (x *Entity) GetContacts() []*Contact

func (*Entity) GetIdentity

func (x *Entity) GetIdentity() []byte

func (*Entity) GetLegalName

func (x *Entity) GetLegalName() string

func (*Entity) GetPaymentDetails

func (x *Entity) GetPaymentDetails() []*PaymentDetail

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect added in v1.0.0

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

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

type EntityRelationship

type EntityRelationship struct {

	// owner id of the Relationship
	OwnerIdentity []byte `protobuf:"bytes,1,opt,name=owner_identity,json=ownerIdentity,proto3" json:"owner_identity,omitempty"`
	// identifier for the entity document whose data should be accessed via this relationship
	EntityIdentifier []byte `protobuf:"bytes,2,opt,name=entity_identifier,json=entityIdentifier,proto3" json:"entity_identifier,omitempty"`
	// identity to whom access should be granted
	TargetIdentity []byte `protobuf:"bytes,3,opt,name=target_identity,json=targetIdentity,proto3" json:"target_identity,omitempty"`
	// contains filtered or unexported fields
}

EntityRelationship allows other identities to access the Entity document.

func (*EntityRelationship) Descriptor deprecated

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

Deprecated: Use EntityRelationship.ProtoReflect.Descriptor instead.

func (*EntityRelationship) GetEntityIdentifier

func (x *EntityRelationship) GetEntityIdentifier() []byte

func (*EntityRelationship) GetOwnerIdentity

func (x *EntityRelationship) GetOwnerIdentity() []byte

func (*EntityRelationship) GetTargetIdentity

func (x *EntityRelationship) GetTargetIdentity() []byte

func (*EntityRelationship) ProtoMessage

func (*EntityRelationship) ProtoMessage()

func (*EntityRelationship) ProtoReflect added in v1.0.0

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

func (*EntityRelationship) Reset

func (x *EntityRelationship) Reset()

func (*EntityRelationship) String

func (x *EntityRelationship) String() string

type OtherPayment

type OtherPayment struct {
	Identifier        []byte `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Type              string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	PayTo             string `protobuf:"bytes,3,opt,name=pay_to,json=payTo,proto3" json:"pay_to,omitempty"`
	SupportedCurrency string `protobuf:"bytes,4,opt,name=supported_currency,json=supportedCurrency,proto3" json:"supported_currency,omitempty"`
	// contains filtered or unexported fields
}

func (*OtherPayment) Descriptor deprecated

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

Deprecated: Use OtherPayment.ProtoReflect.Descriptor instead.

func (*OtherPayment) GetIdentifier

func (x *OtherPayment) GetIdentifier() []byte

func (*OtherPayment) GetPayTo

func (x *OtherPayment) GetPayTo() string

func (*OtherPayment) GetSupportedCurrency

func (x *OtherPayment) GetSupportedCurrency() string

func (*OtherPayment) GetType

func (x *OtherPayment) GetType() string

func (*OtherPayment) ProtoMessage

func (*OtherPayment) ProtoMessage()

func (*OtherPayment) ProtoReflect added in v1.0.0

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

func (*OtherPayment) Reset

func (x *OtherPayment) Reset()

func (*OtherPayment) String

func (x *OtherPayment) String() string

type PaymentDetail

type PaymentDetail struct {

	// fields for bank accounts and ethereum wallets
	Predefined bool `protobuf:"varint,1,opt,name=predefined,proto3" json:"predefined,omitempty"`
	// Types that are assignable to PaymentMethod:
	//	*PaymentDetail_BankPaymentMethod
	//	*PaymentDetail_CryptoPaymentMethod
	//	*PaymentDetail_OtherMethod
	PaymentMethod isPaymentDetail_PaymentMethod `protobuf_oneof:"payment_method"`
	// contains filtered or unexported fields
}

func (*PaymentDetail) Descriptor deprecated

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

Deprecated: Use PaymentDetail.ProtoReflect.Descriptor instead.

func (*PaymentDetail) GetBankPaymentMethod

func (x *PaymentDetail) GetBankPaymentMethod() *BankPaymentMethod

func (*PaymentDetail) GetCryptoPaymentMethod

func (x *PaymentDetail) GetCryptoPaymentMethod() *CryptoPaymentMethod

func (*PaymentDetail) GetOtherMethod

func (x *PaymentDetail) GetOtherMethod() *OtherPayment

func (*PaymentDetail) GetPaymentMethod

func (m *PaymentDetail) GetPaymentMethod() isPaymentDetail_PaymentMethod

func (*PaymentDetail) GetPredefined

func (x *PaymentDetail) GetPredefined() bool

func (*PaymentDetail) ProtoMessage

func (*PaymentDetail) ProtoMessage()

func (*PaymentDetail) ProtoReflect added in v1.0.0

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

func (*PaymentDetail) Reset

func (x *PaymentDetail) Reset()

func (*PaymentDetail) String

func (x *PaymentDetail) String() string

type PaymentDetail_BankPaymentMethod

type PaymentDetail_BankPaymentMethod struct {
	BankPaymentMethod *BankPaymentMethod `protobuf:"bytes,2,opt,name=bank_payment_method,json=bankPaymentMethod,proto3,oneof"`
}

type PaymentDetail_CryptoPaymentMethod

type PaymentDetail_CryptoPaymentMethod struct {
	CryptoPaymentMethod *CryptoPaymentMethod `protobuf:"bytes,3,opt,name=crypto_payment_method,json=cryptoPaymentMethod,proto3,oneof"`
}

type PaymentDetail_OtherMethod

type PaymentDetail_OtherMethod struct {
	OtherMethod *OtherPayment `protobuf:"bytes,4,opt,name=other_method,json=otherMethod,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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