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

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

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






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












com.google.api.services.content.model

Class OrderLineItem

    • Constructor Detail

      • OrderLineItem

        public OrderLineItem()
    • Method Detail

      • getAdjustments

        public List<OrderLineItemAdjustment> getAdjustments()
        Price and tax adjustments applied on the line item.
        Returns:
        value or null for none
      • setAdjustments

        public OrderLineItem setAdjustments(List<OrderLineItemAdjustment> adjustments)
        Price and tax adjustments applied on the line item.
        Parameters:
        adjustments - adjustments or null for none
      • getCancellations

        public List<OrderCancellation> getCancellations()
        Cancellations of the line item.
        Returns:
        value or null for none
      • setCancellations

        public OrderLineItem setCancellations(List<OrderCancellation> cancellations)
        Cancellations of the line item.
        Parameters:
        cancellations - cancellations or null for none
      • getId

        public String getId()
        The ID of the line item.
        Returns:
        value or null for none
      • setId

        public OrderLineItem setId(String id)
        The ID of the line item.
        Parameters:
        id - id or null for none
      • getPrice

        public Price getPrice()
        Total price for the line item. For example, if two items for $10 are purchased, the total price will be $20.
        Returns:
        value or null for none
      • setPrice

        public OrderLineItem setPrice(Price price)
        Total price for the line item. For example, if two items for $10 are purchased, the total price will be $20.
        Parameters:
        price - price or null for none
      • getProduct

        public OrderLineItemProduct getProduct()
        Product data as seen by customer from the time of the order placement. Note that certain attributes values (for example, title or gtin) might be reformatted and no longer match values submitted through product feed.
        Returns:
        value or null for none
      • setProduct

        public OrderLineItem setProduct(OrderLineItemProduct product)
        Product data as seen by customer from the time of the order placement. Note that certain attributes values (for example, title or gtin) might be reformatted and no longer match values submitted through product feed.
        Parameters:
        product - product or null for none
      • getQuantityCanceled

        public Long getQuantityCanceled()
        Number of items canceled.
        Returns:
        value or null for none
      • setQuantityCanceled

        public OrderLineItem setQuantityCanceled(Long quantityCanceled)
        Number of items canceled.
        Parameters:
        quantityCanceled - quantityCanceled or null for none
      • getQuantityDelivered

        public Long getQuantityDelivered()
        Number of items delivered.
        Returns:
        value or null for none
      • setQuantityDelivered

        public OrderLineItem setQuantityDelivered(Long quantityDelivered)
        Number of items delivered.
        Parameters:
        quantityDelivered - quantityDelivered or null for none
      • getQuantityOrdered

        public Long getQuantityOrdered()
        Number of items ordered.
        Returns:
        value or null for none
      • setQuantityOrdered

        public OrderLineItem setQuantityOrdered(Long quantityOrdered)
        Number of items ordered.
        Parameters:
        quantityOrdered - quantityOrdered or null for none
      • getQuantityPending

        public Long getQuantityPending()
        Number of items pending.
        Returns:
        value or null for none
      • setQuantityPending

        public OrderLineItem setQuantityPending(Long quantityPending)
        Number of items pending.
        Parameters:
        quantityPending - quantityPending or null for none
      • getQuantityReadyForPickup

        public Long getQuantityReadyForPickup()
        Number of items ready for pickup.
        Returns:
        value or null for none
      • setQuantityReadyForPickup

        public OrderLineItem setQuantityReadyForPickup(Long quantityReadyForPickup)
        Number of items ready for pickup.
        Parameters:
        quantityReadyForPickup - quantityReadyForPickup or null for none
      • getQuantityReturned

        public Long getQuantityReturned()
        Number of items returned.
        Returns:
        value or null for none
      • setQuantityReturned

        public OrderLineItem setQuantityReturned(Long quantityReturned)
        Number of items returned.
        Parameters:
        quantityReturned - quantityReturned or null for none
      • getQuantityShipped

        public Long getQuantityShipped()
        Number of items shipped.
        Returns:
        value or null for none
      • setQuantityShipped

        public OrderLineItem setQuantityShipped(Long quantityShipped)
        Number of items shipped.
        Parameters:
        quantityShipped - quantityShipped or null for none
      • getQuantityUndeliverable

        public Long getQuantityUndeliverable()
        Number of items undeliverable.
        Returns:
        value or null for none
      • setQuantityUndeliverable

        public OrderLineItem setQuantityUndeliverable(Long quantityUndeliverable)
        Number of items undeliverable.
        Parameters:
        quantityUndeliverable - quantityUndeliverable or null for none
      • getReturnInfo

        public OrderLineItemReturnInfo getReturnInfo()
        Details of the return policy for the line item.
        Returns:
        value or null for none
      • setReturnInfo

        public OrderLineItem setReturnInfo(OrderLineItemReturnInfo returnInfo)
        Details of the return policy for the line item.
        Parameters:
        returnInfo - returnInfo or null for none
      • getReturns

        public List<OrderReturn> getReturns()
        Returns of the line item.
        Returns:
        value or null for none
      • setReturns

        public OrderLineItem setReturns(List<OrderReturn> returns)
        Returns of the line item.
        Parameters:
        returns - returns or null for none
      • getShippingDetails

        public OrderLineItemShippingDetails getShippingDetails()
        Details of the requested shipping for the line item.
        Returns:
        value or null for none
      • setShippingDetails

        public OrderLineItem setShippingDetails(OrderLineItemShippingDetails shippingDetails)
        Details of the requested shipping for the line item.
        Parameters:
        shippingDetails - shippingDetails or null for none
      • getTax

        public Price getTax()
        Total tax amount for the line item. For example, if two items are purchased, and each have a cost tax of $2, the total tax amount will be $4.
        Returns:
        value or null for none
      • setTax

        public OrderLineItem setTax(Price tax)
        Total tax amount for the line item. For example, if two items are purchased, and each have a cost tax of $2, the total tax amount will be $4.
        Parameters:
        tax - tax or null for none
      • set

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

        public OrderLineItem 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