/* * Copyright 2024. Huawei Technologies Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package notification type NotificationType = string type SubNotificationType = string const ( DID_NEW_TRANSACTION NotificationType = "DID_NEW_TRANSACTION" DID_CHANGE_RENEWAL_STATUS NotificationType = "DID_CHANGE_RENEWAL_STATUS" REVOKE NotificationType = "REVOKE" RENEWAL_TIME_MODIFIED NotificationType = "RENEWAL_TIME_MODIFIED" EXPIRE NotificationType = "EXPIRE" SYNC NotificationType = "SYNC" INITIAL_BUY SubNotificationType = "INITIAL_BUY" DID_RENEW SubNotificationType = "DID_RENEW" RESTORE SubNotificationType = "RESTORE" AUTO_RENEW_ENABLED SubNotificationType = "AUTO_RENEW_ENABLED" AUTO_RENEW_DISABLED SubNotificationType = "AUTO_RENEW_DISABLED" DOWNGRADE SubNotificationType = "DOWNGRADE" UPGRADE SubNotificationType = "UPGRADE" REFUND_TRANSACTION SubNotificationType = "REFUND_TRANSACTION" BILLING_RETRY SubNotificationType = "BILLING_RETRY" PRICE_INCREASE SubNotificationType = "PRICE_INCREASE" BILLING_RECOVERY SubNotificationType = "BILLING_RECOVERY" PRODUCT_NOT_FOR_SALE SubNotificationType = "PRODUCT_NOT_FOR_SALE" APPLICATION_DELETE_SUBSCRIPTION_HOSTING SubNotificationType = "APPLICATION_DELETE_SUBSCRIPTION_HOSTING" RENEWAL_EXTENDED SubNotificationType = "RENEWAL_EXTENDED" )