Preparing search index...
The search index is not available
customer-application
customer-application
app/cart/cart.component
CartComponent
Class CartComponent
Component that implements the cart page.
Index
Constructors
constructor
Properties
api
Error
email
error
error
Email
error
Empty
Cart
error
New
Order
error
Type
order
order
Types
type
ws
Methods
clean
Cart
format
Order
navigate
Menu
send
Order
total
Amount
validate
Email
Constructors
constructor
new
CartComponent
(
router
:
Router
,
notification
:
MatSnackBar
)
:
CartComponent
Parameters
router
:
Router
notification
:
MatSnackBar
Returns
CartComponent
Properties
api
Error
apiError
:
string
= ""
email
email
:
string
= ""
error
error
:
NotAvailableError
= ...
error
Email
errorEmail
:
boolean
= false
error
Empty
Cart
errorEmptyCart
:
boolean
= false
error
New
Order
errorNewOrder
:
boolean
= false
error
Type
errorType
:
boolean
= false
order
order
:
any
[]
= ...
order
Types
orderTypes
:
OrderType
[]
= ...
type
type
:
OrderType
ws
ws
:
WebSocket
Methods
clean
Cart
cleanCart
()
:
void
Returns
void
format
Order
formatOrder
()
:
any
[]
Returns
any
[]
navigate
Menu
navigateMenu
()
:
void
Returns
void
send
Order
sendOrder
()
:
void
Returns
void
total
Amount
totalAmount
(
cart
:
any
[]
)
:
number
Parameters
cart
:
any
[]
Returns
number
validate
Email
validateEmail
()
:
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
api
Error
email
error
error
Email
error
Empty
Cart
error
New
Order
error
Type
order
order
Types
type
ws
Methods
clean
Cart
format
Order
navigate
Menu
send
Order
total
Amount
validate
Email
customer-application
Loading...
Component that implements the cart page.