2022-12-26 07:08:14 +00:00
|
|
|
package subject
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
// getSegmentValue ...
|
|
|
|
func getProductValue(val string) string {
|
|
|
|
return fmt.Sprintf("%s.%s", prefixes.Product, val)
|
|
|
|
}
|
|
|
|
|
|
|
|
var Product = struct {
|
2024-07-05 04:47:41 +00:00
|
|
|
ApplyRequest string
|
|
|
|
CreateRequestStep string
|
|
|
|
ProcessApplyRequest string
|
|
|
|
RequestChangeStatus string
|
|
|
|
WebhookStockUpdate string // WebhookStockUpdate Kiotviet queue
|
|
|
|
OPWebhookStockUpdate string // OPWebhookStockUpdate Onpoint queue
|
|
|
|
OrderPaymentBankTransferWebhookCheckAndUpdateStatus string
|
2022-12-26 07:08:14 +00:00
|
|
|
}{
|
2024-04-08 04:40:10 +00:00
|
|
|
ApplyRequest: getProductValue("apply_request"),
|
|
|
|
CreateRequestStep: getProductValue("create_request_step"),
|
|
|
|
ProcessApplyRequest: getProductValue("process_apply_request"),
|
|
|
|
RequestChangeStatus: getProductValue("request_change_status"),
|
|
|
|
WebhookStockUpdate: getProductValue("webhook_stock_update"),
|
|
|
|
OPWebhookStockUpdate: getProductValue("op_webhook_stock_update"),
|
2024-07-05 04:47:41 +00:00
|
|
|
OrderPaymentBankTransferWebhookCheckAndUpdateStatus: getProductValue("order_payment_bank_transfer_webhook_check_and_update_status"),
|
2022-12-26 07:08:14 +00:00
|
|
|
}
|