public DeclinedRefundException(int statusCode, String responseBody, RefundErrorResponse errors) { super( buildMessage(errors), statusCode, responseBody, errors != null ? errors.getErrorId() : null, errors != null ? errors.getErrors() : null); this.errors = errors; }