Archived
1
0
This repository has been archived on 2021-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
nonabgs/Journal/RedeemVoucherEntry.cs

20 lines
496 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NonaBGS.Journal {
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;
}
}