Integrate global care #2
			
				
			
		
		
		
	| 
						 | 
				
			
			@ -1,5 +1,7 @@
 | 
			
		|||
package globalcare
 | 
			
		||||
 | 
			
		||||
import "time"
 | 
			
		||||
 | 
			
		||||
// CommonRequestBody ...
 | 
			
		||||
type CommonRequestBody struct {
 | 
			
		||||
	Signature string `json:"signature"`
 | 
			
		||||
| 
						 | 
				
			
			@ -41,3 +43,11 @@ type InsuredInfo struct {
 | 
			
		|||
	YearsOfInsurance string `json:"yearsOfInsurance"`
 | 
			
		||||
	BeginDate        string `json:"beginDate"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Webhook ...
 | 
			
		||||
type Webhook struct {
 | 
			
		||||
	Status    int       `json:"status"`
 | 
			
		||||
	OrderCode string    `json:"orderCode"`
 | 
			
		||||
	UpdatedAt time.Time `json:"updatedAt"`
 | 
			
		||||
	Note      string    `json:"note"`
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue