Faker C++
Loading...
Searching...
No Matches
commerce.h File Reference
#include <string>
#include <string_view>
#include "faker-cxx/export.h"
Include dependency graph for commerce.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  faker
 
namespace  faker::commerce
 

Functions

FAKER_CXX_EXPORT std::string_view faker::commerce::department ()
 Returns a random commerce department.
 
FAKER_CXX_EXPORT std::string faker::commerce::sku (unsigned length=4)
 Generates a random sku by default only with digits.
 
FAKER_CXX_EXPORT std::string_view faker::commerce::productAdjective ()
 Returns a random product adjective.
 
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 faker::commerce::productFullName ()
 Returns a random product full name.
 
FAKER_CXX_EXPORT std::string faker::commerce::EAN13 ()
 Returns a random valid ean13 code.
 
FAKER_CXX_EXPORT std::string faker::commerce::EAN8 ()
 Returns a random valid ean8 code.
 
FAKER_CXX_EXPORT std::string faker::commerce::ISBN13 ()
 Returns a random valid isbn13 code.
 
FAKER_CXX_EXPORT std::string faker::commerce::ISBN10 ()
 Returns a random valid ISBN10 code.
 
FAKER_CXX_EXPORT std::string_view faker::commerce::paymentType ()
 Returns a random payment type.
 
FAKER_CXX_EXPORT std::string_view faker::commerce::paymentProvider ()
 Returns a random payment provider.
 
FAKER_CXX_EXPORT std::string_view faker::commerce::productDescription ()
 Returns a random product description.
 
FAKER_CXX_EXPORT std::string_view faker::commerce::productCategory ()
 Returns a random product category.
 
FAKER_CXX_EXPORT std::string_view faker::commerce::productReview ()
 Returns a random product review.
 
FAKER_CXX_EXPORT std::string_view faker::commerce::discountType ()
 Returns a random discount type.
 
FAKER_CXX_EXPORT std::string_view faker::commerce::orderStatus ()
 Returns a random order status.
 
FAKER_CXX_EXPORT std::string_view faker::commerce::shippingCarrier ()
 Returns a random shipping carrier.