github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payout/ErrorResponse.go (about) 1 // This class was auto-generated from the API references found at 2 // https://epayments-api.developer-ingenico.com/ 3 4 package payout 5 6 import "github.com/Ingenico-ePayments/connect-sdk-go/domain/errors" 7 8 // ErrorResponse represents class PayoutErrorResponse 9 type ErrorResponse struct { 10 ErrorID *string `json:"errorId,omitempty"` 11 Errors *[]errors.APIError `json:"errors,omitempty"` 12 PayoutResult *Result `json:"payoutResult,omitempty"` 13 } 14 15 // NewErrorResponse constructs a new ErrorResponse 16 func NewErrorResponse() *ErrorResponse { 17 return &ErrorResponse{} 18 }