Exemplo n.º 1
0
        //<-- EGE-62034 : Revamp - CCE - Change Financial flow update


        //>>EGE-76833 : [BO] Lodged Card - First card rejected on 1€ check
        /// <summary>
        /// Set wheter or not we need to do online validation
        /// </summary>
        /// <param name="value">CardOnlineValidations</param>
        public void SetOnlineValidation(string value)
        {
            switch (value)
            {
            case CARD_ONLINE_ZERO_VALIDATION:
                this.OnlineValidation = CardOnlineValidations.ZERO_AMOUNT;
                break;

            case CARD_ONLINE_ONE_VALIDATION:
                this.OnlineValidation = CardOnlineValidations.ONE_AMOUNT;
                break;

            default:
                this.OnlineValidation = CardOnlineValidations.NO_VALIDATION;
                break;
            }
        }
Exemplo n.º 2
0
        //<< EGE-79826 - [BO] Lodge Card - First card Enhancement

        public CardInfos()
        {
            // Initialisation
            this.CardValid        = false;
            this.CardType         = string.Empty;
            this.ShortCardType    = string.Empty;
            this.TruncatedPAN     = string.Empty;
            this.Card1            = string.Empty;
            this.Card2            = string.Empty;
            this.Card3            = string.Empty;
            this.Card4            = string.Empty;
            this.Card5            = string.Empty;
            this.NavisionCardType = string.Empty;
            //--> EGE-62034 : Revamp - CCE - Change Financial flow update
            //this.NavisionCardLabel = string.Empty;
            this.NavisionFinancialFlow = string.Empty;
            this.NavisionEnhancedFlow  = string.Empty;
            //<-- EGE-62034 : Revamp - CCE - Change Financial flow update
            this.Cvc                   = string.Empty;
            this.Token                 = String.Empty;
            this.ExpirationDate        = Const.EmptyDate;
            this.ShortExpirationDate   = string.Empty;
            this.NavisionTransactional = 0;
            this.NavisionStatus        = NavisionCardStatusValid;
            this.NavisionFictiveBTA    = 0;
            this.NavisionSharingType   = NavisionSharingTypeCorporate;
            this.Description           = string.Empty;
            this.MII                   = -1;
            this.MIIIssuerCategory     = string.Empty;
            this.InformationCode       = string.Empty;
            this.InformationMessage    = string.Empty;

            this.BibitValidFromCache     = false;
            this.BibitValidFromCacheDate = Const.EmptyDate;
            //>>EGE-76833 : [BO] Lodged Card - First card rejected on 1€ check
            this.OnlineValidation = CardOnlineValidations.NO_VALIDATION;
            //<<EGE-76833 : [BO] Lodged Card - First card rejected on 1€ check

            //>> EGE-79826 - [BO] Lodge Card - First card Enhancement
            this.FirstCardReference = string.Empty;
            //<< EGE-79826 - [BO] Lodge Card - First card Enhancement
        }