Class Market.Builder

  • Enclosing class:
    Market

    public static class Market.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public Market.Builder name​(String name)
        The name of the market.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • code

        public Market.Builder code​(String code)
        The code of the market.
        Parameters:
        code - the value to set
        Returns:
        this builder
      • categoryCode

        public Market.Builder categoryCode​(String categoryCode)
        The category code of the market.
        Parameters:
        categoryCode - the value to set
        Returns:
        this builder
      • realmCode

        public Market.Builder realmCode​(String realmCode)
        The realm code of the market.
        Parameters:
        realmCode - the value to set
        Returns:
        this builder
      • billToCountries

        public Market.Builder billToCountries​(List<String> billToCountries)
        bill to countries for the market.
        Parameters:
        billToCountries - the value to set
        Returns:
        this builder
      • lifecycleState

        public Market.Builder lifecycleState​(Market.LifecycleState lifecycleState)
        The current state for the market.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeCreated

        public Market.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

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public Market.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

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • build

        public Market build()