Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-merchantapi</artifactId>
<version>products_v1-rev20260602-2.0.0</version>
<version>products_v1-rev20260611-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260602-2.0.0'
implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260611-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
/*
* 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.merchantapi.products_v1.model;

/**
* The display address of the property.
*
* <p> 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 Merchant API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class DisplayAddress extends com.google.api.client.json.GenericJson {

/**
* The city such as Seattle, New York, etc.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String city;

/**
* The postal code, such as 94043.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String postalCode;

/**
* The region(state), such as WA, OH, etc.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String region;

/**
* The street name.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String streetName;

/**
* The street number.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String streetNumber;

/**
* The city such as Seattle, New York, etc.
* @return value or {@code null} for none
*/
public java.lang.String getCity() {
return city;
}

/**
* The city such as Seattle, New York, etc.
* @param city city or {@code null} for none
*/
public DisplayAddress setCity(java.lang.String city) {
this.city = city;
return this;
}

/**
* The postal code, such as 94043.
* @return value or {@code null} for none
*/
public java.lang.String getPostalCode() {
return postalCode;
}

/**
* The postal code, such as 94043.
* @param postalCode postalCode or {@code null} for none
*/
public DisplayAddress setPostalCode(java.lang.String postalCode) {
this.postalCode = postalCode;
return this;
}

/**
* The region(state), such as WA, OH, etc.
* @return value or {@code null} for none
*/
public java.lang.String getRegion() {
return region;
}

/**
* The region(state), such as WA, OH, etc.
* @param region region or {@code null} for none
*/
public DisplayAddress setRegion(java.lang.String region) {
this.region = region;
return this;
}

/**
* The street name.
* @return value or {@code null} for none
*/
public java.lang.String getStreetName() {
return streetName;
}

/**
* The street name.
* @param streetName streetName or {@code null} for none
*/
public DisplayAddress setStreetName(java.lang.String streetName) {
this.streetName = streetName;
return this;
}

/**
* The street number.
* @return value or {@code null} for none
*/
public java.lang.String getStreetNumber() {
return streetNumber;
}

/**
* The street number.
* @param streetNumber streetNumber or {@code null} for none
*/
public DisplayAddress setStreetNumber(java.lang.String streetNumber) {
this.streetNumber = streetNumber;
return this;
}

@Override
public DisplayAddress set(String fieldName, Object value) {
return (DisplayAddress) super.set(fieldName, value);
}

@Override
public DisplayAddress clone() {
return (DisplayAddress) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* 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.merchantapi.products_v1.model;

/**
* The pet policy of the property.
*
* <p> 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 Merchant API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class PetPolicy extends com.google.api.client.json.GenericJson {

/**
* The pet types allowed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> petTypes;

/**
* Whether pets are allowed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean petsAllowed;

/**
* The pet types allowed.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getPetTypes() {
return petTypes;
}

/**
* The pet types allowed.
* @param petTypes petTypes or {@code null} for none
*/
public PetPolicy setPetTypes(java.util.List<java.lang.String> petTypes) {
this.petTypes = petTypes;
return this;
}

/**
* Whether pets are allowed.
* @return value or {@code null} for none
*/
public java.lang.Boolean getPetsAllowed() {
return petsAllowed;
}

/**
* Whether pets are allowed.
* @param petsAllowed petsAllowed or {@code null} for none
*/
public PetPolicy setPetsAllowed(java.lang.Boolean petsAllowed) {
this.petsAllowed = petsAllowed;
return this;
}

@Override
public PetPolicy set(String fieldName, Object value) {
return (PetPolicy) super.set(fieldName, value);
}

@Override
public PetPolicy clone() {
return (PetPolicy) super.clone();
}

}
Loading