com.google.api.services.content.model.InventoryPickup Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.content.model;
/**
* Model definition for InventoryPickup.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation
* see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class InventoryPickup extends com.google.api.client.json.GenericJson {
/**
* Whether store pickup is available for this offer and whether the pickup option should be shown
* as buy, reserve, or not supported. Only supported for local inventory. Unless the value is "not
* supported", must be submitted together with `pickupSla`.
*
* Acceptable values are: - "`buy`" - "`not supported`" - "`reserve`" - "`ship to store`"
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String pickupMethod;
/**
* The expected date that an order will be ready for pickup, relative to when the order is placed.
* Only supported for local inventory. Must be submitted together with `pickupMethod`.
*
* Acceptable values are: - "`five day`" - "`four day`" - "`multi day`" - "`multi week`" -
* "`next day`" - "`same day`" - "`seven day`" - "`six day`" - "`three day`" - "`two day`"
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String pickupSla;
/**
* Whether store pickup is available for this offer and whether the pickup option should be shown
* as buy, reserve, or not supported. Only supported for local inventory. Unless the value is "not
* supported", must be submitted together with `pickupSla`.
*
* Acceptable values are: - "`buy`" - "`not supported`" - "`reserve`" - "`ship to store`"
* @return value or {@code null} for none
*/
public java.lang.String getPickupMethod() {
return pickupMethod;
}
/**
* Whether store pickup is available for this offer and whether the pickup option should be shown
* as buy, reserve, or not supported. Only supported for local inventory. Unless the value is "not
* supported", must be submitted together with `pickupSla`.
*
* Acceptable values are: - "`buy`" - "`not supported`" - "`reserve`" - "`ship to store`"
* @param pickupMethod pickupMethod or {@code null} for none
*/
public InventoryPickup setPickupMethod(java.lang.String pickupMethod) {
this.pickupMethod = pickupMethod;
return this;
}
/**
* The expected date that an order will be ready for pickup, relative to when the order is placed.
* Only supported for local inventory. Must be submitted together with `pickupMethod`.
*
* Acceptable values are: - "`five day`" - "`four day`" - "`multi day`" - "`multi week`" -
* "`next day`" - "`same day`" - "`seven day`" - "`six day`" - "`three day`" - "`two day`"
* @return value or {@code null} for none
*/
public java.lang.String getPickupSla() {
return pickupSla;
}
/**
* The expected date that an order will be ready for pickup, relative to when the order is placed.
* Only supported for local inventory. Must be submitted together with `pickupMethod`.
*
* Acceptable values are: - "`five day`" - "`four day`" - "`multi day`" - "`multi week`" -
* "`next day`" - "`same day`" - "`seven day`" - "`six day`" - "`three day`" - "`two day`"
* @param pickupSla pickupSla or {@code null} for none
*/
public InventoryPickup setPickupSla(java.lang.String pickupSla) {
this.pickupSla = pickupSla;
return this;
}
@Override
public InventoryPickup set(String fieldName, Object value) {
return (InventoryPickup) super.set(fieldName, value);
}
@Override
public InventoryPickup clone() {
return (InventoryPickup) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy