define webhook global care

This commit is contained in:
Sinh 2022-08-31 14:21:43 +07:00
parent faf05aea63
commit fb104bb0bd
1 changed files with 10 additions and 0 deletions

View File

@ -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"`
}