Documentation
¶
Index ¶
- Variables
- type Bitcoin
- func (*Bitcoin) Descriptor() ([]byte, []int)deprecated
- func (x *Bitcoin) GetAddress() string
- func (x *Bitcoin) GetConfirmed() float64
- func (x *Bitcoin) GetHistory() []string
- func (x *Bitcoin) GetIndex() uint32
- func (x *Bitcoin) GetPending() []string
- func (x *Bitcoin) GetScriptHash() string
- func (x *Bitcoin) GetUnconfirmed() float64
- func (msg *Bitcoin) MarshalJSON() ([]byte, error)
- func (*Bitcoin) ProtoMessage()
- func (x *Bitcoin) ProtoReflect() protoreflect.Message
- func (x *Bitcoin) Reset()
- func (x *Bitcoin) String() string
- func (msg *Bitcoin) UnmarshalJSON(b []byte) error
- type Invoice
- func (*Invoice) Descriptor() ([]byte, []int)deprecated
- func (x *Invoice) GetAmount() float64
- func (x *Invoice) GetBitcoin() *Bitcoin
- func (x *Invoice) GetCreatedAt() *v1.DateTime
- func (x *Invoice) GetData() []byte
- func (x *Invoice) GetDetails() isInvoice_Details
- func (x *Invoice) GetExpiresAt() *v1.DateTime
- func (x *Invoice) GetFinalized() bool
- func (x *Invoice) GetId() string
- func (x *Invoice) GetKey() string
- func (x *Invoice) GetMemo() string
- func (x *Invoice) GetRevision() string
- func (x *Invoice) GetUpdatedAt() *v1.DateTime
- func (msg *Invoice) MarshalJSON() ([]byte, error)
- func (*Invoice) ProtoMessage()
- func (x *Invoice) ProtoReflect() protoreflect.Message
- func (x *Invoice) Reset()
- func (x *Invoice) String() string
- func (msg *Invoice) UnmarshalJSON(b []byte) error
- type InvoiceCreatedPayload
- func (*InvoiceCreatedPayload) Descriptor() ([]byte, []int)deprecated
- func (x *InvoiceCreatedPayload) GetInvoice() *Invoice
- func (msg *InvoiceCreatedPayload) MarshalJSON() ([]byte, error)
- func (*InvoiceCreatedPayload) ProtoMessage()
- func (x *InvoiceCreatedPayload) ProtoReflect() protoreflect.Message
- func (x *InvoiceCreatedPayload) Reset()
- func (x *InvoiceCreatedPayload) String() string
- func (msg *InvoiceCreatedPayload) UnmarshalJSON(b []byte) error
- type InvoiceUpdatedPayload
- func (*InvoiceUpdatedPayload) Descriptor() ([]byte, []int)deprecated
- func (x *InvoiceUpdatedPayload) GetInvoice() *Invoice
- func (msg *InvoiceUpdatedPayload) MarshalJSON() ([]byte, error)
- func (*InvoiceUpdatedPayload) ProtoMessage()
- func (x *InvoiceUpdatedPayload) ProtoReflect() protoreflect.Message
- func (x *InvoiceUpdatedPayload) Reset()
- func (x *InvoiceUpdatedPayload) String() string
- func (msg *InvoiceUpdatedPayload) UnmarshalJSON(b []byte) error
- type Invoice_Bitcoin
Constants ¶
This section is empty.
Variables ¶
View Source
var File_gx_payment_v1_bitcoin_proto protoreflect.FileDescriptor
View Source
var File_gx_payment_v1_invoice_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bitcoin ¶
type Bitcoin struct {
Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
ScriptHash string `protobuf:"bytes,3,opt,name=script_hash,json=scriptHash,proto3" json:"script_hash,omitempty"`
Confirmed float64 `protobuf:"fixed64,4,opt,name=confirmed,proto3" json:"confirmed,omitempty"`
Unconfirmed float64 `protobuf:"fixed64,5,opt,name=unconfirmed,proto3" json:"unconfirmed,omitempty"`
History []string `protobuf:"bytes,6,rep,name=history,proto3" json:"history,omitempty"`
Pending []string `protobuf:"bytes,7,rep,name=pending,proto3" json:"pending,omitempty"`
// contains filtered or unexported fields
}
func (*Bitcoin) Descriptor
deprecated
func (*Bitcoin) GetAddress ¶
func (*Bitcoin) GetConfirmed ¶
func (*Bitcoin) GetHistory ¶
func (*Bitcoin) GetPending ¶
func (*Bitcoin) GetScriptHash ¶
func (*Bitcoin) GetUnconfirmed ¶
func (*Bitcoin) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Bitcoin) ProtoMessage ¶
func (*Bitcoin) ProtoMessage()
func (*Bitcoin) ProtoReflect ¶
func (x *Bitcoin) ProtoReflect() protoreflect.Message
func (*Bitcoin) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type Invoice ¶
type Invoice struct {
Key string `protobuf:"bytes,1,opt,name=key,json=_key,proto3" json:"key,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,json=_id,proto3" json:"id,omitempty"`
Revision string `protobuf:"bytes,3,opt,name=revision,json=_rev,proto3" json:"revision,omitempty"`
Amount *float64 `protobuf:"fixed64,4,opt,name=amount,proto3,oneof" json:"amount,omitempty"`
Memo string `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`
Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
Finalized bool `protobuf:"varint,7,opt,name=finalized,proto3" json:"finalized,omitempty"`
CreatedAt *v1.DateTime `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *v1.DateTime `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
ExpiresAt *v1.DateTime `protobuf:"bytes,10,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// Types that are valid to be assigned to Details:
//
// *Invoice_Bitcoin
Details isInvoice_Details `protobuf_oneof:"details"`
// contains filtered or unexported fields
}
func (*Invoice) Descriptor
deprecated
func (*Invoice) GetBitcoin ¶
func (*Invoice) GetCreatedAt ¶
func (*Invoice) GetDetails ¶
func (x *Invoice) GetDetails() isInvoice_Details
func (*Invoice) GetExpiresAt ¶
func (*Invoice) GetFinalized ¶
func (*Invoice) GetRevision ¶
func (*Invoice) GetUpdatedAt ¶
func (*Invoice) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Invoice) ProtoMessage ¶
func (*Invoice) ProtoMessage()
func (*Invoice) ProtoReflect ¶
func (x *Invoice) ProtoReflect() protoreflect.Message
func (*Invoice) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type InvoiceCreatedPayload ¶
type InvoiceCreatedPayload struct {
Invoice *Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"`
// contains filtered or unexported fields
}
func (*InvoiceCreatedPayload) Descriptor
deprecated
func (*InvoiceCreatedPayload) Descriptor() ([]byte, []int)
Deprecated: Use InvoiceCreatedPayload.ProtoReflect.Descriptor instead.
func (*InvoiceCreatedPayload) GetInvoice ¶
func (x *InvoiceCreatedPayload) GetInvoice() *Invoice
func (*InvoiceCreatedPayload) MarshalJSON ¶
func (msg *InvoiceCreatedPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*InvoiceCreatedPayload) ProtoMessage ¶
func (*InvoiceCreatedPayload) ProtoMessage()
func (*InvoiceCreatedPayload) ProtoReflect ¶
func (x *InvoiceCreatedPayload) ProtoReflect() protoreflect.Message
func (*InvoiceCreatedPayload) Reset ¶
func (x *InvoiceCreatedPayload) Reset()
func (*InvoiceCreatedPayload) String ¶
func (x *InvoiceCreatedPayload) String() string
func (*InvoiceCreatedPayload) UnmarshalJSON ¶
func (msg *InvoiceCreatedPayload) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type InvoiceUpdatedPayload ¶
type InvoiceUpdatedPayload struct {
Invoice *Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"`
// contains filtered or unexported fields
}
func (*InvoiceUpdatedPayload) Descriptor
deprecated
func (*InvoiceUpdatedPayload) Descriptor() ([]byte, []int)
Deprecated: Use InvoiceUpdatedPayload.ProtoReflect.Descriptor instead.
func (*InvoiceUpdatedPayload) GetInvoice ¶
func (x *InvoiceUpdatedPayload) GetInvoice() *Invoice
func (*InvoiceUpdatedPayload) MarshalJSON ¶
func (msg *InvoiceUpdatedPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*InvoiceUpdatedPayload) ProtoMessage ¶
func (*InvoiceUpdatedPayload) ProtoMessage()
func (*InvoiceUpdatedPayload) ProtoReflect ¶
func (x *InvoiceUpdatedPayload) ProtoReflect() protoreflect.Message
func (*InvoiceUpdatedPayload) Reset ¶
func (x *InvoiceUpdatedPayload) Reset()
func (*InvoiceUpdatedPayload) String ¶
func (x *InvoiceUpdatedPayload) String() string
func (*InvoiceUpdatedPayload) UnmarshalJSON ¶
func (msg *InvoiceUpdatedPayload) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Invoice_Bitcoin ¶
type Invoice_Bitcoin struct {
Bitcoin *Bitcoin `protobuf:"bytes,11,opt,name=bitcoin,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.