public static PartyOrAccountReference Create(string href) { var partyOrTradeSideReference = new PartyOrAccountReference { href = href }; return(partyOrTradeSideReference); }
public static Payment Create(string identifier, PartyOrAccountReference payerPartyReference, PartyOrAccountReference receiverPartyReference, Money paymentAmount, AdjustableDate paymentDate, SettlementInformation settlementInformation, PaymentType paymentType, decimal discountFactor, Money presentValueAmount) { var payment = new Payment { discountFactor = discountFactor, discountFactorSpecified = true, href = identifier, payerPartyReference = payerPartyReference, paymentAmount = paymentAmount, paymentDate = paymentDate, paymentType = paymentType, presentValueAmount = presentValueAmount, receiverPartyReference = receiverPartyReference, settlementInformation = settlementInformation }; return(payment); }