Documentation ¶
Index ¶
- Variables
- type Invoice
- func (*Invoice) Descriptor() ([]byte, []int)
- func (m *Invoice) GetItems() []*Invoice_LineItem
- func (*Invoice) ProtoMessage()
- func (m *Invoice) Reset()
- func (m *Invoice) String() string
- func (m *Invoice) Validate() error
- func (m *Invoice) XXX_DiscardUnknown()
- func (m *Invoice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Invoice) XXX_Merge(src proto.Message)
- func (m *Invoice) XXX_Size() int
- func (m *Invoice) XXX_Unmarshal(b []byte) error
- type InvoiceError
- func (*InvoiceError) Descriptor() ([]byte, []int)
- func (m *InvoiceError) GetInvoice() *Invoice
- func (m *InvoiceError) GetOpIndex() uint32
- func (m *InvoiceError) GetReason() InvoiceError_Reason
- func (*InvoiceError) ProtoMessage()
- func (m *InvoiceError) Reset()
- func (m *InvoiceError) String() string
- func (m *InvoiceError) Validate() error
- func (m *InvoiceError) XXX_DiscardUnknown()
- func (m *InvoiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvoiceError) XXX_Merge(src proto.Message)
- func (m *InvoiceError) XXX_Size() int
- func (m *InvoiceError) XXX_Unmarshal(b []byte) error
- type InvoiceErrorValidationError
- func (e InvoiceErrorValidationError) Cause() error
- func (e InvoiceErrorValidationError) Error() string
- func (e InvoiceErrorValidationError) ErrorName() string
- func (e InvoiceErrorValidationError) Field() string
- func (e InvoiceErrorValidationError) Key() bool
- func (e InvoiceErrorValidationError) Reason() string
- type InvoiceError_Reason
- type InvoiceHash
- func (*InvoiceHash) Descriptor() ([]byte, []int)
- func (m *InvoiceHash) GetValue() []byte
- func (*InvoiceHash) ProtoMessage()
- func (m *InvoiceHash) Reset()
- func (m *InvoiceHash) String() string
- func (m *InvoiceHash) Validate() error
- func (m *InvoiceHash) XXX_DiscardUnknown()
- func (m *InvoiceHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvoiceHash) XXX_Merge(src proto.Message)
- func (m *InvoiceHash) XXX_Size() int
- func (m *InvoiceHash) XXX_Unmarshal(b []byte) error
- type InvoiceHashValidationError
- func (e InvoiceHashValidationError) Cause() error
- func (e InvoiceHashValidationError) Error() string
- func (e InvoiceHashValidationError) ErrorName() string
- func (e InvoiceHashValidationError) Field() string
- func (e InvoiceHashValidationError) Key() bool
- func (e InvoiceHashValidationError) Reason() string
- type InvoiceList
- func (*InvoiceList) Descriptor() ([]byte, []int)
- func (m *InvoiceList) GetInvoices() []*Invoice
- func (*InvoiceList) ProtoMessage()
- func (m *InvoiceList) Reset()
- func (m *InvoiceList) String() string
- func (m *InvoiceList) Validate() error
- func (m *InvoiceList) XXX_DiscardUnknown()
- func (m *InvoiceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvoiceList) XXX_Merge(src proto.Message)
- func (m *InvoiceList) XXX_Size() int
- func (m *InvoiceList) XXX_Unmarshal(b []byte) error
- type InvoiceListValidationError
- func (e InvoiceListValidationError) Cause() error
- func (e InvoiceListValidationError) Error() string
- func (e InvoiceListValidationError) ErrorName() string
- func (e InvoiceListValidationError) Field() string
- func (e InvoiceListValidationError) Key() bool
- func (e InvoiceListValidationError) Reason() string
- type InvoiceValidationError
- type Invoice_LineItem
- func (*Invoice_LineItem) Descriptor() ([]byte, []int)
- func (m *Invoice_LineItem) GetAmount() int64
- func (m *Invoice_LineItem) GetDescription() string
- func (m *Invoice_LineItem) GetSku() []byte
- func (m *Invoice_LineItem) GetTitle() string
- func (*Invoice_LineItem) ProtoMessage()
- func (m *Invoice_LineItem) Reset()
- func (m *Invoice_LineItem) String() string
- func (m *Invoice_LineItem) Validate() error
- func (m *Invoice_LineItem) XXX_DiscardUnknown()
- func (m *Invoice_LineItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Invoice_LineItem) XXX_Merge(src proto.Message)
- func (m *Invoice_LineItem) XXX_Size() int
- func (m *Invoice_LineItem) XXX_Unmarshal(b []byte) error
- type Invoice_LineItemValidationError
- func (e Invoice_LineItemValidationError) Cause() error
- func (e Invoice_LineItemValidationError) Error() string
- func (e Invoice_LineItemValidationError) ErrorName() string
- func (e Invoice_LineItemValidationError) Field() string
- func (e Invoice_LineItemValidationError) Key() bool
- func (e Invoice_LineItemValidationError) Reason() string
- type StellarAccountId
- func (*StellarAccountId) Descriptor() ([]byte, []int)
- func (m *StellarAccountId) GetValue() string
- func (*StellarAccountId) ProtoMessage()
- func (m *StellarAccountId) Reset()
- func (m *StellarAccountId) String() string
- func (m *StellarAccountId) Validate() error
- func (m *StellarAccountId) XXX_DiscardUnknown()
- func (m *StellarAccountId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StellarAccountId) XXX_Merge(src proto.Message)
- func (m *StellarAccountId) XXX_Size() int
- func (m *StellarAccountId) XXX_Unmarshal(b []byte) error
- type StellarAccountIdValidationError
- func (e StellarAccountIdValidationError) Cause() error
- func (e StellarAccountIdValidationError) Error() string
- func (e StellarAccountIdValidationError) ErrorName() string
- func (e StellarAccountIdValidationError) Field() string
- func (e StellarAccountIdValidationError) Key() bool
- func (e StellarAccountIdValidationError) Reason() string
- type TransactionHash
- func (*TransactionHash) Descriptor() ([]byte, []int)
- func (m *TransactionHash) GetValue() []byte
- func (*TransactionHash) ProtoMessage()
- func (m *TransactionHash) Reset()
- func (m *TransactionHash) String() string
- func (m *TransactionHash) Validate() error
- func (m *TransactionHash) XXX_DiscardUnknown()
- func (m *TransactionHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionHash) XXX_Merge(src proto.Message)
- func (m *TransactionHash) XXX_Size() int
- func (m *TransactionHash) XXX_Unmarshal(b []byte) error
- type TransactionHashValidationError
- func (e TransactionHashValidationError) Cause() error
- func (e TransactionHashValidationError) Error() string
- func (e TransactionHashValidationError) ErrorName() string
- func (e TransactionHashValidationError) Field() string
- func (e TransactionHashValidationError) Key() bool
- func (e TransactionHashValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var InvoiceError_Reason_name = map[int32]string{
0: "UNKNOWN",
1: "ALREADY_PAID",
2: "WRONG_DESTINATION",
3: "SKU_NOT_FOUND",
}
var InvoiceError_Reason_value = map[string]int32{
"UNKNOWN": 0,
"ALREADY_PAID": 1,
"WRONG_DESTINATION": 2,
"SKU_NOT_FOUND": 3,
}
Functions ¶
This section is empty.
Types ¶
type Invoice ¶
type Invoice struct { Items []*Invoice_LineItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Invoice) Descriptor ¶
func (*Invoice) GetItems ¶
func (m *Invoice) GetItems() []*Invoice_LineItem
func (*Invoice) ProtoMessage ¶
func (*Invoice) ProtoMessage()
func (*Invoice) Validate ¶
Validate checks the field values on Invoice with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Invoice) XXX_DiscardUnknown ¶
func (m *Invoice) XXX_DiscardUnknown()
func (*Invoice) XXX_Marshal ¶
func (*Invoice) XXX_Unmarshal ¶
type InvoiceError ¶ added in v0.20.0
type InvoiceError struct { // The operation index the invoice corresponds to. OpIndex uint32 `protobuf:"varint,1,opt,name=op_index,json=opIndex,proto3" json:"op_index,omitempty"` // The invoice that was submitted. Invoice *Invoice `protobuf:"bytes,2,opt,name=invoice,proto3" json:"invoice,omitempty"` Reason InvoiceError_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=kin.agora.common.v3.InvoiceError_Reason" json:"reason,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvoiceError) Descriptor ¶ added in v0.20.0
func (*InvoiceError) Descriptor() ([]byte, []int)
func (*InvoiceError) GetInvoice ¶ added in v0.20.0
func (m *InvoiceError) GetInvoice() *Invoice
func (*InvoiceError) GetOpIndex ¶ added in v0.20.0
func (m *InvoiceError) GetOpIndex() uint32
func (*InvoiceError) GetReason ¶ added in v0.20.0
func (m *InvoiceError) GetReason() InvoiceError_Reason
func (*InvoiceError) ProtoMessage ¶ added in v0.20.0
func (*InvoiceError) ProtoMessage()
func (*InvoiceError) Reset ¶ added in v0.20.0
func (m *InvoiceError) Reset()
func (*InvoiceError) String ¶ added in v0.20.0
func (m *InvoiceError) String() string
func (*InvoiceError) Validate ¶ added in v0.20.0
func (m *InvoiceError) Validate() error
Validate checks the field values on InvoiceError with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*InvoiceError) XXX_DiscardUnknown ¶ added in v0.20.0
func (m *InvoiceError) XXX_DiscardUnknown()
func (*InvoiceError) XXX_Marshal ¶ added in v0.20.0
func (m *InvoiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvoiceError) XXX_Merge ¶ added in v0.20.0
func (m *InvoiceError) XXX_Merge(src proto.Message)
func (*InvoiceError) XXX_Size ¶ added in v0.20.0
func (m *InvoiceError) XXX_Size() int
func (*InvoiceError) XXX_Unmarshal ¶ added in v0.20.0
func (m *InvoiceError) XXX_Unmarshal(b []byte) error
type InvoiceErrorValidationError ¶ added in v0.20.0
type InvoiceErrorValidationError struct {
// contains filtered or unexported fields
}
InvoiceErrorValidationError is the validation error returned by InvoiceError.Validate if the designated constraints aren't met.
func (InvoiceErrorValidationError) Cause ¶ added in v0.20.0
func (e InvoiceErrorValidationError) Cause() error
Cause function returns cause value.
func (InvoiceErrorValidationError) Error ¶ added in v0.20.0
func (e InvoiceErrorValidationError) Error() string
Error satisfies the builtin error interface
func (InvoiceErrorValidationError) ErrorName ¶ added in v0.20.0
func (e InvoiceErrorValidationError) ErrorName() string
ErrorName returns error name.
func (InvoiceErrorValidationError) Field ¶ added in v0.20.0
func (e InvoiceErrorValidationError) Field() string
Field function returns field value.
func (InvoiceErrorValidationError) Key ¶ added in v0.20.0
func (e InvoiceErrorValidationError) Key() bool
Key function returns key value.
func (InvoiceErrorValidationError) Reason ¶ added in v0.20.0
func (e InvoiceErrorValidationError) Reason() string
Reason function returns reason value.
type InvoiceError_Reason ¶ added in v0.20.0
type InvoiceError_Reason int32
const ( InvoiceError_UNKNOWN InvoiceError_Reason = 0 // The provided invoice has already been paid for. // // This is only applicable when the memo transaction type // is SPEND. InvoiceError_ALREADY_PAID InvoiceError_Reason = 1 // The destination in the operation corresponding to this invoice // is incorrect. InvoiceError_WRONG_DESTINATION InvoiceError_Reason = 2 // One or more SKUs in the invoice was not found. InvoiceError_SKU_NOT_FOUND InvoiceError_Reason = 3 )
func (InvoiceError_Reason) EnumDescriptor ¶ added in v0.20.0
func (InvoiceError_Reason) EnumDescriptor() ([]byte, []int)
func (InvoiceError_Reason) String ¶ added in v0.20.0
func (x InvoiceError_Reason) String() string
type InvoiceHash ¶
type InvoiceHash struct { // The SHA-224 hash of the invoice. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvoiceHash) Descriptor ¶
func (*InvoiceHash) Descriptor() ([]byte, []int)
func (*InvoiceHash) GetValue ¶
func (m *InvoiceHash) GetValue() []byte
func (*InvoiceHash) ProtoMessage ¶
func (*InvoiceHash) ProtoMessage()
func (*InvoiceHash) Reset ¶
func (m *InvoiceHash) Reset()
func (*InvoiceHash) String ¶
func (m *InvoiceHash) String() string
func (*InvoiceHash) Validate ¶
func (m *InvoiceHash) Validate() error
Validate checks the field values on InvoiceHash with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*InvoiceHash) XXX_DiscardUnknown ¶
func (m *InvoiceHash) XXX_DiscardUnknown()
func (*InvoiceHash) XXX_Marshal ¶
func (m *InvoiceHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvoiceHash) XXX_Merge ¶
func (m *InvoiceHash) XXX_Merge(src proto.Message)
func (*InvoiceHash) XXX_Size ¶
func (m *InvoiceHash) XXX_Size() int
func (*InvoiceHash) XXX_Unmarshal ¶
func (m *InvoiceHash) XXX_Unmarshal(b []byte) error
type InvoiceHashValidationError ¶
type InvoiceHashValidationError struct {
// contains filtered or unexported fields
}
InvoiceHashValidationError is the validation error returned by InvoiceHash.Validate if the designated constraints aren't met.
func (InvoiceHashValidationError) Cause ¶
func (e InvoiceHashValidationError) Cause() error
Cause function returns cause value.
func (InvoiceHashValidationError) Error ¶
func (e InvoiceHashValidationError) Error() string
Error satisfies the builtin error interface
func (InvoiceHashValidationError) ErrorName ¶
func (e InvoiceHashValidationError) ErrorName() string
ErrorName returns error name.
func (InvoiceHashValidationError) Field ¶
func (e InvoiceHashValidationError) Field() string
Field function returns field value.
func (InvoiceHashValidationError) Key ¶
func (e InvoiceHashValidationError) Key() bool
Key function returns key value.
func (InvoiceHashValidationError) Reason ¶
func (e InvoiceHashValidationError) Reason() string
Reason function returns reason value.
type InvoiceList ¶
type InvoiceList struct { Invoices []*Invoice `protobuf:"bytes,1,rep,name=invoices,proto3" json:"invoices,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvoiceList) Descriptor ¶
func (*InvoiceList) Descriptor() ([]byte, []int)
func (*InvoiceList) GetInvoices ¶
func (m *InvoiceList) GetInvoices() []*Invoice
func (*InvoiceList) ProtoMessage ¶
func (*InvoiceList) ProtoMessage()
func (*InvoiceList) Reset ¶
func (m *InvoiceList) Reset()
func (*InvoiceList) String ¶
func (m *InvoiceList) String() string
func (*InvoiceList) Validate ¶
func (m *InvoiceList) Validate() error
Validate checks the field values on InvoiceList with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*InvoiceList) XXX_DiscardUnknown ¶
func (m *InvoiceList) XXX_DiscardUnknown()
func (*InvoiceList) XXX_Marshal ¶
func (m *InvoiceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvoiceList) XXX_Merge ¶
func (m *InvoiceList) XXX_Merge(src proto.Message)
func (*InvoiceList) XXX_Size ¶
func (m *InvoiceList) XXX_Size() int
func (*InvoiceList) XXX_Unmarshal ¶
func (m *InvoiceList) XXX_Unmarshal(b []byte) error
type InvoiceListValidationError ¶
type InvoiceListValidationError struct {
// contains filtered or unexported fields
}
InvoiceListValidationError is the validation error returned by InvoiceList.Validate if the designated constraints aren't met.
func (InvoiceListValidationError) Cause ¶
func (e InvoiceListValidationError) Cause() error
Cause function returns cause value.
func (InvoiceListValidationError) Error ¶
func (e InvoiceListValidationError) Error() string
Error satisfies the builtin error interface
func (InvoiceListValidationError) ErrorName ¶
func (e InvoiceListValidationError) ErrorName() string
ErrorName returns error name.
func (InvoiceListValidationError) Field ¶
func (e InvoiceListValidationError) Field() string
Field function returns field value.
func (InvoiceListValidationError) Key ¶
func (e InvoiceListValidationError) Key() bool
Key function returns key value.
func (InvoiceListValidationError) Reason ¶
func (e InvoiceListValidationError) Reason() string
Reason function returns reason value.
type InvoiceValidationError ¶
type InvoiceValidationError struct {
// contains filtered or unexported fields
}
InvoiceValidationError is the validation error returned by Invoice.Validate if the designated constraints aren't met.
func (InvoiceValidationError) Cause ¶
func (e InvoiceValidationError) Cause() error
Cause function returns cause value.
func (InvoiceValidationError) Error ¶
func (e InvoiceValidationError) Error() string
Error satisfies the builtin error interface
func (InvoiceValidationError) ErrorName ¶
func (e InvoiceValidationError) ErrorName() string
ErrorName returns error name.
func (InvoiceValidationError) Field ¶
func (e InvoiceValidationError) Field() string
Field function returns field value.
func (InvoiceValidationError) Key ¶
func (e InvoiceValidationError) Key() bool
Key function returns key value.
func (InvoiceValidationError) Reason ¶
func (e InvoiceValidationError) Reason() string
Reason function returns reason value.
type Invoice_LineItem ¶
type Invoice_LineItem struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The amount in quarks. Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // The app SKU related to this line item, if applicable. Sku []byte `protobuf:"bytes,4,opt,name=sku,proto3" json:"sku,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Invoice_LineItem) Descriptor ¶
func (*Invoice_LineItem) Descriptor() ([]byte, []int)
func (*Invoice_LineItem) GetAmount ¶
func (m *Invoice_LineItem) GetAmount() int64
func (*Invoice_LineItem) GetDescription ¶
func (m *Invoice_LineItem) GetDescription() string
func (*Invoice_LineItem) GetSku ¶
func (m *Invoice_LineItem) GetSku() []byte
func (*Invoice_LineItem) GetTitle ¶
func (m *Invoice_LineItem) GetTitle() string
func (*Invoice_LineItem) ProtoMessage ¶
func (*Invoice_LineItem) ProtoMessage()
func (*Invoice_LineItem) Reset ¶
func (m *Invoice_LineItem) Reset()
func (*Invoice_LineItem) String ¶
func (m *Invoice_LineItem) String() string
func (*Invoice_LineItem) Validate ¶
func (m *Invoice_LineItem) Validate() error
Validate checks the field values on Invoice_LineItem with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Invoice_LineItem) XXX_DiscardUnknown ¶
func (m *Invoice_LineItem) XXX_DiscardUnknown()
func (*Invoice_LineItem) XXX_Marshal ¶
func (m *Invoice_LineItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Invoice_LineItem) XXX_Merge ¶
func (m *Invoice_LineItem) XXX_Merge(src proto.Message)
func (*Invoice_LineItem) XXX_Size ¶
func (m *Invoice_LineItem) XXX_Size() int
func (*Invoice_LineItem) XXX_Unmarshal ¶
func (m *Invoice_LineItem) XXX_Unmarshal(b []byte) error
type Invoice_LineItemValidationError ¶
type Invoice_LineItemValidationError struct {
// contains filtered or unexported fields
}
Invoice_LineItemValidationError is the validation error returned by Invoice_LineItem.Validate if the designated constraints aren't met.
func (Invoice_LineItemValidationError) Cause ¶
func (e Invoice_LineItemValidationError) Cause() error
Cause function returns cause value.
func (Invoice_LineItemValidationError) Error ¶
func (e Invoice_LineItemValidationError) Error() string
Error satisfies the builtin error interface
func (Invoice_LineItemValidationError) ErrorName ¶
func (e Invoice_LineItemValidationError) ErrorName() string
ErrorName returns error name.
func (Invoice_LineItemValidationError) Field ¶
func (e Invoice_LineItemValidationError) Field() string
Field function returns field value.
func (Invoice_LineItemValidationError) Key ¶
func (e Invoice_LineItemValidationError) Key() bool
Key function returns key value.
func (Invoice_LineItemValidationError) Reason ¶
func (e Invoice_LineItemValidationError) Reason() string
Reason function returns reason value.
type StellarAccountId ¶
type StellarAccountId struct { // The public key of accounts always starts with a G, so we // ensure that the value starts with a G to prevent the secret // key from being used. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StellarAccountId) Descriptor ¶
func (*StellarAccountId) Descriptor() ([]byte, []int)
func (*StellarAccountId) GetValue ¶
func (m *StellarAccountId) GetValue() string
func (*StellarAccountId) ProtoMessage ¶
func (*StellarAccountId) ProtoMessage()
func (*StellarAccountId) Reset ¶
func (m *StellarAccountId) Reset()
func (*StellarAccountId) String ¶
func (m *StellarAccountId) String() string
func (*StellarAccountId) Validate ¶
func (m *StellarAccountId) Validate() error
Validate checks the field values on StellarAccountId with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*StellarAccountId) XXX_DiscardUnknown ¶
func (m *StellarAccountId) XXX_DiscardUnknown()
func (*StellarAccountId) XXX_Marshal ¶
func (m *StellarAccountId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StellarAccountId) XXX_Merge ¶
func (m *StellarAccountId) XXX_Merge(src proto.Message)
func (*StellarAccountId) XXX_Size ¶
func (m *StellarAccountId) XXX_Size() int
func (*StellarAccountId) XXX_Unmarshal ¶
func (m *StellarAccountId) XXX_Unmarshal(b []byte) error
type StellarAccountIdValidationError ¶
type StellarAccountIdValidationError struct {
// contains filtered or unexported fields
}
StellarAccountIdValidationError is the validation error returned by StellarAccountId.Validate if the designated constraints aren't met.
func (StellarAccountIdValidationError) Cause ¶
func (e StellarAccountIdValidationError) Cause() error
Cause function returns cause value.
func (StellarAccountIdValidationError) Error ¶
func (e StellarAccountIdValidationError) Error() string
Error satisfies the builtin error interface
func (StellarAccountIdValidationError) ErrorName ¶
func (e StellarAccountIdValidationError) ErrorName() string
ErrorName returns error name.
func (StellarAccountIdValidationError) Field ¶
func (e StellarAccountIdValidationError) Field() string
Field function returns field value.
func (StellarAccountIdValidationError) Key ¶
func (e StellarAccountIdValidationError) Key() bool
Key function returns key value.
func (StellarAccountIdValidationError) Reason ¶
func (e StellarAccountIdValidationError) Reason() string
Reason function returns reason value.
type TransactionHash ¶
type TransactionHash struct { // The sha256 hash of a transaction. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionHash) Descriptor ¶
func (*TransactionHash) Descriptor() ([]byte, []int)
func (*TransactionHash) GetValue ¶
func (m *TransactionHash) GetValue() []byte
func (*TransactionHash) ProtoMessage ¶
func (*TransactionHash) ProtoMessage()
func (*TransactionHash) Reset ¶
func (m *TransactionHash) Reset()
func (*TransactionHash) String ¶
func (m *TransactionHash) String() string
func (*TransactionHash) Validate ¶
func (m *TransactionHash) Validate() error
Validate checks the field values on TransactionHash with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*TransactionHash) XXX_DiscardUnknown ¶
func (m *TransactionHash) XXX_DiscardUnknown()
func (*TransactionHash) XXX_Marshal ¶
func (m *TransactionHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionHash) XXX_Merge ¶
func (m *TransactionHash) XXX_Merge(src proto.Message)
func (*TransactionHash) XXX_Size ¶
func (m *TransactionHash) XXX_Size() int
func (*TransactionHash) XXX_Unmarshal ¶
func (m *TransactionHash) XXX_Unmarshal(b []byte) error
type TransactionHashValidationError ¶
type TransactionHashValidationError struct {
// contains filtered or unexported fields
}
TransactionHashValidationError is the validation error returned by TransactionHash.Validate if the designated constraints aren't met.
func (TransactionHashValidationError) Cause ¶
func (e TransactionHashValidationError) Cause() error
Cause function returns cause value.
func (TransactionHashValidationError) Error ¶
func (e TransactionHashValidationError) Error() string
Error satisfies the builtin error interface
func (TransactionHashValidationError) ErrorName ¶
func (e TransactionHashValidationError) ErrorName() string
ErrorName returns error name.
func (TransactionHashValidationError) Field ¶
func (e TransactionHashValidationError) Field() string
Field function returns field value.
func (TransactionHashValidationError) Key ¶
func (e TransactionHashValidationError) Key() bool
Key function returns key value.
func (TransactionHashValidationError) Reason ¶
func (e TransactionHashValidationError) Reason() string
Reason function returns reason value.