summary checkout

This commit is contained in:
2025-07-02 15:55:13 +02:00
parent 90e1d70f64
commit 5d59059474
7 changed files with 581 additions and 174 deletions

View File

@ -30,3 +30,42 @@ export interface UserAddressOfficial {
}
}
}
export interface Payment {
bank_name: string;
city: string;
country_account_number: string;
country_iso: string;
country_name: string;
currency_iso: string;
iban: string;
id: number;
postcode: string;
street_and_number: string;
swift: string;
}
export interface CheckoutOrder {
cart_id: number;
currency_iso: string;
customer_id: number;
delivery_details: {
address: Address;
contact_email: string;
contact_phone_number: string;
delivery_option_id: number;
note: string;
};
payment_bank_account_id: number;
}
export interface Address {
city: string;
country_iso: {
str: string;
};
name: string;
postcode: string;
street: string;
surname: string;
}