Class OrdersGetAmountQuery

    • Constructor Detail

      • OrdersGetAmountQuery

        public OrdersGetAmountQuery​(VkApiClient client,
                                    UserActor actor,
                                    int userId,
                                    java.lang.String... votes)
        Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
        Parameters:
        client - VK API client
        actor - actor with access token
        userId - value of "user id" parameter. Minimum is 1.
        votes - value of "votes" parameter.
      • OrdersGetAmountQuery

        public OrdersGetAmountQuery​(VkApiClient client,
                                    UserActor actor,
                                    int userId,
                                    java.util.List<java.lang.String> votes)
        Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
        Parameters:
        client - VK API client
        actor - actor with access token
        userId - value of "user id" parameter. Minimum is 1.
        votes - value of "votes" parameter.
    • Method Detail

      • userId

        protected OrdersGetAmountQuery userId​(int value)
        Set user id
        Parameters:
        value - value of "user id" parameter. Minimum is 1.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • votes

        protected OrdersGetAmountQuery votes​(java.lang.String... value)
        votes Set votes
        Parameters:
        value - value of "votes" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • votes

        protected OrdersGetAmountQuery votes​(java.util.List<java.lang.String> value)
        Set votes
        Parameters:
        value - value of "votes" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.