Update types.go (#244)

Add missing field
This commit is contained in:
Christopher Lorke 2022-07-22 10:47:53 +02:00 committed by GitHub
parent b7d3cfd093
commit efc9bbdee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -495,11 +495,12 @@ type (
// ErrorResponseDetail struct // ErrorResponseDetail struct
ErrorResponseDetail struct { ErrorResponseDetail struct {
Field string `json:"field"` Field string `json:"field"`
Issue string `json:"issue"` Issue string `json:"issue"`
Name string `json:"name"` Name string `json:"name"`
Message string `json:"message"` Message string `json:"message"`
Links []Link `json:"link"` Description string `json:"description"`
Links []Link `json:"link"`
} }
// ErrorResponse https://developer.paypal.com/docs/api/errors/ // ErrorResponse https://developer.paypal.com/docs/api/errors/