ncdengine/inc/ncdpaymentmethod.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   Payment method interface definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_NCD_PAYMENT_METHOD_H
       
    20 #define M_NCD_PAYMENT_METHOD_H
       
    21 
       
    22 #include "ncdinterfaceids.h"
       
    23 
       
    24 
       
    25 /**
       
    26  *  Describes a payment method.
       
    27  *
       
    28  *  Each purchasable item may have one or more of these.
       
    29  *
       
    30  *  @note namespace named as MNcdPaymentMethod for compatibility with current code
       
    31  *  and to make it possible to convert this to an actual interface in the future
       
    32  */
       
    33 namespace MNcdPaymentMethod
       
    34     {
       
    35     
       
    36     /**
       
    37      * Unique identifier for the interface, required for all MCatalogsBase interfaces.
       
    38      *
       
    39      * 
       
    40      */
       
    41     enum { KInterfaceUid = ENcdPaymentMethodUid };
       
    42 
       
    43 
       
    44     /** 
       
    45      * TNcdNodePaymentMethod defines the ways that can be used 
       
    46      * to pay the node items.
       
    47      *
       
    48      * 
       
    49      */
       
    50     enum TNcdPaymentMethodType
       
    51         {
       
    52         /** Payment method is credit card. */
       
    53         EPaymentCreditCard,
       
    54 
       
    55         /** Payment method is direct. */        
       
    56         EPaymentDirect,
       
    57 
       
    58         /** Payment method is SMS. */
       
    59         EPaymentSms,
       
    60 
       
    61         /**  Payment method is custom. */        
       
    62         EPaymentCustom
       
    63         };
       
    64 
       
    65     }
       
    66 	
       
    67 	
       
    68 #endif //  M_NCD_PAYMENT_METHOD_H