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

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







OrdersCustomBatchRequestEntryRefundItemItem (Content API for Shopping v2.1-rev20210715-1.32.1)












com.google.api.services.content.model

Class OrdersCustomBatchRequestEntryRefundItemItem

    • Constructor Detail

      • OrdersCustomBatchRequestEntryRefundItemItem

        public OrdersCustomBatchRequestEntryRefundItemItem()
    • Method Detail

      • getAmount

        public MonetaryAmount getAmount()
        The total amount that is refunded. (e.g. refunding $5 each for 2 products should be done by setting quantity to 2 and amount to 10$) In case of multiple refunds, this should be the amount you currently want to refund to the customer.
        Returns:
        value or null for none
      • setAmount

        public OrdersCustomBatchRequestEntryRefundItemItem setAmount(MonetaryAmount amount)
        The total amount that is refunded. (e.g. refunding $5 each for 2 products should be done by setting quantity to 2 and amount to 10$) In case of multiple refunds, this should be the amount you currently want to refund to the customer.
        Parameters:
        amount - amount or null for none
      • getFullRefund

        public Boolean getFullRefund()
        If true, the full item will be refunded. If this is true, amount should not be provided and will be ignored.
        Returns:
        value or null for none
      • setFullRefund

        public OrdersCustomBatchRequestEntryRefundItemItem setFullRefund(Boolean fullRefund)
        If true, the full item will be refunded. If this is true, amount should not be provided and will be ignored.
        Parameters:
        fullRefund - fullRefund or null for none
      • getLineItemId

        public String getLineItemId()
        The ID of the line item. Either lineItemId or productId is required.
        Returns:
        value or null for none
      • getProductId

        public String getProductId()
        The ID of the product. This is the REST ID used in the products service. Either lineItemId or productId is required.
        Returns:
        value or null for none
      • setProductId

        public OrdersCustomBatchRequestEntryRefundItemItem setProductId(String productId)
        The ID of the product. This is the REST ID used in the products service. Either lineItemId or productId is required.
        Parameters:
        productId - productId or null for none
      • getQuantity

        public Integer getQuantity()
        The number of products that are refunded.
        Returns:
        value or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy