pkg

package
v1.10.11 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalanceQueryResult added in v1.3.0

type BalanceQueryResult struct {
	Currency             string  `bson:"currency"`
	GrossTotalAmount     float64 `bson:"gross_total_amount"`
	TotalFees            float64 `bson:"total_fees"`
	TotalVat             float64 `bson:"total_vat"`
	PayoutAmount         float64 `bson:"payout_amount"`
	CorrectionAmount     float64 `bson:"correction_amount"`
	RollingReserveAmount float64 `bson:"rolling_reserve_total_amount"`
	// FinalPayoutAmount is result of sum PayoutAmount - B2B Vat + CorrectionAmount
	FinalPayoutAmount float64 `bson:"final_payout_amount"`
}

type BinData added in v1.3.0

type BinData struct {
	Id                 primitive.ObjectID `bson:"_id"`
	CardBin            int32              `bson:"card_bin"`
	CardBrand          string             `bson:"card_brand"`
	CardType           string             `bson:"card_type"`
	CardCategory       string             `bson:"card_category"`
	BankName           string             `bson:"bank_name"`
	BankCountryName    string             `bson:"bank_country_name"`
	BankCountryIsoCode string             `bson:"bank_country_code_a2"`
	BankSite           string             `bson:"bank_site"`
	BankPhone          string             `bson:"bank_phone"`
}

type GrossRevenueAndVatReports added in v1.3.0

type GrossRevenueAndVatReports struct {
	GrossRevenue *billingpb.DashboardAmountItemWithChart `bson:"gross_revenue"`
	Vat          *billingpb.DashboardAmountItemWithChart `bson:"vat"`
}

type MgoMoneyBackCostMerchantSet added in v1.3.0

type MgoMoneyBackCostMerchantSet struct {
	Id  string                             `bson:"_id"`
	Set []*models.MgoMoneyBackCostMerchant `bson:"set"`
}

type MgoMoneyBackCostSystemSet added in v1.3.0

type MgoMoneyBackCostSystemSet struct {
	Id  string                           `bson:"_id"`
	Set []*models.MgoMoneyBackCostSystem `bson:"set"`
}

type MgoPaymentChannelCostMerchantSet added in v1.3.0

type MgoPaymentChannelCostMerchantSet struct {
	Id  string                                  `bson:"_id"`
	Set []*models.MgoPaymentChannelCostMerchant `bson:"set"`
}

type MgoPaymentChannelCostSystemSet added in v1.3.0

type MgoPaymentChannelCostSystemSet struct {
	Id  string                                `bson:"_id"`
	Set []*models.MgoPaymentChannelCostSystem `bson:"set"`
}

type MoneyBackCostMerchantSet

type MoneyBackCostMerchantSet struct {
	Id  string                             `bson:"_id"`
	Set []*billingpb.MoneyBackCostMerchant `bson:"set"`
}

type MoneyBackCostSystemSet

type MoneyBackCostSystemSet struct {
	Id  string                           `bson:"_id"`
	Set []*billingpb.MoneyBackCostSystem `bson:"set"`
}

type PaylinkVisits added in v1.3.0

type PaylinkVisits struct {
	PaylinkId primitive.ObjectID `bson:"paylink_id"`
	Date      time.Time          `bson:"date"`
}

type PaymentChannelCostMerchantSet

type PaymentChannelCostMerchantSet struct {
	Id  string                                  `bson:"_id"`
	Set []*billingpb.PaymentChannelCostMerchant `bson:"set"`
}

type PaymentChannelCostSystemSet

type PaymentChannelCostSystemSet struct {
	Id  string                                `bson:"_id"`
	Set []*billingpb.PaymentChannelCostSystem `bson:"set"`
}

type ReserveQueryResItem added in v1.3.0

type ReserveQueryResItem struct {
	Type   string  `bson:"_id"`
	Amount float64 `bson:"amount"`
}

type RoyaltyReportMerchant added in v1.3.0

type RoyaltyReportMerchant struct {
	Id primitive.ObjectID `bson:"_id"`
}

type RoyaltySummaryResult added in v1.3.0

type RoyaltySummaryResult struct {
	Items     []*billingpb.RoyaltyReportProductSummaryItem `bson:"top"`
	Total     *billingpb.RoyaltyReportProductSummaryItem   `bson:"total"`
	OrdersIds []primitive.ObjectID                         `bson:"orders_ids"`
}

type TotalTransactionsAndArpuReports added in v1.3.0

type TotalTransactionsAndArpuReports struct {
	TotalTransactions *billingpb.DashboardMainReportTotalTransactions `bson:"total_transactions"`
	Arpu              *billingpb.DashboardAmountItemWithChart         `bson:"arpu"`
}

type TurnoverQueryResItem added in v1.3.0

type TurnoverQueryResItem struct {
	Id     string  `bson:"_id"`
	Amount float64 `bson:"amount"`
}

type VatReportQueryResItem added in v1.3.0

type VatReportQueryResItem struct {
	Id                             string  `bson:"_id"`
	Count                          int32   `bson:"count"`
	PaymentGrossRevenueLocal       float64 `bson:"payment_gross_revenue_local"`
	PaymentTaxFeeLocal             float64 `bson:"payment_tax_fee_local"`
	PaymentRefundGrossRevenueLocal float64 `bson:"payment_refund_gross_revenue_local"`
	PaymentRefundTaxFeeLocal       float64 `bson:"payment_refund_tax_fee_local"`
	PaymentFeesTotal               float64 `bson:"fees_total"`
	PaymentRefundFeesTotal         float64 `bson:"refund_fees_total"`
}

Jump to

Keyboard shortcuts

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