mirror of
https://github.com/KevinMidboe/planetposen-frontend.git
synced 2025-10-29 13:10:12 +00:00
Customer and Cart interfaces
This commit is contained in:
15
src/lib/interfaces/ICart.ts
Normal file
15
src/lib/interfaces/ICart.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export default interface ICart {
|
||||
client_id: string;
|
||||
cart_id: number;
|
||||
lineitem_id: number;
|
||||
quantity: number;
|
||||
sku_id: number;
|
||||
size: string;
|
||||
price: number;
|
||||
product_no: number;
|
||||
name: string;
|
||||
description: string;
|
||||
subtext: string;
|
||||
image: string;
|
||||
primary_color: string;
|
||||
}
|
||||
9
src/lib/interfaces/ICustomer.ts
Normal file
9
src/lib/interfaces/ICustomer.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export default interface ICustomer {
|
||||
city: string;
|
||||
customer_no?: string;
|
||||
email: string;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
street_address: string;
|
||||
zip_code: number;
|
||||
}
|
||||
Reference in New Issue
Block a user