change model get transaction #100

Merged
Ghost merged 1 commits from export-data-affiliate-transaction into develop 2022-12-04 14:26:15 +00:00
1 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,5 @@
package model package model
import "time"
// GetTransactionsResponse ... // GetTransactionsResponse ...
type GetTransactionsResponse struct { type GetTransactionsResponse struct {
Total int64 `json:"total"` Total int64 `json:"total"`
@ -18,10 +16,10 @@ type TransactionInfo struct {
Source string `json:"source"` Source string `json:"source"`
Commission ResponseCampaignCommission `json:"commission"` Commission ResponseCampaignCommission `json:"commission"`
EstimateSellerCommission float64 `json:"estimateSellerCommission"` EstimateSellerCommission float64 `json:"estimateSellerCommission"`
TransactionTime time.Time `json:"transactionTime"` TransactionTime string `json:"transactionTime"`
Status string `json:"status"` Status string `json:"status"`
RejectedReason string `json:"rejectedReason"` RejectedReason string `json:"rejectedReason"`
EstimateCashbackAt time.Time `json:"estimateCashbackAt"` EstimateCashbackAt string `json:"estimateCashbackAt"`
} }
// ResponseCampaignCommission ... // ResponseCampaignCommission ...