target.apidocs.com.google.api.services.androidpublisher.model.RecurringExternalTransaction.html Maven / Gradle / Ivy
RecurringExternalTransaction (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class RecurringExternalTransaction
- 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.RecurringExternalTransaction
-
public final class RecurringExternalTransaction
extends com.google.api.client.json.GenericJson
Represents a transaction that is part of a recurring series of payments. This can be a
subscription or a one-time product with multiple payments (such as preorder).
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
RecurringExternalTransaction()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RecurringExternalTransaction
clone()
ExternalSubscription
getExternalSubscription()
Details of an external subscription.
String
getExternalTransactionToken()
Input only.
String
getInitialExternalTransactionId()
The external transaction id of the first transaction of this recurring series of transactions.
String
getMigratedTransactionProgram()
Input only.
RecurringExternalTransaction
set(String fieldName,
Object value)
RecurringExternalTransaction
setExternalSubscription(ExternalSubscription externalSubscription)
Details of an external subscription.
RecurringExternalTransaction
setExternalTransactionToken(String externalTransactionToken)
Input only.
RecurringExternalTransaction
setInitialExternalTransactionId(String initialExternalTransactionId)
The external transaction id of the first transaction of this recurring series of transactions.
RecurringExternalTransaction
setMigratedTransactionProgram(String migratedTransactionProgram)
Input only.
-
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
-
getExternalSubscription
public ExternalSubscription getExternalSubscription()
Details of an external subscription.
- Returns:
- value or
null
for none
-
setExternalSubscription
public RecurringExternalTransaction setExternalSubscription(ExternalSubscription externalSubscription)
Details of an external subscription.
- Parameters:
externalSubscription
- externalSubscription or null
for none
-
getExternalTransactionToken
public String getExternalTransactionToken()
Input only. Provided during the call to Create. Retrieved from the client when the alternative
billing flow is launched. Required only for the initial purchase.
- Returns:
- value or
null
for none
-
setExternalTransactionToken
public RecurringExternalTransaction setExternalTransactionToken(String externalTransactionToken)
Input only. Provided during the call to Create. Retrieved from the client when the alternative
billing flow is launched. Required only for the initial purchase.
- Parameters:
externalTransactionToken
- externalTransactionToken or null
for none
-
getInitialExternalTransactionId
public String getInitialExternalTransactionId()
The external transaction id of the first transaction of this recurring series of transactions.
For example, for a subscription this would be the transaction id of the first payment. Required
when creating recurring external transactions.
- Returns:
- value or
null
for none
-
setInitialExternalTransactionId
public RecurringExternalTransaction setInitialExternalTransactionId(String initialExternalTransactionId)
The external transaction id of the first transaction of this recurring series of transactions.
For example, for a subscription this would be the transaction id of the first payment. Required
when creating recurring external transactions.
- Parameters:
initialExternalTransactionId
- initialExternalTransactionId or null
for none
-
getMigratedTransactionProgram
public String getMigratedTransactionProgram()
Input only. Provided during the call to Create. Must only be used when migrating a subscription
from manual monthly reporting to automated reporting.
- Returns:
- value or
null
for none
-
setMigratedTransactionProgram
public RecurringExternalTransaction setMigratedTransactionProgram(String migratedTransactionProgram)
Input only. Provided during the call to Create. Must only be used when migrating a subscription
from manual monthly reporting to automated reporting.
- Parameters:
migratedTransactionProgram
- migratedTransactionProgram or null
for none
-
set
public RecurringExternalTransaction set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public RecurringExternalTransaction 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