viettel-ffm #19
			
				
			
		
		
		
	| 
						 | 
				
			
			@ -64,3 +64,16 @@ type ORResult struct {
 | 
			
		|||
	OrId   int    `json:"or_id"`
 | 
			
		||||
	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"`
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue