All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.PosSaleRequest.html Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






PosSaleRequest (Content API for Shopping v2.1-rev20210325-1.31.0)












com.google.api.services.content.model

Class PosSaleRequest

    • Constructor Detail

      • PosSaleRequest

        public PosSaleRequest()
    • Method Detail

      • getContentLanguage

        public String getContentLanguage()
        Required. The two-letter ISO 639-1 language code for the item.
        Returns:
        value or null for none
      • setContentLanguage

        public PosSaleRequest setContentLanguage(String contentLanguage)
        Required. The two-letter ISO 639-1 language code for the item.
        Parameters:
        contentLanguage - contentLanguage or null for none
      • getGtin

        public String getGtin()
        Global Trade Item Number.
        Returns:
        value or null for none
      • setGtin

        public PosSaleRequest setGtin(String gtin)
        Global Trade Item Number.
        Parameters:
        gtin - gtin or null for none
      • getItemId

        public String getItemId()
        Required. A unique identifier for the item.
        Returns:
        value or null for none
      • setItemId

        public PosSaleRequest setItemId(String itemId)
        Required. A unique identifier for the item.
        Parameters:
        itemId - itemId or null for none
      • getPrice

        public Price getPrice()
        Required. The price of the item.
        Returns:
        value or null for none
      • setPrice

        public PosSaleRequest setPrice(Price price)
        Required. The price of the item.
        Parameters:
        price - price or null for none
      • getQuantity

        public Long getQuantity()
        Required. The relative change of the available quantity. Negative for items returned.
        Returns:
        value or null for none
      • setQuantity

        public PosSaleRequest setQuantity(Long quantity)
        Required. The relative change of the available quantity. Negative for items returned.
        Parameters:
        quantity - quantity or null for none
      • getSaleId

        public String getSaleId()
        A unique ID to group items from the same sale event.
        Returns:
        value or null for none
      • setSaleId

        public PosSaleRequest setSaleId(String saleId)
        A unique ID to group items from the same sale event.
        Parameters:
        saleId - saleId or null for none
      • getStoreCode

        public String getStoreCode()
        Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
        Returns:
        value or null for none
      • setStoreCode

        public PosSaleRequest setStoreCode(String storeCode)
        Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
        Parameters:
        storeCode - storeCode or null for none
      • getTargetCountry

        public String getTargetCountry()
        Required. The CLDR territory code for the item.
        Returns:
        value or null for none
      • setTargetCountry

        public PosSaleRequest setTargetCountry(String targetCountry)
        Required. The CLDR territory code for the item.
        Parameters:
        targetCountry - targetCountry or null for none
      • getTimestamp

        public String getTimestamp()
        Required. The inventory timestamp, in ISO 8601 format.
        Returns:
        value or null for none
      • setTimestamp

        public PosSaleRequest setTimestamp(String timestamp)
        Required. The inventory timestamp, in ISO 8601 format.
        Parameters:
        timestamp - timestamp or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy