Documentation ¶
Index ¶
- type BalanceQueryResult
- type BinData
- type GrossRevenueAndVatReports
- type MgoMoneyBackCostMerchantSet
- type MgoMoneyBackCostSystemSet
- type MgoPaymentChannelCostMerchantSet
- type MgoPaymentChannelCostSystemSet
- type MoneyBackCostMerchantSet
- type MoneyBackCostSystemSet
- type PaylinkVisits
- type PaymentChannelCostMerchantSet
- type PaymentChannelCostSystemSet
- type ReserveQueryResItem
- type RoyaltyReportMerchant
- type RoyaltySummaryResult
- type TotalTransactionsAndArpuReports
- type TurnoverQueryResItem
- type VatReportQueryResItem
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 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 RoyaltyReportMerchant ¶ added in v1.3.0
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 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"` }
Click to show internal directories.
Click to hide internal directories.