Class FeedPricesDelete


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class FeedPricesDelete
    extends Object
    Delete product price information.
    • Constructor Detail

      • FeedPricesDelete

        public FeedPricesDelete()
    • Method Detail

      • getSku

        @Nonnull
        public String getSku()
        Product SKU
        Returns:
        sku
      • setSku

        public void setSku​(String sku)
      • getPriceBookId

        @Nonnull
        public String getPriceBookId()
        Price book id
        Returns:
        priceBookId
      • setPriceBookId

        public void setPriceBookId​(String priceBookId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to FeedPricesDelete
      • fromJson

        public static FeedPricesDelete fromJson​(String jsonString)
                                         throws IOException
        Create an instance of FeedPricesDelete given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of FeedPricesDelete
        Throws:
        IOException - if the JSON string is invalid with respect to FeedPricesDelete
      • toJson

        public String toJson()
        Convert an instance of FeedPricesDelete to an JSON string
        Returns:
        JSON string