feat: expand merchant revenue statistics
This commit is contained in:
@@ -168,8 +168,17 @@ func (r StatsRequest) params() map[string]string {
|
||||
}
|
||||
|
||||
type StatsResponse struct {
|
||||
OrderCount int64 `json:"order_count"`
|
||||
TotalAmount int64 `json:"total_amount"`
|
||||
TotalFee int64 `json:"total_fee"`
|
||||
NetAmount int64 `json:"net_amount"`
|
||||
OrderCount int64 `json:"order_count"`
|
||||
TotalAmount int64 `json:"total_amount"`
|
||||
TotalFee int64 `json:"total_fee"`
|
||||
NetAmount int64 `json:"net_amount"`
|
||||
TotalOrderCount int64 `json:"total_order_count"`
|
||||
PaidOrderCount int64 `json:"paid_order_count"`
|
||||
UnpaidOrderCount int64 `json:"unpaid_order_count"`
|
||||
RefundedOrderCount int64 `json:"refunded_order_count"`
|
||||
ClosedOrderCount int64 `json:"closed_order_count"`
|
||||
ManualOrderCount int64 `json:"manual_order_count"`
|
||||
ReceivedAmount int64 `json:"received_amount"`
|
||||
RefundAmount int64 `json:"refund_amount"`
|
||||
RefundCount int64 `json:"refund_count"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user