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-rev20220105-1.32.1)












com.google.api.services.content.model

Class TestOrder

    • Constructor Detail

      • TestOrder

        public TestOrder()
    • Method Detail

      • getCustomer

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

        public TestOrder setCustomer(TestOrderCustomer customer)
        Required. 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()
        Required. 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)
        Required. Line items that are ordered. At least one line item must be provided.
        Parameters:
        lineItems - lineItems or null for none
      • getNotificationMode

        public String getNotificationMode()
        Restricted. Do not use.
        Returns:
        value or null for none
      • setNotificationMode

        public TestOrder setNotificationMode(String notificationMode)
        Restricted. Do not use.
        Parameters:
        notificationMode - notificationMode or null for none
      • getPaymentMethod

        public TestOrderPaymentMethod getPaymentMethod()
        The details of the payment method.
        Returns:
        value or null for none
      • setPaymentMethod

        public TestOrder setPaymentMethod(TestOrderPaymentMethod paymentMethod)
        The details of the payment method.
        Parameters:
        paymentMethod - paymentMethod or null for none
      • getPredefinedDeliveryAddress

        public String getPredefinedDeliveryAddress()
        Required. Identifier of one of the predefined delivery addresses for the delivery. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
        Returns:
        value or null for none
      • setPredefinedDeliveryAddress

        public TestOrder setPredefinedDeliveryAddress(String predefinedDeliveryAddress)
        Required. Identifier of one of the predefined delivery addresses for the delivery. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
        Parameters:
        predefinedDeliveryAddress - predefinedDeliveryAddress or null for none
      • getPredefinedPickupDetails

        public String getPredefinedPickupDetails()
        Identifier of one of the predefined pickup details. Required for orders containing line items with shipping type `pickup`. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
        Returns:
        value or null for none
      • setPredefinedPickupDetails

        public TestOrder setPredefinedPickupDetails(String predefinedPickupDetails)
        Identifier of one of the predefined pickup details. Required for orders containing line items with shipping type `pickup`. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
        Parameters:
        predefinedPickupDetails - predefinedPickupDetails or null for none
      • getPromotions

        public List<OrderLegacyPromotion> getPromotions()
        Deprecated. Ignored if provided.
        Returns:
        value or null for none
      • setPromotions

        public TestOrder setPromotions(List<OrderLegacyPromotion> promotions)
        Deprecated. Ignored if provided.
        Parameters:
        promotions - promotions or null for none
      • getShippingCost

        public Price getShippingCost()
        Required. The price of shipping for all items. Shipping tax is automatically calculated for orders where marketplace facilitator tax laws are applicable. Otherwise, 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)
        Required. The price of shipping for all items. Shipping tax is automatically calculated for orders where marketplace facilitator tax laws are applicable. Otherwise, tax settings from Merchant Center are applied. Note that shipping is not taxed in certain states.
        Parameters:
        shippingCost - shippingCost or null for none
      • getShippingCostTax

        public Price getShippingCostTax()
        Deprecated. Ignored if provided.
        Returns:
        value or null for none
      • setShippingCostTax

        public TestOrder setShippingCostTax(Price shippingCostTax)
        Deprecated. Ignored if provided.
        Parameters:
        shippingCostTax - shippingCostTax or null for none
      • getShippingOption

        public String getShippingOption()
        Required. The requested shipping option. Acceptable values are: - "`economy`" - "`expedited`" - "`oneDay`" - "`sameDay`" - "`standard`" - "`twoDay`"
        Returns:
        value or null for none
      • setShippingOption

        public TestOrder setShippingOption(String shippingOption)
        Required. The requested shipping option. Acceptable values are: - "`economy`" - "`expedited`" - "`oneDay`" - "`sameDay`" - "`standard`" - "`twoDay`"
        Parameters:
        shippingOption - shippingOption or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy