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

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

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






MonetaryAmount (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class MonetaryAmount

    • Constructor Detail

      • MonetaryAmount

        public MonetaryAmount()
    • Method Detail

      • getPriceAmount

        public Price getPriceAmount()
        The pre-tax or post-tax price depends on the location of the order. - For countries (for example, "US". where price attribute excludes tax, this field corresponds to the pre-tax value. - For coutries (for example, "France") where price attribute includes tax, this field corresponds to the post-tax value .
        Returns:
        value or null for none
      • setPriceAmount

        public MonetaryAmount setPriceAmount(Price priceAmount)
        The pre-tax or post-tax price depends on the location of the order. - For countries (for example, "US". where price attribute excludes tax, this field corresponds to the pre-tax value. - For coutries (for example, "France") where price attribute includes tax, this field corresponds to the post-tax value .
        Parameters:
        priceAmount - priceAmount or null for none
      • getTaxAmount

        public Price getTaxAmount()
        Tax value, present only for countries where price attribute excludes tax (for example, "US". No tax is referenced as 0 value with the corresponding `currency`.
        Returns:
        value or null for none
      • setTaxAmount

        public MonetaryAmount setTaxAmount(Price taxAmount)
        Tax value, present only for countries where price attribute excludes tax (for example, "US". No tax is referenced as 0 value with the corresponding `currency`.
        Parameters:
        taxAmount - taxAmount or null for none
      • set

        public MonetaryAmount set(String fieldName,
                                  Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public MonetaryAmount clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy