public static class MarketSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MarketSummary.Builder |
billToCountries(List<String> billToCountries)
Bill to countries for the market.
|
MarketSummary |
build() |
MarketSummary.Builder |
categoryCode(String categoryCode)
The category code for the market.
|
MarketSummary.Builder |
code(String code)
The code of the product.
|
MarketSummary.Builder |
copy(MarketSummary model) |
MarketSummary.Builder |
lifecycleState(Market.LifecycleState lifecycleState)
The current state for the market.
|
MarketSummary.Builder |
name(String name)
The name of the product.
|
MarketSummary.Builder |
timeCreated(Date timeCreated)
The date and time the market was created, in the format defined by
RFC3339.
|
MarketSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the market was updated, in the format defined by
RFC3339.
|
public MarketSummary.Builder name(String name)
The name of the product.
name
- the value to setpublic MarketSummary.Builder code(String code)
The code of the product.
code
- the value to setpublic MarketSummary.Builder categoryCode(String categoryCode)
The category code for the market.
categoryCode
- the value to setpublic MarketSummary.Builder billToCountries(List<String> billToCountries)
Bill to countries for the market.
billToCountries
- the value to setpublic MarketSummary.Builder lifecycleState(Market.LifecycleState lifecycleState)
The current state for the market.
lifecycleState
- the value to setpublic MarketSummary.Builder timeCreated(Date timeCreated)
The date and time the market was created, in the format defined by RFC3339.
Example: 2022-09-15T21:10:29.600Z
timeCreated
- the value to setpublic MarketSummary.Builder timeUpdated(Date timeUpdated)
The date and time the market was updated, in the format defined by RFC3339.
Example: 2022-09-15T21:10:29.600Z
timeUpdated
- the value to setpublic MarketSummary build()
public MarketSummary.Builder copy(MarketSummary model)
Copyright © 2016–2024. All rights reserved.