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-rev20240609-2.0.0)












com.google.api.services.content.model

Class TestOrder

    • Constructor Detail

      • TestOrder

        public TestOrder()
    • Method Detail

      • getDeliveryDetails

        public TestOrderDeliveryDetails getDeliveryDetails()
        Overrides the predefined delivery details if provided.
        Returns:
        value or null for none
      • setDeliveryDetails

        public TestOrder setDeliveryDetails(TestOrderDeliveryDetails deliveryDetails)
        Overrides the predefined delivery details if provided.
        Parameters:
        deliveryDetails - deliveryDetails 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
      • getPickupDetails

        public TestOrderPickupDetails getPickupDetails()
        Overrides the predefined pickup details if provided.
        Returns:
        value or null for none
      • setPickupDetails

        public TestOrder setPickupDetails(TestOrderPickupDetails pickupDetails)
        Overrides the predefined pickup details if provided.
        Parameters:
        pickupDetails - pickupDetails or null for none
      • getPredefinedBillingAddress

        public String getPredefinedBillingAddress()
        Required. The billing address. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
        Returns:
        value or null for none
      • setPredefinedBillingAddress

        public TestOrder setPredefinedBillingAddress(String predefinedBillingAddress)
        Required. The billing address. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
        Parameters:
        predefinedBillingAddress - predefinedBillingAddress 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<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()
        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
      • 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
      • 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–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy