define webhook global care
This commit is contained in:
parent
faf05aea63
commit
fb104bb0bd
|
@ -1,5 +1,7 @@
|
||||||
package globalcare
|
package globalcare
|
||||||
|
|
||||||
|
import "time"
|
||||||
|
|
||||||
// CommonRequestBody ...
|
// CommonRequestBody ...
|
||||||
type CommonRequestBody struct {
|
type CommonRequestBody struct {
|
||||||
Signature string `json:"signature"`
|
Signature string `json:"signature"`
|
||||||
|
@ -41,3 +43,11 @@ type InsuredInfo struct {
|
||||||
YearsOfInsurance string `json:"yearsOfInsurance"`
|
YearsOfInsurance string `json:"yearsOfInsurance"`
|
||||||
BeginDate string `json:"beginDate"`
|
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