Versions in this module Expand all Collapse all v0 v0.1.12 Jul 27, 2022 Changes in this version + type DPPInput struct + NSequence int + ScriptSig string + TxId string + Value uint64 + Vout uint32 + type DPPNativeOutput struct + Amount uint64 + Description string + LockingScript *bscript.Script + type DPPOutputs struct + NativeOutputType DPPNativeOutput + type DPPPolicies struct + FeeRate map[string]interface{} + LockTime uint32 + SPVRequired bool + type Merchant struct + Address string + AvatarURL string + Email string + ExtendedData map[string]interface{} + Name string + PaymentReference string + type Payment struct + Ancestry *string + Memo string + MerchantData Merchant + ProofCallbacks map[string]ProofCallback + RawTx *string + RefundTo *string + func (p Payment) Validate() error + type PaymentACK struct + Error int + ID string + Memo string + PeerChannel *PeerChannelData + TxID string + type PaymentCreateArgs struct + PaymentID string + func (p PaymentCreateArgs) Validate() error + type PaymentModes struct + HybridPaymentMode map[string]map[string][]TransactionTerms + type PaymentRequest struct + Beneficiary *Merchant + CreationTimestamp time.Time + ExpirationTimestamp time.Time + Memo string + Modes *PaymentModes + Network string + Outputs []DPPNativeOutput + PaymentURL string + Version string + type PaymentRequestArgs struct + PaymentID string + type PaymentRequestReader interface + PaymentRequest func(ctx context.Context, args PaymentRequestArgs) (*PaymentRequest, error) + type PaymentRequestService interface + type PaymentService interface + PaymentCreate func(ctx context.Context, args PaymentCreateArgs, req Payment) (*PaymentACK, error) + type PaymentWriter interface + PaymentCreate func(ctx context.Context, args PaymentCreateArgs, req Payment) (*PaymentACK, error) + type PeerChannelData struct + ChannelID string + Host string + Path string + Token string + type ProofCallback struct + Token string + type ProofCreateArgs struct + PaymentReference string + TxID string + type ProofWrapper struct + BlockHash string + BlockHeight uint32 + CallbackPayload *bc.MerkleProof + CallbackReason string + CallbackTxID string + func (p ProofWrapper) Validate(args ProofCreateArgs) error + type ProofsService interface + Create func(ctx context.Context, args ProofCreateArgs, req envelope.JSONEnvelope) error + type ProofsWriter interface + ProofCreate func(ctx context.Context, args ProofCreateArgs, req envelope.JSONEnvelope) error + type TransactionTerms struct + Inputs []DPPInput + Outputs []DPPOutputs + Policies *DPPPolicies