public static class UniversalProductCode.Builder extends Object
UniversalProductCode.| Constructor and Description |
|---|
Builder()
Initialization constructor.
|
Builder(UpcType type,
String code)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UniversalProductCode |
build()
Builds a new
UniversalProductCode object using the set fields. |
UniversalProductCode.Builder |
code(String code)
Setter for code.
|
UniversalProductCode.Builder |
type(UpcType type)
Setter for type.
|
public UniversalProductCode.Builder type(UpcType type)
type - UpcType value for type.public UniversalProductCode.Builder code(String code)
code - String value for code.public UniversalProductCode build()
UniversalProductCode object using the set fields.UniversalProductCodeCopyright © 2025. All rights reserved.