Documentation
¶
Index ¶
- type CreateLedgerEntryParams
- type DBTX
- type Payout
- type Queries
- func (q *Queries) CreateLedgerEntry(ctx context.Context, arg CreateLedgerEntryParams) error
- func (q *Queries) CreateVA(ctx context.Context, virtualAccountNo int64) error
- func (q *Queries) GetLatestWalletLedgerForUpdate(ctx context.Context, virtualAccountNo pgtype.Int8) (pgtype.Numeric, error)
- func (q *Queries) ListAllPayouts(ctx context.Context) ([]Payout, error)
- func (q *Queries) ListLedgerEntries(ctx context.Context) ([]WalletLedger, error)
- func (q *Queries) SavePayout(ctx context.Context, arg SavePayoutParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type SavePayoutParams
- type Store
- type Va
- type WalletLedger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLedgerEntryParams ¶
type Payout ¶
type Payout struct {
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
VirtualAccountNo pgtype.Int8
UserID pgtype.Int4
OrgID pgtype.Int4
WalletBalance pgtype.Numeric
TransactionAmount pgtype.Numeric
CustomerName pgtype.Text
CustomerEmail pgtype.Text
CustomerPhoneNumber pgtype.Text
TransactionType pgtype.Text
TransactionStatus pgtype.Text
DestinationBank pgtype.Text
BeneAccountNumber pgtype.Text
StatusDescription pgtype.Text
UtrNo pgtype.Text
TransactionID pgtype.Text
BeneLocation pgtype.Text
BeneCode pgtype.Text
Ifsc pgtype.Text
Crn int64
RequestUuid pgtype.UUID
ProcessingFee pgtype.Numeric
ClientOrderID pgtype.Text
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateLedgerEntry ¶
func (q *Queries) CreateLedgerEntry(ctx context.Context, arg CreateLedgerEntryParams) error
func (*Queries) GetLatestWalletLedgerForUpdate ¶
func (*Queries) ListAllPayouts ¶
func (*Queries) ListLedgerEntries ¶
func (q *Queries) ListLedgerEntries(ctx context.Context) ([]WalletLedger, error)
func (*Queries) SavePayout ¶
func (q *Queries) SavePayout(ctx context.Context, arg SavePayoutParams) error
type SavePayoutParams ¶
type SavePayoutParams struct {
VirtualAccountNo pgtype.Int8
UserID pgtype.Int4
OrgID pgtype.Int4
WalletBalance pgtype.Numeric
TransactionAmount pgtype.Numeric
CustomerName pgtype.Text
CustomerEmail pgtype.Text
CustomerPhoneNumber pgtype.Text
TransactionType pgtype.Text
TransactionStatus pgtype.Text
DestinationBank pgtype.Text
BeneAccountNumber pgtype.Text
StatusDescription pgtype.Text
UtrNo pgtype.Text
TransactionID pgtype.Text
BeneLocation pgtype.Text
BeneCode pgtype.Text
Ifsc pgtype.Text
RequestUuid pgtype.UUID
ProcessingFee pgtype.Numeric
ClientOrderID pgtype.Text
}
Click to show internal directories.
Click to hide internal directories.