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); }
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); }