com.google.api.services.supportcases.model.HardwareOrderLineItemRefund Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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://code.google.com/p/google-apis-client-generator/
* (build: 2017-02-15 17:18:02 UTC)
* on 2017-04-18 at 23:41:09 UTC
* Modify at your own risk.
*/
package com.google.api.services.supportcases.model;
/**
* Model definition for HardwareOrderLineItemRefund.
*
* 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 Google Support Cases Private API. For a detailed
* explanation see:
* http://code.google.com/p/google-http-java-client/wiki/JSON
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class HardwareOrderLineItemRefund extends com.google.api.client.json.GenericJson {
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private HardwareId hardwareId;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String lineItemId;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String shipmentId;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ShippingInfo shippingInfo;
/**
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}
/**
* @param description description or {@code null} for none
*/
public HardwareOrderLineItemRefund setDescription(java.lang.String description) {
this.description = description;
return this;
}
/**
* @return value or {@code null} for none
*/
public HardwareId getHardwareId() {
return hardwareId;
}
/**
* @param hardwareId hardwareId or {@code null} for none
*/
public HardwareOrderLineItemRefund setHardwareId(HardwareId hardwareId) {
this.hardwareId = hardwareId;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.String getLineItemId() {
return lineItemId;
}
/**
* @param lineItemId lineItemId or {@code null} for none
*/
public HardwareOrderLineItemRefund setLineItemId(java.lang.String lineItemId) {
this.lineItemId = lineItemId;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.String getShipmentId() {
return shipmentId;
}
/**
* @param shipmentId shipmentId or {@code null} for none
*/
public HardwareOrderLineItemRefund setShipmentId(java.lang.String shipmentId) {
this.shipmentId = shipmentId;
return this;
}
/**
* @return value or {@code null} for none
*/
public ShippingInfo getShippingInfo() {
return shippingInfo;
}
/**
* @param shippingInfo shippingInfo or {@code null} for none
*/
public HardwareOrderLineItemRefund setShippingInfo(ShippingInfo shippingInfo) {
this.shippingInfo = shippingInfo;
return this;
}
@Override
public HardwareOrderLineItemRefund set(String fieldName, Object value) {
return (HardwareOrderLineItemRefund) super.set(fieldName, value);
}
@Override
public HardwareOrderLineItemRefund clone() {
return (HardwareOrderLineItemRefund) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy