forked from LiveCarta/PayPal-PHP-Server-SDK
Beta Release 0.7.0 including: - Bug fixes - Updated model/function names - Updated models to reflect changes in APIs
1.1 KiB
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"
}