示例#1
0
        public void setFeeForCreditCardType(A_setBankCreditcardFee I)
        {
            Bank b = new Bank(I.bankId);

            accounting.classes.enums.ccCardType cccardType = accounting.classes.enums.ccCardType.MASTERCARD;
            switch (I.ccCardTypeId)
            {
            case 1:
                cccardType = accounting.classes.enums.ccCardType.MASTERCARD;
                break;

            case 2:
                cccardType = accounting.classes.enums.ccCardType.VISACARD;
                break;
            }

            b.setFeeForCreditCardType(cccardType, I.amount, I.description);
        }
示例#2
0
        public void setFeeForCreditCardType(A_setBankCreditcardFee I)
        {
            Bank b = new Bank(I.bankId);

            accounting.classes.enums.ccCardType cccardType = accounting.classes.enums.ccCardType.MASTERCARD;
            switch (I.ccCardTypeId)
            {
                case 1:
                    cccardType = accounting.classes.enums.ccCardType.MASTERCARD;
                    break;

                case 2:
                    cccardType = accounting.classes.enums.ccCardType.VISACARD;
                    break;
            }

            b.setFeeForCreditCardType(cccardType,I.amount, I.description);
        }