/*
 * Copyright 2010-2013 Ning, Inc.
 *
 * Ning licenses this file to you 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 org.killbill.billing.tenant.api;

import org.killbill.billing.util.entity.Entity;

public interface TenantKV extends Entity {

    public String getKey();

    public String getValue();

    public enum TenantKey {
        // Key for push notification callback
        PUSH_NOTIFICATION_CB,
        // Catalog Key
        CATALOG,
        // Overdue Configuration Key
        OVERDUE_CONFIG,
        // Invoice Translation Key Prefix
        INVOICE_TRANSLATION_,
        // Catalog Translation Key Prefix
        CATALOG_TRANSLATION_,
        // Invoice Template Key
        INVOICE_TEMPLATE,
        // Invoice Template ManualPay Key
        INVOICE_MP_TEMPLATE,
    }
}

@@ -840,16 +840,17 @@
 ntKey %7B%0A
+%0A
         
@@ -915,16 +915,22 @@
 ATION_CB
+(true)
 ,%0A      
@@ -961,16 +961,23 @@
  CATALOG
+(false)
 ,%0A      
@@ -1029,16 +1029,22 @@
 E_CONFIG
+(true)
 ,%0A      
@@ -1099,32 +1099,38 @@
 ICE_TRANSLATION_
+(true)
 ,%0A        // Cat
@@ -1185,16 +1185,22 @@
 SLATION_
+(true)
 ,%0A      
@@ -1245,24 +1245,30 @@
 ICE_TEMPLATE
+(true)
 ,%0A        //
@@ -1326,17 +1326,308 @@
 TEMPLATE
-,
+(true),%0A        // Plugin config%0A        PLUGIN_CONFIG_(true);%0A%0A        private final boolean singleValue;%0A%0A        TenantKey(final boolean singleValue) %7B%0A            this.singleValue = singleValue;%0A        %7D%0A%0A        public boolean isSingleValue() %7B%0A            return singleValue;%0A        %7D
 %0A    %7D%0A%7D

Add new PLUGIN_CONFIG_ TenantKey