1
0
Files
PayPal-PHP-Server-SDK/doc/models/order-update-callback-error-response.md
Patrick Powers 6da8b9b5b8 1.1.0 Release (#44)
* Automated commit message

* add changelog

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
Co-authored-by: Patrick Powers <patickpowers@hey.com>
2025-05-27 13:31:17 -05:00

1.2 KiB

Order Update Callback Error Response

The error details.

Structure

OrderUpdateCallbackErrorResponse

Fields

Name Type Tags Description Getter Setter
name string Required The human-readable, unique name of the error.

Constraints: Minimum Length: 1, Maximum Length: 256, Pattern: ^.*$
getName(): string setName(string name): void
message ?string Optional The message that describes the error.

Constraints: Minimum Length: 1, Maximum Length: 2048, Pattern: ^.*$
getMessage(): ?string setMessage(?string message): void
details ?(OrderUpdateCallbackErrorResponseDetails[]) Optional An array of additional details about the error.

Constraints: Minimum Items: 1, Maximum Items: 100
getDetails(): ?array setDetails(?array details): void

Example (as JSON)

{
  "name": "name2",
  "message": "message8",
  "details": [
    {
      "field": "field4",
      "value": "value2",
      "issue": "issue6"
    },
    {
      "field": "field4",
      "value": "value2",
      "issue": "issue6"
    }
  ]
}