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

com.google.api.services.paymentsresellersubscription.v1.model.GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse Maven / Gradle / Ivy

There is a newer version: v1-rev20241211-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.paymentsresellersubscription.v1.model;

/**
 * Response that contains the timestamps after the extension.
 *
 * 

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 GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse extends com.google.api.client.json.GenericJson { /** * The time at which the subscription is expected to be extended, in ISO 8061 format. UTC * timezone. Example, "cycleEndTime":"2019-08-31T17:28:54.564Z" * The value may be {@code null}. */ @com.google.api.client.util.Key private String cycleEndTime; /** * End of the free trial period, in ISO 8061 format. UTC timezone. Example, * "freeTrialEndTime":"2019-08-31T17:28:54.564Z" This time will be set the same as initial * subscription creation time if no free trial period is offered to the partner. * The value may be {@code null}. */ @com.google.api.client.util.Key private String freeTrialEndTime; /** * Output only. The time at which the subscription is expected to be renewed by Google - a new * charge will be incurred and the service entitlement will be renewed. A non-immediate * cancellation will take place at this time too, before which, the service entitlement for the * end user will remain valid. UTC timezone in ISO 8061 format. For example: * "2019-08-31T17:28:54.564Z" * The value may be {@code null}. */ @com.google.api.client.util.Key private String renewalTime; /** * The time at which the subscription is expected to be extended, in ISO 8061 format. UTC * timezone. Example, "cycleEndTime":"2019-08-31T17:28:54.564Z" * @return value or {@code null} for none */ public String getCycleEndTime() { return cycleEndTime; } /** * The time at which the subscription is expected to be extended, in ISO 8061 format. UTC * timezone. Example, "cycleEndTime":"2019-08-31T17:28:54.564Z" * @param cycleEndTime cycleEndTime or {@code null} for none */ public GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse setCycleEndTime(String cycleEndTime) { this.cycleEndTime = cycleEndTime; return this; } /** * End of the free trial period, in ISO 8061 format. UTC timezone. Example, * "freeTrialEndTime":"2019-08-31T17:28:54.564Z" This time will be set the same as initial * subscription creation time if no free trial period is offered to the partner. * @return value or {@code null} for none */ public String getFreeTrialEndTime() { return freeTrialEndTime; } /** * End of the free trial period, in ISO 8061 format. UTC timezone. Example, * "freeTrialEndTime":"2019-08-31T17:28:54.564Z" This time will be set the same as initial * subscription creation time if no free trial period is offered to the partner. * @param freeTrialEndTime freeTrialEndTime or {@code null} for none */ public GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse setFreeTrialEndTime(String freeTrialEndTime) { this.freeTrialEndTime = freeTrialEndTime; return this; } /** * Output only. The time at which the subscription is expected to be renewed by Google - a new * charge will be incurred and the service entitlement will be renewed. A non-immediate * cancellation will take place at this time too, before which, the service entitlement for the * end user will remain valid. UTC timezone in ISO 8061 format. For example: * "2019-08-31T17:28:54.564Z" * @return value or {@code null} for none */ public String getRenewalTime() { return renewalTime; } /** * Output only. The time at which the subscription is expected to be renewed by Google - a new * charge will be incurred and the service entitlement will be renewed. A non-immediate * cancellation will take place at this time too, before which, the service entitlement for the * end user will remain valid. UTC timezone in ISO 8061 format. For example: * "2019-08-31T17:28:54.564Z" * @param renewalTime renewalTime or {@code null} for none */ public GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse setRenewalTime(String renewalTime) { this.renewalTime = renewalTime; return this; } @Override public GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse set(String fieldName, Object value) { return (GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse) super.set(fieldName, value); } @Override public GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse clone() { return (GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy