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