Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrFailedCreateMerchant = errors.NewErrorResponse("Failed to create Merchant", http.StatusInternalServerError)
ErrFailedCreateMerchant indicates failure when creating a new merchant.
var ErrFailedDeleteAllMerchants = errors.NewErrorResponse("Failed to delete all Merchants permanently", http.StatusInternalServerError)
ErrFailedDeleteAllMerchants indicates failure when permanently deleting all trashed merchants.
var ErrFailedDeleteMerchant = errors.NewErrorResponse("Failed to delete Merchant permanently", http.StatusInternalServerError)
ErrFailedDeleteMerchant indicates failure when permanently deleting a merchant.
var ErrFailedFindActiveMerchants = errors.NewErrorResponse("Failed to fetch active Merchants", http.StatusInternalServerError)
ErrFailedFindActiveMerchants indicates failure in fetching active merchants.
var ErrFailedFindAllMerchants = errors.NewErrorResponse("Failed to fetch Merchants", http.StatusInternalServerError)
ErrFailedFindAllMerchants indicates failure in fetching all merchants.
var ErrFailedFindAllTransactions = errors.NewErrorResponse("Failed to fetch Merchant transactions", http.StatusInternalServerError)
ErrFailedFindAllTransactions is returned when fetching all transactions fails.
var ErrFailedFindAllTransactionsByApikey = errors.NewErrorResponse("Failed to fetch transactions by API key", http.StatusInternalServerError)
ErrFailedFindAllTransactionsByApikey is returned when fetching transactions by API key fails.
var ErrFailedFindAllTransactionsByMerchant = errors.NewErrorResponse("Failed to fetch transactions by Merchant", http.StatusInternalServerError)
ErrFailedFindAllTransactionsByMerchant is returned when fetching transactions by merchant fails.
var ErrFailedFindByApiKey = errors.NewErrorResponse("Failed to find Merchant by API key", http.StatusInternalServerError)
ErrFailedFindByApiKey is returned when a merchant cannot be found by API key.
var ErrFailedFindByMerchantUserId = errors.NewErrorResponse("Failed to find Merchant by User ID", http.StatusInternalServerError)
ErrFailedFindByMerchantUserId is returned when a merchant cannot be found by user ID.
var ErrFailedFindMerchantById = errors.NewErrorResponse("Failed to find Merchant by ID", http.StatusInternalServerError)
ErrFailedFindMerchantById is returned when a merchant cannot be found by ID.
var ErrFailedFindMonthlyAmountByApikeys = errors.NewErrorResponse("Failed to get monthly amount by API key", http.StatusInternalServerError)
ErrFailedFindMonthlyAmountByApikeys indicates failure fetching monthly amounts by API key.
var ErrFailedFindMonthlyAmountByMerchants = errors.NewErrorResponse("Failed to get monthly amount by Merchant", http.StatusInternalServerError)
ErrFailedFindMonthlyAmountByMerchants indicates failure fetching monthly amounts by merchant.
var ErrFailedFindMonthlyAmountMerchant = errors.NewErrorResponse("Failed to get monthly amount", http.StatusInternalServerError)
ErrFailedFindMonthlyAmountMerchant indicates failure fetching monthly amounts.
var ErrFailedFindMonthlyPaymentMethodByApikeys = errors.NewErrorResponse("Failed to get monthly payment methods by API key", http.StatusInternalServerError)
ErrFailedFindMonthlyPaymentMethodByApikeys indicates failure fetching monthly payment methods by API key.
var ErrFailedFindMonthlyPaymentMethodByMerchants = errors.NewErrorResponse("Failed to get monthly payment methods by Merchant", http.StatusInternalServerError)
ErrFailedFindMonthlyPaymentMethodByMerchants indicates failure fetching monthly payment methods by merchant.
var ErrFailedFindMonthlyPaymentMethodsMerchant = errors.NewErrorResponse("Failed to get monthly payment methods", http.StatusInternalServerError)
ErrFailedFindMonthlyPaymentMethodsMerchant indicates failure fetching monthly payment methods.
var ErrFailedFindMonthlyTotalAmountByApikeys = errors.NewErrorResponse("Failed to get monthly total amount by API key", http.StatusInternalServerError)
ErrFailedFindMonthlyTotalAmountByApikeys indicates failure fetching monthly total amounts by API key.
var ErrFailedFindMonthlyTotalAmountByMerchants = errors.NewErrorResponse("Failed to get monthly total amount by Merchant", http.StatusInternalServerError)
ErrFailedFindMonthlyTotalAmountByMerchants indicates failure fetching monthly total amounts by merchant.
var ErrFailedFindMonthlyTotalAmountMerchant = errors.NewErrorResponse("Failed to get monthly total amount", http.StatusInternalServerError)
ErrFailedFindMonthlyTotalAmountMerchant indicates failure fetching monthly total amounts.
var ErrFailedFindTrashedMerchants = errors.NewErrorResponse("Failed to fetch trashed Merchants", http.StatusInternalServerError)
ErrFailedFindTrashedMerchants indicates failure in fetching trashed merchants.
var ErrFailedFindYearlyAmountByApikeys = errors.NewErrorResponse("Failed to get yearly amount by API key", http.StatusInternalServerError)
ErrFailedFindYearlyAmountByApikeys indicates failure fetching yearly amounts by API key.
var ErrFailedFindYearlyAmountByMerchants = errors.NewErrorResponse("Failed to get yearly amount by Merchant", http.StatusInternalServerError)
ErrFailedFindYearlyAmountByMerchants indicates failure fetching yearly amounts by merchant.
var ErrFailedFindYearlyAmountMerchant = errors.NewErrorResponse("Failed to get yearly amount", http.StatusInternalServerError)
ErrFailedFindYearlyAmountMerchant indicates failure fetching yearly amounts.
var ErrFailedFindYearlyPaymentMethodByApikeys = errors.NewErrorResponse("Failed to get yearly payment method by API key", http.StatusInternalServerError)
ErrFailedFindYearlyPaymentMethodByApikeys indicates failure fetching yearly payment methods by API key.
var ErrFailedFindYearlyPaymentMethodByMerchants = errors.NewErrorResponse("Failed to get yearly payment method by Merchant", http.StatusInternalServerError)
ErrFailedFindYearlyPaymentMethodByMerchants indicates failure fetching yearly payment methods by merchant.
var ErrFailedFindYearlyPaymentMethodMerchant = errors.NewErrorResponse("Failed to get yearly payment method", http.StatusInternalServerError)
ErrFailedFindYearlyPaymentMethodMerchant indicates failure fetching yearly payment methods.
var ErrFailedFindYearlyTotalAmountByApikeys = errors.NewErrorResponse("Failed to get yearly total amount by API key", http.StatusInternalServerError)
ErrFailedFindYearlyTotalAmountByApikeys indicates failure fetching yearly total amounts by API key.
var ErrFailedFindYearlyTotalAmountByMerchants = errors.NewErrorResponse("Failed to get yearly total amount by Merchant", http.StatusInternalServerError)
ErrFailedFindYearlyTotalAmountByMerchants indicates failure fetching yearly total amounts by merchant.
var ErrFailedFindYearlyTotalAmountMerchant = errors.NewErrorResponse("Failed to get yearly total amount", http.StatusInternalServerError)
ErrFailedFindYearlyTotalAmountMerchant indicates failure fetching yearly total amounts.
var ErrFailedRestoreAllMerchants = errors.NewErrorResponse("Failed to restore all Merchants", http.StatusInternalServerError)
ErrFailedRestoreAllMerchants indicates failure when restoring all trashed merchants.
var ErrFailedRestoreMerchant = errors.NewErrorResponse("Failed to restore Merchant", http.StatusInternalServerError)
ErrFailedRestoreMerchant indicates failure when restoring a trashed merchant.
var ErrFailedSendEmail = errors.NewErrorResponse("Failed to send email", http.StatusInternalServerError)
ErrFailedSendEmail indicates a failure when sending an email related to merchant operations.
var ErrFailedTrashMerchant = errors.NewErrorResponse("Failed to trash Merchant", http.StatusInternalServerError)
ErrFailedTrashMerchant indicates failure when soft-deleting (trashing) a merchant.
var ErrFailedUpdateMerchant = errors.NewErrorResponse("Failed to update Merchant", http.StatusInternalServerError)
ErrFailedUpdateMerchant indicates failure when updating a merchant.
var ErrMerchantNotFoundRes = errors.NewErrorResponse("Merchant not found", http.StatusNotFound)
ErrMerchantNotFoundRes is returned when the merchant is not found.
Functions ¶
This section is empty.
Types ¶
This section is empty.