20 lines
496 B
C#
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;
|
|||
|
}
|
|||
|
}
|