Skip to content

Commit

Permalink
chore: regenerate paymentsresellersubscription client (#18110)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Sep 15, 2023
1 parent c5aa63e commit b5f1fea
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 4 deletions.
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-paymentsresellersubscription</artifactId>
<version>v1-rev20230823-2.0.0</version>
<version>v1-rev20230913-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20230823-2.0.0'
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20230913-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudPaymentsResellerSubscriptionV1Product extends com.google.api.client.json.GenericJson {

/**
* Output only. Output Only. Specifies the details for a bundle product.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails bundleDetails;

/**
* Optional. Details for a subscription line item with finite billing cycles. If unset, the line
* item will be charged indefinitely.
Expand All @@ -53,6 +60,13 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1Product extends com.
@com.google.api.client.util.Key
private java.util.List<GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig> priceConfigs;

/**
* Output only. Output Only. Specifies the type of the product.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String productType;

/**
* Output only. 2-letter ISO region code where the product is available in. Ex. "US" Please refers
* to: https://en.wikipedia.org/wiki/ISO_3166-1
Expand All @@ -75,6 +89,23 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1Product extends com.
@com.google.api.client.util.Key
private java.util.List<GoogleTypeLocalizedText> titles;

/**
* Output only. Output Only. Specifies the details for a bundle product.
* @return value or {@code null} for none
*/
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails getBundleDetails() {
return bundleDetails;
}

/**
* Output only. Output Only. Specifies the details for a bundle product.
* @param bundleDetails bundleDetails or {@code null} for none
*/
public GoogleCloudPaymentsResellerSubscriptionV1Product setBundleDetails(GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails bundleDetails) {
this.bundleDetails = bundleDetails;
return this;
}

/**
* Optional. Details for a subscription line item with finite billing cycles. If unset, the line
* item will be charged indefinitely.
Expand Down Expand Up @@ -130,6 +161,23 @@ public GoogleCloudPaymentsResellerSubscriptionV1Product setPriceConfigs(java.uti
return this;
}

/**
* Output only. Output Only. Specifies the type of the product.
* @return value or {@code null} for none
*/
public java.lang.String getProductType() {
return productType;
}

/**
* Output only. Output Only. Specifies the type of the product.
* @param productType productType or {@code null} for none
*/
public GoogleCloudPaymentsResellerSubscriptionV1Product setProductType(java.lang.String productType) {
this.productType = productType;
return this;
}

/**
* Output only. 2-letter ISO region code where the product is available in. Ex. "US" Please refers
* to: https://en.wikipedia.org/wiki/ISO_3166-1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
/*
* 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.paymentsresellersubscription.v1.model;

/**
* Details for a bundle product.
*
* <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 Payments Reseller Subscription 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 GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails extends com.google.api.client.json.GenericJson {

/**
* The individual products that are included in the bundle.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement> bundleElements;

/**
* The entitlement mode of the bundle product.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String entitlementMode;

/**
* The individual products that are included in the bundle.
* @return value or {@code null} for none
*/
public java.util.List<GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement> getBundleElements() {
return bundleElements;
}

/**
* The individual products that are included in the bundle.
* @param bundleElements bundleElements or {@code null} for none
*/
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails setBundleElements(java.util.List<GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement> bundleElements) {
this.bundleElements = bundleElements;
return this;
}

/**
* The entitlement mode of the bundle product.
* @return value or {@code null} for none
*/
public java.lang.String getEntitlementMode() {
return entitlementMode;
}

/**
* The entitlement mode of the bundle product.
* @param entitlementMode entitlementMode or {@code null} for none
*/
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails setEntitlementMode(java.lang.String entitlementMode) {
this.entitlementMode = entitlementMode;
return this;
}

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

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

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

/**
* The individual product that is included in the bundle.
*
* <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 Payments Reseller Subscription 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 GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement extends com.google.api.client.json.GenericJson {

/**
* Required. Output only. Product resource name that identifies the bundle element. The format is
* 'partners/{partner_id}/products/{product_id}'.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String product;

/**
* Required. Output only. Product resource name that identifies the bundle element. The format is
* 'partners/{partner_id}/products/{product_id}'.
* @return value or {@code null} for none
*/
public java.lang.String getProduct() {
return product;
}

/**
* Required. Output only. Product resource name that identifies the bundle element. The format is
* 'partners/{partner_id}/products/{product_id}'.
* @param product product or {@code null} for none
*/
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement setProduct(java.lang.String product) {
this.product = product;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-paymentsresellersubscription</artifactId>
<version>v1-rev20230823-2.0.0</version>
<name>Payments Reseller Subscription API v1-rev20230823-2.0.0</name>
<version>v1-rev20230913-2.0.0</version>
<name>Payments Reseller Subscription API v1-rev20230913-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down

0 comments on commit b5f1fea

Please sign in to comment.