public interface ValidatedPurchaseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.Timestamp |
getCreateTime()
Timestamp when the receipt validation was stored in DB.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
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.
|
java.lang.String |
getProductId()
Purchase Product ID.
|
com.google.protobuf.ByteString |
getProductIdBytes()
Purchase Product ID.
|
java.lang.String |
getProviderResponse()
Raw provider validation response.
|
com.google.protobuf.ByteString |
getProviderResponseBytes()
Raw provider validation response.
|
com.google.protobuf.Timestamp |
getPurchaseTime()
Timestamp when the purchase was done.
|
com.google.protobuf.TimestampOrBuilder |
getPurchaseTimeOrBuilder()
Timestamp when the purchase was done.
|
com.google.protobuf.Timestamp |
getRefundTime()
Timestamp when the purchase was refunded.
|
com.google.protobuf.TimestampOrBuilder |
getRefundTimeOrBuilder()
Timestamp when the purchase was refunded.
|
boolean |
getSeenBefore()
Whether the purchase had already been validated by Nakama before.
|
StoreProvider |
getStore()
Store identifier
|
int |
getStoreValue()
Store identifier
|
java.lang.String |
getTransactionId()
Purchase Transaction ID.
|
com.google.protobuf.ByteString |
getTransactionIdBytes()
Purchase Transaction ID.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Timestamp when the receipt validation was updated in DB.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Timestamp when the receipt validation was updated in DB.
|
java.lang.String |
getUserId()
Purchase User ID.
|
com.google.protobuf.ByteString |
getUserIdBytes()
Purchase User ID.
|
boolean |
hasCreateTime()
Timestamp when the receipt validation was stored in DB.
|
boolean |
hasPurchaseTime()
Timestamp when the purchase was done.
|
boolean |
hasRefundTime()
Timestamp when the purchase was refunded.
|
boolean |
hasUpdateTime()
Timestamp when the receipt validation was updated in DB.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getUserId()
Purchase User ID.
string user_id = 1 [json_name = "userId"];
com.google.protobuf.ByteString getUserIdBytes()
Purchase 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 getTransactionId()
Purchase Transaction ID.
string transaction_id = 3 [json_name = "transactionId"];
com.google.protobuf.ByteString getTransactionIdBytes()
Purchase Transaction ID.
string transaction_id = 3 [json_name = "transactionId"];
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()
Timestamp when the purchase was done.
.google.protobuf.Timestamp purchase_time = 5 [json_name = "purchaseTime"];
com.google.protobuf.Timestamp getPurchaseTime()
Timestamp when the purchase was done.
.google.protobuf.Timestamp purchase_time = 5 [json_name = "purchaseTime"];
com.google.protobuf.TimestampOrBuilder getPurchaseTimeOrBuilder()
Timestamp when the purchase was done.
.google.protobuf.Timestamp purchase_time = 5 [json_name = "purchaseTime"];
boolean hasCreateTime()
Timestamp when the receipt validation was stored in DB.
.google.protobuf.Timestamp create_time = 6 [json_name = "createTime"];
com.google.protobuf.Timestamp getCreateTime()
Timestamp when the receipt validation was stored in DB.
.google.protobuf.Timestamp create_time = 6 [json_name = "createTime"];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when the receipt validation was stored in DB.
.google.protobuf.Timestamp create_time = 6 [json_name = "createTime"];
boolean hasUpdateTime()
Timestamp when the receipt validation was updated in DB.
.google.protobuf.Timestamp update_time = 7 [json_name = "updateTime"];
com.google.protobuf.Timestamp getUpdateTime()
Timestamp when the receipt validation was updated in DB.
.google.protobuf.Timestamp update_time = 7 [json_name = "updateTime"];
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Timestamp when the receipt validation was updated in DB.
.google.protobuf.Timestamp update_time = 7 [json_name = "updateTime"];
boolean hasRefundTime()
Timestamp when the purchase was refunded. Set to UNIX
.google.protobuf.Timestamp refund_time = 8 [json_name = "refundTime"];
com.google.protobuf.Timestamp getRefundTime()
Timestamp when the purchase was refunded. Set to UNIX
.google.protobuf.Timestamp refund_time = 8 [json_name = "refundTime"];
com.google.protobuf.TimestampOrBuilder getRefundTimeOrBuilder()
Timestamp when the purchase was refunded. Set to UNIX
.google.protobuf.Timestamp refund_time = 8 [json_name = "refundTime"];
java.lang.String getProviderResponse()
Raw provider validation response.
string provider_response = 9 [json_name = "providerResponse"];
com.google.protobuf.ByteString getProviderResponseBytes()
Raw provider validation response.
string provider_response = 9 [json_name = "providerResponse"];
int getEnvironmentValue()
Whether the purchase was done in production or sandbox environment.
.nakama.api.StoreEnvironment environment = 10 [json_name = "environment"];
StoreEnvironment getEnvironment()
Whether the purchase was done in production or sandbox environment.
.nakama.api.StoreEnvironment environment = 10 [json_name = "environment"];
boolean getSeenBefore()
Whether the purchase had already been validated by Nakama before.
bool seen_before = 11 [json_name = "seenBefore"];