Esempio n. 1
0
        public void CardSenderToReceiverInformationTest()
        {
            try
            {
                var field = new CardSenderToReceiverInformation(
                    beneficiaryPhone: new PhoneData(Enums.CountryPhoneCode.CHN, "123456789"));

                string result, message;
                Assert.IsTrue(field.Check(out result, out message));
            }
            catch (Exception e)
            {
                Assert.Fail(e.ToString());
            }
        }
Esempio n. 2
0
 public MessageA(
     Amount amount,
     Sender sender,
     CardBeneficiary beneficiary,
     CardSenderToReceiverInformation senderToReceiverInformation)
     : base
     (
         new TransactionNumber(),
         amount,
         new BankOperationCode(),
         sender,
         new HeadSwiftCode(),
         new CardBranchSwiftCode(),
         beneficiary,
         new CardPaymentInformation(),
         new ExpensesDetail(),
         senderToReceiverInformation)
 {
 }