edjournal/RedeemVoucherEntry.cs

14 lines
373 B
C#

namespace EDJournal {
public class RedeemVoucherEntry : Entry {
private int amount = 0;
private string type = null;
protected override void Initialise() {
amount = JSON.Value<int>("Amount");
type = JSON.Value<string>("Type");
}
public int Amount => amount;
public string Type => type;
}
}