@webshop/root - v1.0.0
HBO-ICT Knowledgebase
HBO-ICT.Cloud
Preparing search index...
api/src/services/AddressService
AddressService
Class AddressService
Index
Constructors
constructor
Properties
_
country
Codes
_
database
Service
Methods
_
async
Set
Up
_
check
If
Async
Is
Loaded
add
Address
To
Customer
country
Name
To
Code
get
Address
update
Address
Constructors
constructor
new
AddressService
()
:
AddressService
Returns
AddressService
Properties
Private
_
country
Codes
_countryCodes
:
Country
[]
= []
Private
_
database
Service
_databaseService
:
DatabaseService
= ...
Methods
Private
_
async
Set
Up
_asyncSetUp
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Private
_
check
If
Async
Is
Loaded
_checkIfAsyncIsLoaded
()
:
Promise
<
void
>
Returns
Promise
<
void
>
add
Address
To
Customer
addAddressToCustomer
(
address
:
Address
)
:
Promise
<
void
>
Parameters
address
:
Address
Returns
Promise
<
void
>
country
Name
To
Code
countryNameToCode
(
countryName
:
string
)
:
Promise
<
string
>
Parameters
countryName
:
string
Returns
Promise
<
string
>
get
Address
getAddress
(
userId
:
number
)
:
Promise
<
Address
>
Parameters
userId
:
number
Returns
Promise
<
Address
>
update
Address
updateAddress
(
address
:
Address
)
:
Promise
<
void
>
Parameters
address
:
Address
Returns
Promise
<
void
>
Settings
Member Visibility
Private
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
country
Codes
_
database
Service
Methods
_
async
Set
Up
_
check
If
Async
Is
Loaded
add
Address
To
Customer
country
Name
To
Code
get
Address
update
Address
HBO-ICT Knowledgebase
HBO-ICT.Cloud
@webshop/root - v1.0.0
Loading...