target.apidocs.com.google.api.services.androidpublisher.model.GetSubscriptionOfferRequest.html Maven / Gradle / Ivy
GetSubscriptionOfferRequest (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class GetSubscriptionOfferRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidpublisher.model.GetSubscriptionOfferRequest
-
public final class GetSubscriptionOfferRequest
extends com.google.api.client.json.GenericJson
Request message for GetSubscriptionOffer.
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 Google Play Android Developer API. For a detailed
explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
GetSubscriptionOfferRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
GetSubscriptionOfferRequest
clone()
String
getBasePlanId()
Required.
String
getOfferId()
Required.
String
getPackageName()
Required.
String
getProductId()
Required.
GetSubscriptionOfferRequest
set(String fieldName,
Object value)
GetSubscriptionOfferRequest
setBasePlanId(String basePlanId)
Required.
GetSubscriptionOfferRequest
setOfferId(String offerId)
Required.
GetSubscriptionOfferRequest
setPackageName(String packageName)
Required.
GetSubscriptionOfferRequest
setProductId(String productId)
Required.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBasePlanId
public String getBasePlanId()
Required. The parent base plan (ID) of the offer to get.
- Returns:
- value or
null
for none
-
setBasePlanId
public GetSubscriptionOfferRequest setBasePlanId(String basePlanId)
Required. The parent base plan (ID) of the offer to get.
- Parameters:
basePlanId
- basePlanId or null
for none
-
getOfferId
public String getOfferId()
Required. The unique offer ID of the offer to get.
- Returns:
- value or
null
for none
-
setOfferId
public GetSubscriptionOfferRequest setOfferId(String offerId)
Required. The unique offer ID of the offer to get.
- Parameters:
offerId
- offerId or null
for none
-
getPackageName
public String getPackageName()
Required. The parent app (package name) of the offer to get.
- Returns:
- value or
null
for none
-
setPackageName
public GetSubscriptionOfferRequest setPackageName(String packageName)
Required. The parent app (package name) of the offer to get.
- Parameters:
packageName
- packageName or null
for none
-
getProductId
public String getProductId()
Required. The parent subscription (ID) of the offer to get.
- Returns:
- value or
null
for none
-
setProductId
public GetSubscriptionOfferRequest setProductId(String productId)
Required. The parent subscription (ID) of the offer to get.
- Parameters:
productId
- productId or null
for none
-
set
public GetSubscriptionOfferRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public GetSubscriptionOfferRequest clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy