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

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

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






TestOrder (Content API for Shopping v2.1-rev20190215-1.27.0)












com.google.api.services.content.model

Class TestOrder

    • Constructor Detail

      • TestOrder

        public TestOrder()
    • Method Detail

      • getCustomer

        public TestOrderCustomer getCustomer()
        The details of the customer who placed the order.
        Returns:
        value or null for none
      • setCustomer

        public TestOrder setCustomer(TestOrderCustomer customer)
        The details of the customer who placed the order.
        Parameters:
        customer - customer or null for none
      • getEnableOrderinvoices

        public Boolean getEnableOrderinvoices()
        Whether the orderinvoices service should support this order.
        Returns:
        value or null for none
      • setEnableOrderinvoices

        public TestOrder setEnableOrderinvoices(Boolean enableOrderinvoices)
        Whether the orderinvoices service should support this order.
        Parameters:
        enableOrderinvoices - enableOrderinvoices or null for none
      • getKind

        public String getKind()
        Identifies what kind of resource this is. Value: the fixed string "content#testOrder".
        Returns:
        value or null for none
      • setKind

        public TestOrder setKind(String kind)
        Identifies what kind of resource this is. Value: the fixed string "content#testOrder".
        Parameters:
        kind - kind or null for none
      • getLineItems

        public List<TestOrderLineItem> getLineItems()
        Line items that are ordered. At least one line item must be provided.
        Returns:
        value or null for none
      • setLineItems

        public TestOrder setLineItems(List<TestOrderLineItem> lineItems)
        Line items that are ordered. At least one line item must be provided.
        Parameters:
        lineItems - lineItems or null for none
      • getNotificationMode

        public String getNotificationMode()
        Determines if test order must be pulled by merchant or pushed to merchant via push integration.
        Returns:
        value or null for none
      • setNotificationMode

        public TestOrder setNotificationMode(String notificationMode)
        Determines if test order must be pulled by merchant or pushed to merchant via push integration.
        Parameters:
        notificationMode - notificationMode or null for none
      • getPredefinedBillingAddress

        public String getPredefinedBillingAddress()
        The billing address.
        Returns:
        value or null for none
      • setPredefinedBillingAddress

        public TestOrder setPredefinedBillingAddress(String predefinedBillingAddress)
        The billing address.
        Parameters:
        predefinedBillingAddress - predefinedBillingAddress or null for none
      • getPredefinedDeliveryAddress

        public String getPredefinedDeliveryAddress()
        Identifier of one of the predefined delivery addresses for the delivery.
        Returns:
        value or null for none
      • setPredefinedDeliveryAddress

        public TestOrder setPredefinedDeliveryAddress(String predefinedDeliveryAddress)
        Identifier of one of the predefined delivery addresses for the delivery.
        Parameters:
        predefinedDeliveryAddress - predefinedDeliveryAddress or null for none
      • getPromotions

        public List<OrderPromotion> getPromotions()
        Promotions associated with the order.
        Returns:
        value or null for none
      • setPromotions

        public TestOrder setPromotions(List<OrderPromotion> promotions)
        Promotions associated with the order.
        Parameters:
        promotions - promotions or null for none
      • getShippingCost

        public Price getShippingCost()
        The price of shipping for all items. Shipping tax is automatically calculated for MFL orders. For non-MFL orders, tax settings from Merchant Center are applied. Note that shipping is not taxed in certain states.
        Returns:
        value or null for none
      • setShippingCost

        public TestOrder setShippingCost(Price shippingCost)
        The price of shipping for all items. Shipping tax is automatically calculated for MFL orders. For non-MFL orders, tax settings from Merchant Center are applied. Note that shipping is not taxed in certain states.
        Parameters:
        shippingCost - shippingCost or null for none
      • getShippingOption

        public String getShippingOption()
        The requested shipping option.
        Returns:
        value or null for none
      • setShippingOption

        public TestOrder setShippingOption(String shippingOption)
        The requested shipping option.
        Parameters:
        shippingOption - shippingOption or null for none
      • set

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

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

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy