Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrCreateMerchantFailed = errors.New("failed to create merchant")
ErrCreateMerchantFailed indicates failure when creating a merchant.
var ErrDeleteAllMerchantPermanentFailed = errors.New("failed to permanently delete all merchants")
ErrDeleteAllMerchantPermanentFailed indicates failure when permanently deleting all merchants.
var ErrDeleteMerchantPermanentFailed = errors.New("failed to permanently delete merchant")
ErrDeleteMerchantPermanentFailed indicates failure when permanently deleting a merchant.
var ErrFindActiveMerchantsFailed = errors.New("failed to find active merchants")
ErrFindActiveMerchantsFailed is returned when fetching active merchants fails.
var ErrFindAllMerchantsFailed = errors.New("failed to find all merchants")
ErrFindAllMerchantsFailed is returned when fetching all merchants fails.
var ErrFindAllTransactionsByApiKeyFailed = errors.New("failed to find merchant transactions by API key")
ErrFindAllTransactionsByApiKeyFailed indicates failure fetching transactions by API key.
var ErrFindAllTransactionsByMerchantFailed = errors.New("failed to find merchant transactions by merchant ID")
ErrFindAllTransactionsByMerchantFailed indicates failure fetching transactions by merchant ID.
var ErrFindAllTransactionsFailed = errors.New("failed to find all merchant transactions")
ErrFindAllTransactionsFailed indicates failure fetching all transactions.
var ErrFindMerchantByApiKeyFailed = errors.New("failed to find merchant by API key")
ErrFindMerchantByApiKeyFailed is returned when a merchant cannot be found by API key.
var ErrFindMerchantByIdFailed = errors.New("failed to find merchant by ID")
ErrFindMerchantByIdFailed is returned when a merchant cannot be found by ID.
var ErrFindMerchantByNameFailed = errors.New("failed to find merchant by name")
ErrFindMerchantByNameFailed is returned when a merchant cannot be found by name.
var ErrFindMerchantByUserIdFailed = errors.New("failed to find merchant by user ID")
ErrFindMerchantByUserIdFailed is returned when a merchant cannot be found by user ID.
var ErrFindTrashedMerchantsFailed = errors.New("failed to find trashed merchants")
ErrFindTrashedMerchantsFailed is returned when fetching trashed merchants fails.
var ErrGetMonthlyAmountByApikeyFailed = errors.New("failed to get monthly amount by API key")
ErrGetMonthlyAmountByApikeyFailed indicates failure fetching monthly amount by API key.
var ErrGetMonthlyAmountByMerchantsFailed = errors.New("failed to get monthly amount by merchants")
ErrGetMonthlyAmountByMerchantsFailed indicates failure fetching monthly amount for all merchants.
var ErrGetMonthlyAmountMerchantFailed = errors.New("failed to get monthly amount of merchant")
ErrGetMonthlyAmountMerchantFailed indicates failure fetching monthly amount for a merchant.
var ErrGetMonthlyPaymentMethodByApikeyFailed = errors.New("failed to get monthly payment method by API key")
ErrGetMonthlyPaymentMethodByApikeyFailed indicates failure fetching monthly payment methods by API key.
var ErrGetMonthlyPaymentMethodByMerchantsFailed = errors.New("failed to get monthly payment method by merchants")
ErrGetMonthlyPaymentMethodByMerchantsFailed indicates failure fetching monthly payment methods for all merchants.
var ErrGetMonthlyPaymentMethodsMerchantFailed = errors.New("failed to get monthly payment methods of merchant")
ErrGetMonthlyPaymentMethodsMerchantFailed indicates failure fetching monthly payment methods for a merchant.
var ErrGetMonthlyTotalAmountByApikeyFailed = errors.New("failed to get monthly total amount by API key")
ErrGetMonthlyTotalAmountByApikeyFailed indicates failure fetching monthly total amount by API key.
var ErrGetMonthlyTotalAmountByMerchantsFailed = errors.New("failed to get monthly total amount by merchants")
ErrGetMonthlyTotalAmountByMerchantsFailed indicates failure fetching monthly total amount for all merchants.
var ErrGetMonthlyTotalAmountMerchantFailed = errors.New("failed to get monthly total amount of merchant")
ErrGetMonthlyTotalAmountMerchantFailed indicates failure fetching monthly total amount for a merchant.
var ErrGetYearlyAmountByApikeyFailed = errors.New("failed to get yearly amount by API key")
ErrGetYearlyAmountByApikeyFailed indicates failure fetching yearly amount by API key.TotalAmount
var ErrGetYearlyAmountByMerchantsFailed = errors.New("failed to get yearly amount by merchants")
ErrGetYearlyAmountByMerchantsFailed indicates failure fetching yearly amount for all merchants.
var ErrGetYearlyAmountMerchantFailed = errors.New("failed to get yearly amount of merchant")
ErrGetYearlyAmountMerchantFailed indicates failure fetching yearly amount for a merchant.
var ErrGetYearlyPaymentMethodByApikeyFailed = errors.New("failed to get yearly payment method by API key")
ErrGetYearlyPaymentMethodByApikeyFailed indicates failure fetching yearly payment methods by API key.
var ErrGetYearlyPaymentMethodByMerchantsFailed = errors.New("failed to get yearly payment method by merchants")
ErrGetYearlyPaymentMethodByMerchantsFailed indicates failure fetching yearly payment methods for all merchants.
var ErrGetYearlyPaymentMethodMerchantFailed = errors.New("failed to get yearly payment method of merchant")
ErrGetYearlyPaymentMethodMerchantFailed indicates failure fetching yearly payment methods for a merchant.
var ErrGetYearlyTotalAmountByApikeyFailed = errors.New("failed to get yearly total amount by API key")
ErrGetYearlyTotalAmountByApikeyFailed indicates failure fetching yearly total amount by API key.
var ErrGetYearlyTotalAmountByMerchantsFailed = errors.New("failed to get yearly total amount by merchants")
ErrGetYearlyTotalAmountByMerchantsFailed indicates failure fetching yearly total amount for all merchants.
var ErrGetYearlyTotalAmountMerchantFailed = errors.New("failed to get yearly total amount of merchant")
ErrGetYearlyTotalAmountMerchantFailed indicates failure fetching yearly total amount for a merchant.
var ErrRestoreAllMerchantFailed = errors.New("failed to restore all merchants")
ErrRestoreAllMerchantFailed indicates failure when restoring all trashed merchants.
var ErrRestoreMerchantFailed = errors.New("failed to restore merchant")
ErrRestoreMerchantFailed indicates failure when restoring a trashed merchant.
var ErrTrashedMerchantFailed = errors.New("failed to soft-delete (trash) merchant")
ErrTrashedMerchantFailed indicates failure when soft-deleting a merchant.
var ErrUpdateMerchantFailed = errors.New("failed to update merchant")
ErrUpdateMerchantFailed indicates failure when updating a merchant.
var ErrUpdateMerchantStatusFailed = errors.New("failed to update merchant status")
ErrUpdateMerchantStatusFailed indicates failure when updating merchant status.
Functions ¶
This section is empty.
Types ¶
This section is empty.