public class Code extends Object
Modifier and Type | Method and Description |
---|---|
String |
asin() |
String |
ean13() |
String |
ean8() |
String |
gtin13() |
String |
gtin8() |
String |
imei() |
String |
isbn10() |
String |
isbn10(boolean separator) |
String |
isbn13() |
String |
isbn13(boolean separator) |
String |
isbnGroup()
This can be overridden by specifying
code:
isbn_group: "some expression"
in the appropriate yml file. |
String |
isbnGs1()
This can be overridden by specifying
code:
isbn_gs1: "some expression"
in the appropriate yml file. |
String |
isbnRegistrant()
This can be overridden by specifying
code:
isbn_registrant: "some expression"
in the appropriate yml file. |
protected Code(Faker faker)
public String isbnGs1()
code:
isbn_gs1: "some expression"
in the appropriate yml file.public String isbnGroup()
code:
isbn_group: "some expression"
in the appropriate yml file.public String isbnRegistrant()
code:
isbn_registrant: "some expression"
in the appropriate yml file.public String isbn10()
public String isbn10(boolean separator)
separator
- true if you want separators returned, false otherwisepublic String isbn13()
public String isbn13(boolean separator)
separator
- true if you want separators returned, false otherwisepublic String asin()
public String imei()
public String ean8()
public String gtin8()
public String ean13()
public String gtin13()
Copyright © 2019. All rights reserved.