Vendor

public abstract class Vendor extends Object

Defines Vendor type of the Gear.

Constructors

Name Description
public Vendor()

Methods

id

public abstract String id()

Unique identifier of the Vendor.

ReturnValue

Name Description
String

name

public abstract String name()

Name of the Vendor.

ReturnValue

Name Description
String

products

public abstract List<Product> products()

List of products for this vendor.

ReturnValue

Name Description
List<Product>

of

public static Vendor of(String id, String name, List<Product> products)

Parameters

Name Description
String id
String name
List<Product> products

ReturnValue

Name Description
Vendor