Faker C++
|
Functions | |
FAKER_CXX_EXPORT std::string_view | department () |
Returns a random commerce department. | |
FAKER_CXX_EXPORT std::string | sku (unsigned length=4) |
Generates a random sku by default only with digits. | |
FAKER_CXX_EXPORT std::string_view | productAdjective () |
Returns a random product adjective. | |
FAKER_CXX_EXPORT std::string_view | productMaterial () |
Returns a random product material. | |
FAKER_CXX_EXPORT std::string_view | productName () |
Returns a random product short name. | |
FAKER_CXX_EXPORT std::string | productFullName () |
Returns a random product full name. | |
FAKER_CXX_EXPORT std::string | EAN13 () |
Returns a random valid ean13 code. | |
FAKER_CXX_EXPORT std::string | EAN8 () |
Returns a random valid ean8 code. | |
FAKER_CXX_EXPORT std::string | ISBN13 () |
Returns a random valid isbn13 code. | |
FAKER_CXX_EXPORT std::string | ISBN10 () |
Returns a random valid ISBN10 code. | |
FAKER_CXX_EXPORT std::string_view | paymentType () |
Returns a random payment type. | |
FAKER_CXX_EXPORT std::string_view | paymentProvider () |
Returns a random payment provider. | |
FAKER_CXX_EXPORT std::string_view | productDescription () |
Returns a random product description. | |
FAKER_CXX_EXPORT std::string_view | productCategory () |
Returns a random product category. | |
FAKER_CXX_EXPORT std::string_view | productReview () |
Returns a random product review. | |
FAKER_CXX_EXPORT std::string_view | discountType () |
Returns a random discount type. | |
FAKER_CXX_EXPORT std::string_view | orderStatus () |
Returns a random order status. | |
FAKER_CXX_EXPORT std::string_view | shippingCarrier () |
Returns a random shipping carrier. | |
FAKER_CXX_EXPORT std::string_view faker::commerce::department | ( | ) |
Returns a random commerce department.
FAKER_CXX_EXPORT std::string_view faker::commerce::discountType | ( | ) |
Returns a random discount type.
FAKER_CXX_EXPORT std::string faker::commerce::EAN13 | ( | ) |
FAKER_CXX_EXPORT std::string faker::commerce::EAN8 | ( | ) |
FAKER_CXX_EXPORT std::string faker::commerce::ISBN10 | ( | ) |
FAKER_CXX_EXPORT std::string faker::commerce::ISBN13 | ( | ) |
Returns a random valid isbn13 code.
FAKER_CXX_EXPORT std::string_view faker::commerce::orderStatus | ( | ) |
Returns a random order status.
FAKER_CXX_EXPORT std::string_view faker::commerce::paymentProvider | ( | ) |
Returns a random payment provider.
FAKER_CXX_EXPORT std::string_view faker::commerce::paymentType | ( | ) |
Returns a random payment type.
FAKER_CXX_EXPORT std::string_view faker::commerce::productAdjective | ( | ) |
Returns a random product adjective.
FAKER_CXX_EXPORT std::string_view faker::commerce::productCategory | ( | ) |
Returns a random product category.
FAKER_CXX_EXPORT std::string_view faker::commerce::productDescription | ( | ) |
Returns a random product description.
FAKER_CXX_EXPORT std::string faker::commerce::productFullName | ( | ) |
Returns a random product full name.
FAKER_CXX_EXPORT std::string_view faker::commerce::productMaterial | ( | ) |
Returns a random product material.
FAKER_CXX_EXPORT std::string_view faker::commerce::productName | ( | ) |
Returns a random product short name.
FAKER_CXX_EXPORT std::string_view faker::commerce::productReview | ( | ) |
Returns a random product review.
FAKER_CXX_EXPORT std::string_view faker::commerce::shippingCarrier | ( | ) |
Returns a random shipping carrier.
FAKER_CXX_EXPORT std::string faker::commerce::sku | ( | unsigned | length = 4 | ) |
Generates a random sku by default only with digits.
length | The length of the sku. |