Package host.anzo.eossdk.eos.sdk.ecom
Class EOS_Ecom_CatalogItem
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.ecom.EOS_Ecom_CatalogItem
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
EOS_Ecom_CatalogItem.ByReference,EOS_Ecom_CatalogItem.ByValue
@FieldOrder({"ApiVersion","CatalogNamespace","Id","EntitlementName","TitleText","DescriptionText","LongDescriptionText","TechnicalDetailsText","DeveloperText","ItemType","EntitlementEndTimestamp"})
public class EOS_Ecom_CatalogItem
extends com.sun.jna.Structure
implements AutoCloseable
Contains information about a single item within the catalog. Instances of this structure are created
by
They must be passed to
EOS_Ecom_Interface.copyOfferItemByIndex(EOS_Ecom_CopyOfferItemByIndexOptions).They must be passed to
release()- Since:
- 8/20/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintAPI Version: Set this to EOS_ECOM_CATALOGITEM_API_LATEST.Product namespace in which this item existsLocalized UTF-8 description of this itemLocalized UTF-8 developer of this itemlongIf not -1 then this is the POSIX timestamp that the entitlement will endThe entitlement name associated with this itemstatic final intThe most recent version of the EOS_Ecom_CatalogItem struct.static final intTimestamp value representing an undefined EntitlementEndTimestamp for EOS_Ecom_CatalogItemThe ID of this itemThe type of item as defined in the catalogLocalized UTF-8 long description of this itemLocalized UTF-8 technical details of this itemLocalized UTF-8 title of this itemFields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
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, writeField
-
Field Details
-
EOS_ECOM_CATALOGITEM_API_LATEST
public static final int EOS_ECOM_CATALOGITEM_API_LATESTThe most recent version of the EOS_Ecom_CatalogItem struct.- See Also:
-
EOS_ECOM_CATALOGITEM_ENTITLEMENTENDTIMESTAMP_UNDEFINED
public static final int EOS_ECOM_CATALOGITEM_ENTITLEMENTENDTIMESTAMP_UNDEFINEDTimestamp value representing an undefined EntitlementEndTimestamp for EOS_Ecom_CatalogItem- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this to EOS_ECOM_CATALOGITEM_API_LATEST. -
CatalogNamespace
Product namespace in which this item exists -
Id
The ID of this item -
EntitlementName
The entitlement name associated with this item -
TitleText
Localized UTF-8 title of this item -
DescriptionText
Localized UTF-8 description of this item -
LongDescriptionText
Localized UTF-8 long description of this item -
TechnicalDetailsText
Localized UTF-8 technical details of this item -
DeveloperText
Localized UTF-8 developer of this item -
ItemType
The type of item as defined in the catalog -
EntitlementEndTimestamp
public long EntitlementEndTimestampIf not -1 then this is the POSIX timestamp that the entitlement will end
-
-
Constructor Details
-
EOS_Ecom_CatalogItem
public EOS_Ecom_CatalogItem() -
EOS_Ecom_CatalogItem
public EOS_Ecom_CatalogItem(com.sun.jna.Pointer peer)
-
-
Method Details
-
release
public void release() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-