예제 #1
0
 /// <summary>
 /// Returns a collection of <see cref="IInvoice"/>s this <see cref="IPayment"/> has been applied to
 /// </summary>
 /// <param name="payment">The <see cref="IPayment"/></param>
 /// <returns>A collection of <see cref="IInvoice"/></returns>
 public static IEnumerable <IInvoice> AppliedToInvoices(this IPayment payment)
 {
     return(payment.AppliedToInvoices(MerchelloContext.Current));
 }