about summary refs log tree commit diff stats
path: root/src/Item
diff options
context:
space:
mode:
Diffstat (limited to 'src/Item')
-rw-r--r--src/Item/BudgetTransaction.php10
-rw-r--r--src/Item/RegisterTransaction.php15
2 files changed, 25 insertions, 0 deletions
diff --git a/src/Item/BudgetTransaction.php b/src/Item/BudgetTransaction.php
new file mode 100644
index 0000000..e4899f9
--- /dev/null
+++ b/src/Item/BudgetTransaction.php
@@ -0,0 +1,10 @@
+<?php
+
+namespace YnabLedger\Item;
+
+class BudgetTransaction {
+    public $date;
+    public $category = [];
+    public $in;
+    public $out;
+}
diff --git a/src/Item/RegisterTransaction.php b/src/Item/RegisterTransaction.php
new file mode 100644
index 0000000..b676640
--- /dev/null
+++ b/src/Item/RegisterTransaction.php
@@ -0,0 +1,15 @@
+<?php
+
+namespace YnabLedger\Item;
+
+class RegisterTransaction {
+    public $line;
+    public $account;
+    public $date;
+    public $payee;
+    public $category;
+    public $memo;
+    public $out;
+    public $in;
+    public $cleared = false;
+}