paymentv1

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Bitcoin.ProtoReflect.Descriptor instead.

func (*Bitcoin) GetAddress

func (x *Bitcoin) GetAddress() string

func (*Bitcoin) GetConfirmed

func (x *Bitcoin) GetConfirmed() float64

func (*Bitcoin) GetHistory

func (x *Bitcoin) GetHistory() []string

func (*Bitcoin) GetIndex

func (x *Bitcoin) GetIndex() uint32

func (*Bitcoin) GetPending

func (x *Bitcoin) GetPending() []string

func (*Bitcoin) GetScriptHash

func (x *Bitcoin) GetScriptHash() string

func (*Bitcoin) GetUnconfirmed

func (x *Bitcoin) GetUnconfirmed() float64

func (*Bitcoin) MarshalJSON

func (msg *Bitcoin) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Bitcoin) ProtoMessage

func (*Bitcoin) ProtoMessage()

func (*Bitcoin) ProtoReflect

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

func (*Bitcoin) Reset

func (x *Bitcoin) Reset()

func (*Bitcoin) String

func (x *Bitcoin) String() string

func (*Bitcoin) UnmarshalJSON

func (msg *Bitcoin) UnmarshalJSON(b []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Invoice.ProtoReflect.Descriptor instead.

func (*Invoice) GetAmount

func (x *Invoice) GetAmount() float64

func (*Invoice) GetBitcoin

func (x *Invoice) GetBitcoin() *Bitcoin

func (*Invoice) GetCreatedAt

func (x *Invoice) GetCreatedAt() *v1.DateTime

func (*Invoice) GetData added in v0.14.7

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

func (*Invoice) GetDetails

func (x *Invoice) GetDetails() isInvoice_Details

func (*Invoice) GetExpiresAt

func (x *Invoice) GetExpiresAt() *v1.DateTime

func (*Invoice) GetFinalized

func (x *Invoice) GetFinalized() bool

func (*Invoice) GetId

func (x *Invoice) GetId() string

func (*Invoice) GetKey

func (x *Invoice) GetKey() string

func (*Invoice) GetMemo

func (x *Invoice) GetMemo() string

func (*Invoice) GetRevision

func (x *Invoice) GetRevision() string

func (*Invoice) GetUpdatedAt

func (x *Invoice) GetUpdatedAt() *v1.DateTime

func (*Invoice) MarshalJSON

func (msg *Invoice) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Invoice) ProtoMessage

func (*Invoice) ProtoMessage()

func (*Invoice) ProtoReflect

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

func (*Invoice) Reset

func (x *Invoice) Reset()

func (*Invoice) String

func (x *Invoice) String() string

func (*Invoice) UnmarshalJSON

func (msg *Invoice) UnmarshalJSON(b []byte) error

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"`
}

Jump to

Keyboard shortcuts

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