viettel-ffm #19

Merged
sinhluu merged 10 commits from viettel-ffm into master 2024-07-11 03:04:15 +00:00
1 changed files with 13 additions and 0 deletions
Showing only changes of commit b7195b364f - Show all commits

View File

@ -64,3 +64,16 @@ type ORResult struct {
OrId int `json:"or_id"` OrId int `json:"or_id"`
Status string `json:"status"` Status string `json:"status"`
} }
type Webhook struct {
Data WebhookData `json:"data"`
}
type WebhookData struct {
OrId int `json:"or_id"`
OrCode string `json:"or_code"`
PartnerOrCode string `json:"partner_or_code"`
Status string `json:"status"`
TotalPrice float64 `json:"total_price"`
ShippingFee int `json:"shipping_fee"`
}