public interface ValidatedSubscriptionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getActive()
Whether the subscription is currently active or not.
|
com.google.protobuf.Timestamp |
getCreateTime()
UNIX Timestamp when the receipt validation was stored in DB.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
UNIX Timestamp when the receipt validation was stored in DB.
|
StoreEnvironment |
getEnvironment()
Whether the purchase was done in production or sandbox environment.
|
int |
getEnvironmentValue()
Whether the purchase was done in production or sandbox environment.
|
com.google.protobuf.Timestamp |
getExpiryTime()
Subscription expiration time.
|
com.google.protobuf.TimestampOrBuilder |
getExpiryTimeOrBuilder()
Subscription expiration time.
|
java.lang.String |
getOriginalTransactionId()
Purchase Original transaction ID (we only keep track of the original subscription, not subsequent renewals).
|
com.google.protobuf.ByteString |
getOriginalTransactionIdBytes()
Purchase Original transaction ID (we only keep track of the original subscription, not subsequent renewals).
|
java.lang.String |
getProductId()
Purchase Product ID.
|
com.google.protobuf.ByteString |
getProductIdBytes()
Purchase Product ID.
|
java.lang.String |
getProviderNotification()
Raw provider notification body.
|
com.google.protobuf.ByteString |
getProviderNotificationBytes()
Raw provider notification body.
|
java.lang.String |
getProviderResponse()
Raw provider validation response body.
|
com.google.protobuf.ByteString |
getProviderResponseBytes()
Raw provider validation response body.
|
com.google.protobuf.Timestamp |
getPurchaseTime()
UNIX Timestamp when the purchase was done.
|
com.google.protobuf.TimestampOrBuilder |
getPurchaseTimeOrBuilder()
UNIX Timestamp when the purchase was done.
|
com.google.protobuf.Timestamp |
getRefundTime()
Subscription refund time.
|
com.google.protobuf.TimestampOrBuilder |
getRefundTimeOrBuilder()
Subscription refund time.
|
StoreProvider |
getStore()
Store identifier
|
int |
getStoreValue()
Store identifier
|
com.google.protobuf.Timestamp |
getUpdateTime()
UNIX Timestamp when the receipt validation was updated in DB.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
UNIX Timestamp when the receipt validation was updated in DB.
|
java.lang.String |
getUserId()
Subscription User ID.
|
com.google.protobuf.ByteString |
getUserIdBytes()
Subscription User ID.
|
boolean |
hasCreateTime()
UNIX Timestamp when the receipt validation was stored in DB.
|
boolean |
hasExpiryTime()
Subscription expiration time.
|
boolean |
hasPurchaseTime()
UNIX Timestamp when the purchase was done.
|
boolean |
hasRefundTime()
Subscription refund time.
|
boolean |
hasUpdateTime()
UNIX Timestamp when the receipt validation was updated in DB.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getUserId()
Subscription User ID.
string user_id = 1 [json_name = "userId"];com.google.protobuf.ByteString getUserIdBytes()
Subscription User ID.
string user_id = 1 [json_name = "userId"];java.lang.String getProductId()
Purchase Product ID.
string product_id = 2 [json_name = "productId"];com.google.protobuf.ByteString getProductIdBytes()
Purchase Product ID.
string product_id = 2 [json_name = "productId"];java.lang.String getOriginalTransactionId()
Purchase Original transaction ID (we only keep track of the original subscription, not subsequent renewals).
string original_transaction_id = 3 [json_name = "originalTransactionId"];com.google.protobuf.ByteString getOriginalTransactionIdBytes()
Purchase Original transaction ID (we only keep track of the original subscription, not subsequent renewals).
string original_transaction_id = 3 [json_name = "originalTransactionId"];int getStoreValue()
Store identifier
.nakama.api.StoreProvider store = 4 [json_name = "store"];StoreProvider getStore()
Store identifier
.nakama.api.StoreProvider store = 4 [json_name = "store"];boolean hasPurchaseTime()
UNIX Timestamp when the purchase was done.
.google.protobuf.Timestamp purchase_time = 5 [json_name = "purchaseTime"];com.google.protobuf.Timestamp getPurchaseTime()
UNIX Timestamp when the purchase was done.
.google.protobuf.Timestamp purchase_time = 5 [json_name = "purchaseTime"];com.google.protobuf.TimestampOrBuilder getPurchaseTimeOrBuilder()
UNIX Timestamp when the purchase was done.
.google.protobuf.Timestamp purchase_time = 5 [json_name = "purchaseTime"];boolean hasCreateTime()
UNIX Timestamp when the receipt validation was stored in DB.
.google.protobuf.Timestamp create_time = 6 [json_name = "createTime"];com.google.protobuf.Timestamp getCreateTime()
UNIX Timestamp when the receipt validation was stored in DB.
.google.protobuf.Timestamp create_time = 6 [json_name = "createTime"];com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
UNIX Timestamp when the receipt validation was stored in DB.
.google.protobuf.Timestamp create_time = 6 [json_name = "createTime"];boolean hasUpdateTime()
UNIX Timestamp when the receipt validation was updated in DB.
.google.protobuf.Timestamp update_time = 7 [json_name = "updateTime"];com.google.protobuf.Timestamp getUpdateTime()
UNIX Timestamp when the receipt validation was updated in DB.
.google.protobuf.Timestamp update_time = 7 [json_name = "updateTime"];com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
UNIX Timestamp when the receipt validation was updated in DB.
.google.protobuf.Timestamp update_time = 7 [json_name = "updateTime"];int getEnvironmentValue()
Whether the purchase was done in production or sandbox environment.
.nakama.api.StoreEnvironment environment = 8 [json_name = "environment"];StoreEnvironment getEnvironment()
Whether the purchase was done in production or sandbox environment.
.nakama.api.StoreEnvironment environment = 8 [json_name = "environment"];boolean hasExpiryTime()
Subscription expiration time. The subscription can still be auto-renewed to extend the expiration time further.
.google.protobuf.Timestamp expiry_time = 9 [json_name = "expiryTime"];com.google.protobuf.Timestamp getExpiryTime()
Subscription expiration time. The subscription can still be auto-renewed to extend the expiration time further.
.google.protobuf.Timestamp expiry_time = 9 [json_name = "expiryTime"];com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder()
Subscription expiration time. The subscription can still be auto-renewed to extend the expiration time further.
.google.protobuf.Timestamp expiry_time = 9 [json_name = "expiryTime"];boolean hasRefundTime()
Subscription refund time. If this time is set, the subscription was refunded.
.google.protobuf.Timestamp refund_time = 10 [json_name = "refundTime"];com.google.protobuf.Timestamp getRefundTime()
Subscription refund time. If this time is set, the subscription was refunded.
.google.protobuf.Timestamp refund_time = 10 [json_name = "refundTime"];com.google.protobuf.TimestampOrBuilder getRefundTimeOrBuilder()
Subscription refund time. If this time is set, the subscription was refunded.
.google.protobuf.Timestamp refund_time = 10 [json_name = "refundTime"];java.lang.String getProviderResponse()
Raw provider validation response body.
string provider_response = 11 [json_name = "providerResponse"];com.google.protobuf.ByteString getProviderResponseBytes()
Raw provider validation response body.
string provider_response = 11 [json_name = "providerResponse"];java.lang.String getProviderNotification()
Raw provider notification body.
string provider_notification = 12 [json_name = "providerNotification"];com.google.protobuf.ByteString getProviderNotificationBytes()
Raw provider notification body.
string provider_notification = 12 [json_name = "providerNotification"];boolean getActive()
Whether the subscription is currently active or not.
bool active = 13 [json_name = "active"];