1
0
Files
PayPal-PHP-Server-SDK/doc/models/order-update-callback-error-response-details.md
2025-03-20 15:58:25 +00:00

1.1 KiB

Order Update Callback Error Response Details

The error details. Required for client-side 4XX errors.

Structure

OrderUpdateCallbackErrorResponseDetails

Fields

Name Type Tags Description Getter Setter
field ?string Optional The field that caused the error. If this field is in the body, set this value to the field's JSON pointer value. Required for client-side errors.
Constraints: Minimum Length: 0, Maximum Length: 256, Pattern: ^.*$
getField(): ?string setField(?string field): void
value ?string Optional The value of the field that caused the error.
Constraints: Minimum Length: 0, Maximum Length: 1024, Pattern: ^.*$
getValue(): ?string setValue(?string value): void
issue string Required The unique, fine-grained application-level error code.
Constraints: Minimum Length: 0, Maximum Length: 256, Pattern: ^.*$
getIssue(): string setIssue(string issue): void

Example (as JSON)

{
  "field": "field8",
  "value": "value6",
  "issue": "issue0"
}