diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/README.md b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/README.md index 201997543b8..c1bbbe52f41 100644 --- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/README.md +++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-paymentsresellersubscription - v1-rev20230823-2.0.0 + v1-rev20230913-2.0.0 @@ -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' } ``` diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1Product.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1Product.java index 84509f20f52..cb09b4b252b 100644 --- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1Product.java +++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1Product.java @@ -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. @@ -53,6 +60,13 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1Product extends com. @com.google.api.client.util.Key private java.util.List 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 @@ -75,6 +89,23 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1Product extends com. @com.google.api.client.util.Key private java.util.List 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. @@ -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 diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails.java new file mode 100644 index 00000000000..13873c0c306 --- /dev/null +++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails.java @@ -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. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @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 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 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 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(); + } + +} diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement.java new file mode 100644 index 00000000000..7eec2ad082b --- /dev/null +++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement.java @@ -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. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @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(); + } + +} diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/pom.xml b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/pom.xml index ce7dba435f9..0e1ffcc6765 100644 --- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/pom.xml +++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-paymentsresellersubscription - v1-rev20230823-2.0.0 - Payments Reseller Subscription API v1-rev20230823-2.0.0 + v1-rev20230913-2.0.0 + Payments Reseller Subscription API v1-rev20230913-2.0.0 jar 2011