@Structure.FieldOrder(value={"ApiVersion","EntitlementName","EntitlementId","CatalogItemId","ServerIndex","IsRedeemed","EndTimestamp"})
public class EOS_Ecom_Entitlement
extends com.sun.jna.Structure
implements java.lang.AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_Ecom_Entitlement.ByReference |
static class |
EOS_Ecom_Entitlement.ByValue |
| Modifier and Type | Field and Description |
|---|---|
int |
ApiVersion
API Version: Set this to
EOS_ECOM_ENTITLEMENT_API_LATEST. |
java.lang.String |
CatalogItemId
ID of the item associated with the offer which granted this entitlement
|
long |
EndTimestamp
If not -1 then this is a POSIX timestamp that this entitlement will end
|
java.lang.String |
EntitlementId
ID of the entitlement owned by an account
|
java.lang.String |
EntitlementName
Name of the entitlement
|
static int |
EOS_ECOM_ENTITLEMENT_API_LATEST
The most recent version of the EOS_Ecom_Entitlement struct.
|
static int |
EOS_ECOM_ENTITLEMENT_ENDTIMESTAMP_UNDEFINED
Timestamp value representing an undefined EndTimestamp for EOS_Ecom_Entitlement
|
EOS_Bool |
IsRedeemed
If true then the catalog has this entitlement marked as redeemed
|
int |
ServerIndex
If queried using pagination then ServerIndex represents the index of the entitlement as it
exists on the server.
|
| Constructor and Description |
|---|
EOS_Ecom_Entitlement() |
EOS_Ecom_Entitlement(com.sun.jna.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
release() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeFieldpublic static final int EOS_ECOM_ENTITLEMENT_API_LATEST
public static final int EOS_ECOM_ENTITLEMENT_ENDTIMESTAMP_UNDEFINED
public int ApiVersion
EOS_ECOM_ENTITLEMENT_API_LATEST.public java.lang.String EntitlementName
public java.lang.String EntitlementId
public java.lang.String CatalogItemId
public int ServerIndex
public EOS_Bool IsRedeemed
public long EndTimestamp