- Enclosing class:
- TdApi
Informs server about a purchase through
Google Play. For official applications only.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Application package name.Google Play purchase token.Transaction purpose.Identifier of the purchased store product. -
Constructor Summary
ConstructorDescriptionInforms server about a purchase through Google Play.Informs server about a purchase through Google Play.AssignGooglePlayTransaction
(String packageName, String storeProductId, String purchaseToken, TdApi.StorePaymentPurpose purpose) Informs server about a purchase through Google Play. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
packageName
Application package name. -
storeProductId
Identifier of the purchased store product. -
purchaseToken
Google Play purchase token. -
purpose
Transaction purpose. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AssignGooglePlayTransaction
public AssignGooglePlayTransaction()Informs server about a purchase through Google Play. For official applications only. ReturnsOk
-
AssignGooglePlayTransaction
public AssignGooglePlayTransaction(String packageName, String storeProductId, String purchaseToken, TdApi.StorePaymentPurpose purpose) Informs server about a purchase through Google Play. For official applications only. ReturnsOk
- Parameters:
packageName
- String Application package name.storeProductId
- String Identifier of the purchased store product.purchaseToken
- String Google Play purchase token.purpose
- StorePaymentPurpose Transaction purpose.
-
AssignGooglePlayTransaction
Informs server about a purchase through Google Play. For official applications only. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-