Export: Refactor interfaces and classes

This commit is contained in:
2023-09-07 00:44:28 +02:00
parent be734b880f
commit f9d95a48f2
8 changed files with 163 additions and 36 deletions

View File

@ -0,0 +1,14 @@
using Elwig.Models;
namespace Elwig.Helpers.Billing {
public class Transaction {
public readonly Member Member;
public readonly int AmountCent;
public Transaction(Member m, decimal amount) {
Member = m;
AmountCent = (int)(amount * 100);
}
}
}