All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.cloudchannel.v1.model.GoogleCloudChannelV1alpha1RenewalSettings Maven / Gradle / Ivy

There is a newer version: v1-rev20241202-2.0.0
Show newest version
/*
 * 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.cloudchannel.v1.model;

/**
 * Renewal settings for renewable Offers.
 *
 * 

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 Cloud Channel 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 GoogleCloudChannelV1alpha1RenewalSettings extends com.google.api.client.json.GenericJson { /** * If true, disables commitment-based offer on renewal and switches to flexible or pay as you go. * Deprecated: Use `payment_plan` instead. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean disableCommitment; /** * If false, the plan will be completed at the end date. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean enableRenewal; /** * Describes how frequently the reseller will be billed, such as once per month. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudChannelV1alpha1Period paymentCycle; /** * Set if enable_renewal=true. Deprecated: Use `payment_cycle` instead. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String paymentOption; /** * Describes how a reseller will be billed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String paymentPlan; /** * If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the * number of active units at renewal time. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean resizeUnitCount; /** * Output only. The offer resource name that the entitlement will renew on at the end date. Takes * the form: accounts/{account_id}/offers/{offer_id}. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String scheduledRenewalOffer; /** * If true, disables commitment-based offer on renewal and switches to flexible or pay as you go. * Deprecated: Use `payment_plan` instead. * @return value or {@code null} for none */ public java.lang.Boolean getDisableCommitment() { return disableCommitment; } /** * If true, disables commitment-based offer on renewal and switches to flexible or pay as you go. * Deprecated: Use `payment_plan` instead. * @param disableCommitment disableCommitment or {@code null} for none */ public GoogleCloudChannelV1alpha1RenewalSettings setDisableCommitment(java.lang.Boolean disableCommitment) { this.disableCommitment = disableCommitment; return this; } /** * If false, the plan will be completed at the end date. * @return value or {@code null} for none */ public java.lang.Boolean getEnableRenewal() { return enableRenewal; } /** * If false, the plan will be completed at the end date. * @param enableRenewal enableRenewal or {@code null} for none */ public GoogleCloudChannelV1alpha1RenewalSettings setEnableRenewal(java.lang.Boolean enableRenewal) { this.enableRenewal = enableRenewal; return this; } /** * Describes how frequently the reseller will be billed, such as once per month. * @return value or {@code null} for none */ public GoogleCloudChannelV1alpha1Period getPaymentCycle() { return paymentCycle; } /** * Describes how frequently the reseller will be billed, such as once per month. * @param paymentCycle paymentCycle or {@code null} for none */ public GoogleCloudChannelV1alpha1RenewalSettings setPaymentCycle(GoogleCloudChannelV1alpha1Period paymentCycle) { this.paymentCycle = paymentCycle; return this; } /** * Set if enable_renewal=true. Deprecated: Use `payment_cycle` instead. * @return value or {@code null} for none */ public java.lang.String getPaymentOption() { return paymentOption; } /** * Set if enable_renewal=true. Deprecated: Use `payment_cycle` instead. * @param paymentOption paymentOption or {@code null} for none */ public GoogleCloudChannelV1alpha1RenewalSettings setPaymentOption(java.lang.String paymentOption) { this.paymentOption = paymentOption; return this; } /** * Describes how a reseller will be billed. * @return value or {@code null} for none */ public java.lang.String getPaymentPlan() { return paymentPlan; } /** * Describes how a reseller will be billed. * @param paymentPlan paymentPlan or {@code null} for none */ public GoogleCloudChannelV1alpha1RenewalSettings setPaymentPlan(java.lang.String paymentPlan) { this.paymentPlan = paymentPlan; return this; } /** * If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the * number of active units at renewal time. * @return value or {@code null} for none */ public java.lang.Boolean getResizeUnitCount() { return resizeUnitCount; } /** * If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the * number of active units at renewal time. * @param resizeUnitCount resizeUnitCount or {@code null} for none */ public GoogleCloudChannelV1alpha1RenewalSettings setResizeUnitCount(java.lang.Boolean resizeUnitCount) { this.resizeUnitCount = resizeUnitCount; return this; } /** * Output only. The offer resource name that the entitlement will renew on at the end date. Takes * the form: accounts/{account_id}/offers/{offer_id}. * @return value or {@code null} for none */ public java.lang.String getScheduledRenewalOffer() { return scheduledRenewalOffer; } /** * Output only. The offer resource name that the entitlement will renew on at the end date. Takes * the form: accounts/{account_id}/offers/{offer_id}. * @param scheduledRenewalOffer scheduledRenewalOffer or {@code null} for none */ public GoogleCloudChannelV1alpha1RenewalSettings setScheduledRenewalOffer(java.lang.String scheduledRenewalOffer) { this.scheduledRenewalOffer = scheduledRenewalOffer; return this; } @Override public GoogleCloudChannelV1alpha1RenewalSettings set(String fieldName, Object value) { return (GoogleCloudChannelV1alpha1RenewalSettings) super.set(fieldName, value); } @Override public GoogleCloudChannelV1alpha1RenewalSettings clone() { return (GoogleCloudChannelV1alpha1RenewalSettings) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy