public class Commerce extends Object
Modifier | Constructor and Description |
---|---|
protected |
Commerce(Faker faker) |
Modifier and Type | Method and Description |
---|---|
String |
color() |
String |
department() |
String |
material() |
String |
price()
Generate a random price between 0.00 and 100.00
|
String |
price(double min,
double max) |
String |
productName() |
String |
promotionCode() |
String |
promotionCode(int digits) |
protected Commerce(Faker faker)
public String color()
public String department()
public String productName()
public String material()
public String price()
public String price(double min, double max)
public String promotionCode()
public String promotionCode(int digits)
Copyright © 2019. All rights reserved.