@plentymarkets/shop-api / companyGetters
Variable: companyGetters ​
constcompanyGetters:object
Defined in: getters/companyGetters.ts:39
Type Declaration ​
getCity ​
getCity: (
company) =>string
Returns the city of the company.
Parameters ​
company ​
The company details object.
Returns ​
string
The city string, or an empty string if not set.
getEmail ​
getEmail: (
company) =>string
Returns the email address of the company.
Parameters ​
company ​
The company details object.
Returns ​
string
The email string, or an empty string if not set.
getName ​
getName: (
company) =>string
Returns the name of the company.
Parameters ​
company ​
The company details object.
Returns ​
string
The company name string, or an empty string if not set.
getStreet ​
getStreet: (
company) =>string
Returns the street address of the company.
Parameters ​
company ​
The company details object.
Returns ​
string
The street string, or an empty string if not set.