models

package
v0.0.0-...-de95c55 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EshuResourceDao

type EshuResourceDao struct {
	PaymentRef      string    `bson:"payment_reference"`
	ProductCode     int       `bson:"product_code"`
	CompanyNumber   string    `bson:"company_number"`
	FilingDate      string    `bson:"filing_date"`
	MadeUpdate      string    `bson:"made_up_date"`
	TransactionDate time.Time `bson:"transaction_date"`
}

EshuResourceDao represents the Eshu data structure

type PaymentTransactionsResourceDao

type PaymentTransactionsResourceDao struct {
	TransactionID     string    `bson:"transaction_id"`
	TransactionDate   time.Time `bson:"transaction_date"`
	Email             string    `bson:"email"`
	PaymentMethod     string    `bson:"payment_method"`
	Amount            string    `bson:"amount"`
	CompanyNumber     string    `bson:"company_number"`
	TransactionType   string    `bson:"transaction_type"`
	OrderReference    string    `bson:"order_reference"`
	Status            string    `bson:"status"`
	UserID            string    `bson:"user_id"`
	OriginalReference string    `bson:"original_reference"`
	DisputeDetails    string    `bson:"dispute_details"`
}

PaymentTransactionsResourceDao represents the payment transaction data structure

type RefundResourceDao

type RefundResourceDao struct {
	TransactionID     string    `bson:"transaction_id"`
	TransactionDate   time.Time `bson:"transaction_date"`
	Email             string    `bson:"email"`
	PaymentMethod     string    `bson:"payment_method"`
	Amount            string    `bson:"amount"`
	CompanyNumber     string    `bson:"company_number"`
	TransactionType   string    `bson:"transaction_type"`
	OrderReference    string    `bson:"order_reference"`
	Status            string    `bson:"status"`
	UserID            string    `bson:"user_id"`
	OriginalReference string    `bson:"original_reference"`
	DisputeDetails    string    `bson:"dispute_details"`
	ProductCode       int       `bson:"product_code"`
	PaymentID         string    `bson:"payment_id"`
	RefundID          string    `bson:"refund_id"`
	RefundedAt        time.Time `bson:"refunded_at"`
}

RefundResourceDao represents the refund data structure

Jump to

Keyboard shortcuts

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