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