Faker.Commerce.Hy (Faker v0.16.0) View Source

Fuctions for generating commerce related data in Armenian

Link to this section Summary

Functions

Returns a random color.

Returns a random department.

Returns a complete product name, based on product adjectives, product materials and product names.

Returns a random adjective for a product.

Returns a random product material.

Returns a random product name.

Link to this section Functions

Specs

color() :: String.t()

Returns a random color.

Examples

iex> Faker.Commerce.Hy.color()
"մոխրագույն"
iex> Faker.Commerce.Hy.color()
"կանաչ"
iex> Faker.Commerce.Hy.color()
"երկնագույն"
iex> Faker.Commerce.Hy.color()
"մանուշակագույն"

Specs

department() :: String.t()

Returns a random department.

Examples

iex> Faker.Commerce.Hy.department()
"Համակարգիչներ"
iex> Faker.Commerce.Hy.department()
"Երաժշտություն"
iex> Faker.Commerce.Hy.department()
"Գրքեր"
iex> Faker.Commerce.Hy.department()
"Էլեկտրոնիկա"

Specs

product_name() :: String.t()

Returns a complete product name, based on product adjectives, product materials and product names.

Examples

iex> Faker.Commerce.Hy.product_name()
"հիանալի բրոնզե գլխարկ"
iex> Faker.Commerce.Hy.product_name()
"ֆանտաստիկ դանակ"
iex> Faker.Commerce.Hy.product_name()
"պլաստիկից աթոռ"
iex> Faker.Commerce.Hy.product_name()
"ալյումինե վերնաշապիկ"
Link to this function

product_name_adjective()

View Source

Specs

product_name_adjective() :: String.t()

Returns a random adjective for a product.

Examples

iex> Faker.Commerce.Hy.product_name_adjective()
"ֆանտաստիկ"
iex> Faker.Commerce.Hy.product_name_adjective()
"հիանալի"
iex> Faker.Commerce.Hy.product_name_adjective()
"միջակ"
iex> Faker.Commerce.Hy.product_name_adjective()
"նրբագեղ"

Specs

product_name_material() :: String.t()

Returns a random product material.

Examples

iex> Faker.Commerce.Hy.product_name_material()
"փայտե"
iex> Faker.Commerce.Hy.product_name_material()
"գրանիտե"
iex> Faker.Commerce.Hy.product_name_material()
"բրոնզե"
iex> Faker.Commerce.Hy.product_name_material()
"մարմարե"

Specs

product_name_product() :: String.t()

Returns a random product name.

Examples

iex> Faker.Commerce.Hy.product_name_product()
"վերնաշապիկ"
iex> Faker.Commerce.Hy.product_name_product()
"ստեղնաշար"
iex> Faker.Commerce.Hy.product_name_product()
"վերնաշապիկ"
iex> Faker.Commerce.Hy.product_name_product()
"գլխարկ"