aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces.ts')
-rw-r--r--src/interfaces.ts12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/interfaces.ts b/src/interfaces.ts
index 3500c2b..b2f354c 100644
--- a/src/interfaces.ts
+++ b/src/interfaces.ts
@@ -34,12 +34,22 @@ export interface NewItem {
// category and brand
}
+export interface Address {
+ AddressLine: string
+ City: string
+ State: string
+ PINCode: string
+ Country: string
+}
+
export interface Person {
ID?: number
Name: string
- Address: string
Phone?: string
Email?: string
+ BillAddress: Address
+ ShipAddress?: Address
+ Address?: string // to be removed
}
export interface Invoice {