public class Reseller.Subscriptions.ChangeRenewalSettings extends ResellerRequest<Subscription>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Reseller.Subscriptions.ChangeRenewalSettings(String customerId,
String subscriptionId,
RenewalSettings content)
Changes the renewal settings of a subscription
Create a request for the method "subscriptions.changeRenewalSettings".
|
Modifier and Type | Method and Description |
---|---|
String |
getCustomerId()
Id of the Customer
|
String |
getSubscriptionId()
Id of the subscription, which is unique for a customer
|
Reseller.Subscriptions.ChangeRenewalSettings |
set(String parameterName,
Object value) |
Reseller.Subscriptions.ChangeRenewalSettings |
setAlt(String alt)
Data format for the response.
|
Reseller.Subscriptions.ChangeRenewalSettings |
setCustomerId(String customerId)
Id of the Customer
|
Reseller.Subscriptions.ChangeRenewalSettings |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Reseller.Subscriptions.ChangeRenewalSettings |
setKey(String key)
API key.
|
Reseller.Subscriptions.ChangeRenewalSettings |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Reseller.Subscriptions.ChangeRenewalSettings |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Reseller.Subscriptions.ChangeRenewalSettings |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Reseller.Subscriptions.ChangeRenewalSettings |
setSubscriptionId(String subscriptionId)
Id of the subscription, which is unique for a customer
|
Reseller.Subscriptions.ChangeRenewalSettings |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Reseller.Subscriptions.ChangeRenewalSettings(String customerId, String subscriptionId, RenewalSettings content)
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation. ChangeRenewalSettings#initialize(com.google.api.client.googleapis.
services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately
after invoking the constructor.
customerId
- Id of the CustomersubscriptionId
- Id of the subscription, which is unique for a customercontent
- the RenewalSettings
public Reseller.Subscriptions.ChangeRenewalSettings setAlt(String alt)
ResellerRequest
setAlt
in class ResellerRequest<Subscription>
public Reseller.Subscriptions.ChangeRenewalSettings setFields(String fields)
ResellerRequest
setFields
in class ResellerRequest<Subscription>
public Reseller.Subscriptions.ChangeRenewalSettings setKey(String key)
ResellerRequest
setKey
in class ResellerRequest<Subscription>
public Reseller.Subscriptions.ChangeRenewalSettings setOauthToken(String oauthToken)
ResellerRequest
setOauthToken
in class ResellerRequest<Subscription>
public Reseller.Subscriptions.ChangeRenewalSettings setPrettyPrint(Boolean prettyPrint)
ResellerRequest
setPrettyPrint
in class ResellerRequest<Subscription>
public Reseller.Subscriptions.ChangeRenewalSettings setQuotaUser(String quotaUser)
ResellerRequest
setQuotaUser
in class ResellerRequest<Subscription>
public Reseller.Subscriptions.ChangeRenewalSettings setUserIp(String userIp)
ResellerRequest
setUserIp
in class ResellerRequest<Subscription>
public String getCustomerId()
public Reseller.Subscriptions.ChangeRenewalSettings setCustomerId(String customerId)
public String getSubscriptionId()
public Reseller.Subscriptions.ChangeRenewalSettings setSubscriptionId(String subscriptionId)
public Reseller.Subscriptions.ChangeRenewalSettings set(String parameterName, Object value)
set
in class ResellerRequest<Subscription>