Merge pull request 'change model get transaction' (#100) from export-data-affiliate-transaction into develop

Reviewed-on: #100
This commit is contained in:
phuanbui 2022-12-04 14:26:15 +00:00
commit 8415059365
1 changed files with 2 additions and 4 deletions

View File

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