Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrApiBindCreateWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "bind failed: invalid create withdraw request", http.StatusBadRequest) }
ErrApiBindCreateWithdraw is an error response for bind failed: invalid create withdraw request.
var ErrApiBindUpdateWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "bind failed: invalid update withdraw request", http.StatusBadRequest) }
ErrApiBindUpdateWithdraw is an error response for bind failed: invalid update withdraw request.
var ErrApiFailedCreateWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to create withdraw", http.StatusInternalServerError) }
ErrApiFailedCreateWithdraw is an error response for failed to create withdraw.
var ErrApiFailedDeleteAllWithdrawPermanent = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to permanently delete all withdraws", http.StatusInternalServerError) }
ErrApiFailedDeleteAllWithdrawPermanent is an error response for failed to permanently delete all withdraws.
var ErrApiFailedDeleteWithdrawPermanent = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to permanently delete withdraw", http.StatusInternalServerError) }
ErrApiFailedDeleteWithdrawPermanent is an error response for failed to permanently delete withdraw.
var ErrApiFailedFindAllWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch all withdraws", http.StatusInternalServerError) }
ErrApiFailedFindAllWithdraw is an error response for failed to fetch all withdraws.
var ErrApiFailedFindAllWithdrawByCardNumber = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch withdraws by card number", http.StatusInternalServerError) }
ErrApiFailedFindAllWithdrawByCardNumber is an error response for failed to fetch withdraws by card number.
var ErrApiFailedFindByActiveWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch active withdraws", http.StatusInternalServerError) }
ErrApiFailedFindByActiveWithdraw is an error response for failed to fetch active withdraws.
var ErrApiFailedFindByCardNumber = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch withdraws using card number", http.StatusInternalServerError) }
ErrApiFailedFindByCardNumber is an error response for failed to fetch withdraws using card number.
var ErrApiFailedFindByIdWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch withdraw by ID", http.StatusInternalServerError) }
ErrApiFailedFindByIdWithdraw is an error response for failed to fetch withdraw by ID.
var ErrApiFailedFindByTrashedWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch trashed withdraws", http.StatusInternalServerError) }
ErrApiFailedFindByTrashedWithdraw is an error response for failed to fetch trashed withdraws.
var ErrApiFailedFindMonthlyWithdrawStatusFailed = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly failed withdraws", http.StatusInternalServerError) }
ErrApiFailedFindMonthlyWithdrawStatusFailed is an error response for failed to fetch monthly failed withdraws.
var ErrApiFailedFindMonthlyWithdrawStatusFailedCardNumber = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly failed withdraws by card number", http.StatusInternalServerError) }
ErrApiFailedFindMonthlyWithdrawStatusFailedCardNumber is an error response for failed to fetch monthly failed withdraws by card number.
var ErrApiFailedFindMonthlyWithdrawStatusSuccess = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly successful withdraws", http.StatusInternalServerError) }
ErrApiFailedFindMonthlyWithdrawStatusSuccess is an error response for failed to fetch monthly successful withdraws.
var ErrApiFailedFindMonthlyWithdrawStatusSuccessCardNumber = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly successful withdraws by card number", http.StatusInternalServerError) }
ErrApiFailedFindMonthlyWithdrawStatusSuccessCardNumber is an error response for failed to fetch monthly successful withdraws by card number.
var ErrApiFailedFindMonthlyWithdraws = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly withdraw amounts", http.StatusInternalServerError) }
ErrApiFailedFindMonthlyWithdraws is an error response for failed to fetch monthly withdraw amounts.
var ErrApiFailedFindMonthlyWithdrawsByCardNumber = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly withdraw amounts by card number", http.StatusInternalServerError) }
ErrApiFailedFindMonthlyWithdrawsByCardNumber is an error response for failed to fetch monthly withdraw amounts by card number.
var ErrApiFailedFindYearlyWithdrawStatusFailed = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly failed withdraws", http.StatusInternalServerError) }
ErrApiFailedFindYearlyWithdrawStatusFailed is an error response for failed to fetch yearly failed withdraws.
var ErrApiFailedFindYearlyWithdrawStatusFailedCardNumber = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly failed withdraws by card number", http.StatusInternalServerError) }
ErrApiFailedFindYearlyWithdrawStatusFailedCardNumber is an error response for failed to fetch yearly failed withdraws by card number.
var ErrApiFailedFindYearlyWithdrawStatusSuccess = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly successful withdraws", http.StatusInternalServerError) }
ErrApiFailedFindYearlyWithdrawStatusSuccess is an error response for failed to fetch yearly successful withdraws.
var ErrApiFailedFindYearlyWithdrawStatusSuccessCardNumber = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly successful withdraws by card number", http.StatusInternalServerError) }
ErrApiFailedFindYearlyWithdrawStatusSuccessCardNumber is an error response for failed to fetch yearly successful withdraws by card number.
var ErrApiFailedFindYearlyWithdraws = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly withdraw amounts", http.StatusInternalServerError) }
ErrApiFailedFindYearlyWithdraws is an error response for failed to fetch yearly withdraw amounts.
var ErrApiFailedFindYearlyWithdrawsByCardNumber = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly withdraw amounts by card number", http.StatusInternalServerError) }
ErrApiFailedFindYearlyWithdrawsByCardNumber is an error response for failed to fetch yearly withdraw amounts by card number.
var ErrApiFailedRestoreAllWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to restore all withdraws", http.StatusInternalServerError) }
ErrApiFailedRestoreAllWithdraw is an error response for failed to restore all withdraws.
var ErrApiFailedRestoreWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to restore withdraw", http.StatusInternalServerError) }
ErrApiFailedRestoreWithdraw is an error response for failed to restore withdraw.
var ErrApiFailedTrashedWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to move withdraw to trash", http.StatusInternalServerError) }
ErrApiFailedTrashedWithdraw is an error response for failed to move withdraw to trash.
var ErrApiFailedUpdateWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Failed to update withdraw", http.StatusInternalServerError) }
ErrApiFailedUpdateWithdraw is an error response for failed to update withdraw.
var ErrApiInvalidCardNumber = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Invalid card number", http.StatusBadRequest) }
ErrApiInvalidCardNumber is an error response for invalid card number.
var ErrApiInvalidMonth = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Invalid month", http.StatusBadRequest) }
ErrApiInvalidMonth is an error response for invalid month.
var ErrApiInvalidYear = func(c echo.Context) error { return response.NewApiErrorResponse(c, "year", "Invalid year", http.StatusBadRequest) }
ErrApiInvalidYear is an error response for invalid year.
var ErrApiValidateCreateWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "validation failed: invalid create withdraw request", http.StatusBadRequest) }
ErrApiValidateCreateWithdraw is an error response for validation failed: invalid create withdraw request.
var ErrApiValidateUpdateWithdraw = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "validation failed: invalid update withdraw request", http.StatusBadRequest) }
ErrApiValidateUpdateWithdraw is an error response for validation failed: invalid update withdraw request.
var ErrApiWithdrawInvalidID = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Invalid Withdraw ID", http.StatusBadRequest) }
ErrApiWithdrawInvalidID is an error response for invalid withdraw ID.
var ErrApiWithdrawInvalidUserID = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Invalid Withdraw Merchant ID", http.StatusBadRequest) }
ErrApiWithdrawInvalidUserID is an error response for invalid withdraw merchant ID.
var ErrApiWithdrawNotFound = func(c echo.Context) error { return response.NewApiErrorResponse(c, "error", "Withdraw not found", http.StatusNotFound) }
ErrApiWithdrawNotFound is an error response for withdraw not found.
Functions ¶
This section is empty.
Types ¶
This section is empty.