bchwallet: github.com/gcash/bchwallet/pymtproto/payments Index | Files

package payments

import "github.com/gcash/bchwallet/pymtproto/payments"

Index

Package Files

paymentrequest.pb.go

Constants

const Default_Output_Amount uint64 = 0
const Default_PaymentDetails_Network string = "main"
const Default_PaymentRequest_PaymentDetailsVersion uint32 = 1
const Default_PaymentRequest_PkiType string = "none"

type Output Uses

type Output struct {
    Amount               *uint64  `protobuf:"varint,1,opt,name=amount,def=0" json:"amount,omitempty"`
    Script               []byte   `protobuf:"bytes,2,req,name=script" json:"script,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Generalized form of "send payment to this/these bitcoin addresses"

func (*Output) Descriptor Uses

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

func (*Output) GetAmount Uses

func (m *Output) GetAmount() uint64

func (*Output) GetScript Uses

func (m *Output) GetScript() []byte

func (*Output) ProtoMessage Uses

func (*Output) ProtoMessage()

func (*Output) Reset Uses

func (m *Output) Reset()

func (*Output) String Uses

func (m *Output) String() string

func (*Output) XXX_DiscardUnknown Uses

func (m *Output) XXX_DiscardUnknown()

func (*Output) XXX_Marshal Uses

func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Output) XXX_Merge Uses

func (m *Output) XXX_Merge(src proto.Message)

func (*Output) XXX_Size Uses

func (m *Output) XXX_Size() int

func (*Output) XXX_Unmarshal Uses

func (m *Output) XXX_Unmarshal(b []byte) error

type Payment Uses

type Payment struct {
    MerchantData         []byte    `protobuf:"bytes,1,opt,name=merchant_data,json=merchantData" json:"merchant_data,omitempty"`
    Transactions         [][]byte  `protobuf:"bytes,2,rep,name=transactions" json:"transactions,omitempty"`
    RefundTo             []*Output `protobuf:"bytes,3,rep,name=refund_to,json=refundTo" json:"refund_to,omitempty"`
    Memo                 *string   `protobuf:"bytes,4,opt,name=memo" json:"memo,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

func (*Payment) Descriptor Uses

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

func (*Payment) GetMemo Uses

func (m *Payment) GetMemo() string

func (*Payment) GetMerchantData Uses

func (m *Payment) GetMerchantData() []byte

func (*Payment) GetRefundTo Uses

func (m *Payment) GetRefundTo() []*Output

func (*Payment) GetTransactions Uses

func (m *Payment) GetTransactions() [][]byte

func (*Payment) ProtoMessage Uses

func (*Payment) ProtoMessage()

func (*Payment) Reset Uses

func (m *Payment) Reset()

func (*Payment) String Uses

func (m *Payment) String() string

func (*Payment) XXX_DiscardUnknown Uses

func (m *Payment) XXX_DiscardUnknown()

func (*Payment) XXX_Marshal Uses

func (m *Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Payment) XXX_Merge Uses

func (m *Payment) XXX_Merge(src proto.Message)

func (*Payment) XXX_Size Uses

func (m *Payment) XXX_Size() int

func (*Payment) XXX_Unmarshal Uses

func (m *Payment) XXX_Unmarshal(b []byte) error

type PaymentACK Uses

type PaymentACK struct {
    Payment              *Payment `protobuf:"bytes,1,req,name=payment" json:"payment,omitempty"`
    Memo                 *string  `protobuf:"bytes,2,opt,name=memo" json:"memo,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*PaymentACK) Descriptor Uses

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

func (*PaymentACK) GetMemo Uses

func (m *PaymentACK) GetMemo() string

func (*PaymentACK) GetPayment Uses

func (m *PaymentACK) GetPayment() *Payment

func (*PaymentACK) ProtoMessage Uses

func (*PaymentACK) ProtoMessage()

func (*PaymentACK) Reset Uses

func (m *PaymentACK) Reset()

func (*PaymentACK) String Uses

func (m *PaymentACK) String() string

func (*PaymentACK) XXX_DiscardUnknown Uses

func (m *PaymentACK) XXX_DiscardUnknown()

func (*PaymentACK) XXX_Marshal Uses

func (m *PaymentACK) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaymentACK) XXX_Merge Uses

func (m *PaymentACK) XXX_Merge(src proto.Message)

func (*PaymentACK) XXX_Size Uses

func (m *PaymentACK) XXX_Size() int

func (*PaymentACK) XXX_Unmarshal Uses

func (m *PaymentACK) XXX_Unmarshal(b []byte) error

type PaymentDetails Uses

type PaymentDetails struct {
    Network              *string   `protobuf:"bytes,1,opt,name=network,def=main" json:"network,omitempty"`
    Outputs              []*Output `protobuf:"bytes,2,rep,name=outputs" json:"outputs,omitempty"`
    Time                 *uint64   `protobuf:"varint,3,req,name=time" json:"time,omitempty"`
    Expires              *uint64   `protobuf:"varint,4,opt,name=expires" json:"expires,omitempty"`
    Memo                 *string   `protobuf:"bytes,5,opt,name=memo" json:"memo,omitempty"`
    PaymentUrl           *string   `protobuf:"bytes,6,opt,name=payment_url,json=paymentUrl" json:"payment_url,omitempty"`
    MerchantData         []byte    `protobuf:"bytes,7,opt,name=merchant_data,json=merchantData" json:"merchant_data,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

func (*PaymentDetails) Descriptor Uses

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

func (*PaymentDetails) GetExpires Uses

func (m *PaymentDetails) GetExpires() uint64

func (*PaymentDetails) GetMemo Uses

func (m *PaymentDetails) GetMemo() string

func (*PaymentDetails) GetMerchantData Uses

func (m *PaymentDetails) GetMerchantData() []byte

func (*PaymentDetails) GetNetwork Uses

func (m *PaymentDetails) GetNetwork() string

func (*PaymentDetails) GetOutputs Uses

func (m *PaymentDetails) GetOutputs() []*Output

func (*PaymentDetails) GetPaymentUrl Uses

func (m *PaymentDetails) GetPaymentUrl() string

func (*PaymentDetails) GetTime Uses

func (m *PaymentDetails) GetTime() uint64

func (*PaymentDetails) ProtoMessage Uses

func (*PaymentDetails) ProtoMessage()

func (*PaymentDetails) Reset Uses

func (m *PaymentDetails) Reset()

func (*PaymentDetails) String Uses

func (m *PaymentDetails) String() string

func (*PaymentDetails) XXX_DiscardUnknown Uses

func (m *PaymentDetails) XXX_DiscardUnknown()

func (*PaymentDetails) XXX_Marshal Uses

func (m *PaymentDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaymentDetails) XXX_Merge Uses

func (m *PaymentDetails) XXX_Merge(src proto.Message)

func (*PaymentDetails) XXX_Size Uses

func (m *PaymentDetails) XXX_Size() int

func (*PaymentDetails) XXX_Unmarshal Uses

func (m *PaymentDetails) XXX_Unmarshal(b []byte) error

type PaymentRequest Uses

type PaymentRequest struct {
    PaymentDetailsVersion    *uint32  `protobuf:"varint,1,opt,name=payment_details_version,json=paymentDetailsVersion,def=1" json:"payment_details_version,omitempty"`
    PkiType                  *string  `protobuf:"bytes,2,opt,name=pki_type,json=pkiType,def=none" json:"pki_type,omitempty"`
    PkiData                  []byte   `protobuf:"bytes,3,opt,name=pki_data,json=pkiData" json:"pki_data,omitempty"`
    SerializedPaymentDetails []byte   `protobuf:"bytes,4,req,name=serialized_payment_details,json=serializedPaymentDetails" json:"serialized_payment_details,omitempty"`
    Signature                []byte   `protobuf:"bytes,5,opt,name=signature" json:"signature,omitempty"`
    XXX_NoUnkeyedLiteral     struct{} `json:"-"`
    XXX_unrecognized         []byte   `json:"-"`
    XXX_sizecache            int32    `json:"-"`
}

func (*PaymentRequest) Descriptor Uses

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

func (*PaymentRequest) GetPaymentDetailsVersion Uses

func (m *PaymentRequest) GetPaymentDetailsVersion() uint32

func (*PaymentRequest) GetPkiData Uses

func (m *PaymentRequest) GetPkiData() []byte

func (*PaymentRequest) GetPkiType Uses

func (m *PaymentRequest) GetPkiType() string

func (*PaymentRequest) GetSerializedPaymentDetails Uses

func (m *PaymentRequest) GetSerializedPaymentDetails() []byte

func (*PaymentRequest) GetSignature Uses

func (m *PaymentRequest) GetSignature() []byte

func (*PaymentRequest) ProtoMessage Uses

func (*PaymentRequest) ProtoMessage()

func (*PaymentRequest) Reset Uses

func (m *PaymentRequest) Reset()

func (*PaymentRequest) String Uses

func (m *PaymentRequest) String() string

func (*PaymentRequest) XXX_DiscardUnknown Uses

func (m *PaymentRequest) XXX_DiscardUnknown()

func (*PaymentRequest) XXX_Marshal Uses

func (m *PaymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaymentRequest) XXX_Merge Uses

func (m *PaymentRequest) XXX_Merge(src proto.Message)

func (*PaymentRequest) XXX_Size Uses

func (m *PaymentRequest) XXX_Size() int

func (*PaymentRequest) XXX_Unmarshal Uses

func (m *PaymentRequest) XXX_Unmarshal(b []byte) error

type X509Certificates Uses

type X509Certificates struct {
    Certificate          [][]byte `protobuf:"bytes,1,rep,name=certificate" json:"certificate,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*X509Certificates) Descriptor Uses

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

func (*X509Certificates) GetCertificate Uses

func (m *X509Certificates) GetCertificate() [][]byte

func (*X509Certificates) ProtoMessage Uses

func (*X509Certificates) ProtoMessage()

func (*X509Certificates) Reset Uses

func (m *X509Certificates) Reset()

func (*X509Certificates) String Uses

func (m *X509Certificates) String() string

func (*X509Certificates) XXX_DiscardUnknown Uses

func (m *X509Certificates) XXX_DiscardUnknown()

func (*X509Certificates) XXX_Marshal Uses

func (m *X509Certificates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*X509Certificates) XXX_Merge Uses

func (m *X509Certificates) XXX_Merge(src proto.Message)

func (*X509Certificates) XXX_Size Uses

func (m *X509Certificates) XXX_Size() int

func (*X509Certificates) XXX_Unmarshal Uses

func (m *X509Certificates) XXX_Unmarshal(b []byte) error

Package payments imports 3 packages (graph) and is imported by 1 packages. Updated 2019-03-20. Refresh now. Tools for package owners.