github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/refund/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 refund
     5  
     6  import "github.com/Ingenico-ePayments/connect-sdk-go/domain/errors"
     7  
     8  // ErrorResponse represents class RefundErrorResponse
     9  type ErrorResponse struct {
    10  	ErrorID      *string            `json:"errorId,omitempty"`
    11  	Errors       *[]errors.APIError `json:"errors,omitempty"`
    12  	RefundResult *Result            `json:"refundResult,omitempty"`
    13  }
    14  
    15  // NewErrorResponse constructs a new ErrorResponse
    16  func NewErrorResponse() *ErrorResponse {
    17  	return &ErrorResponse{}
    18  }