@Structure.FieldOrder(value={"ApiVersion","ServerIndex","CatalogNamespace","Id","TitleText","DescriptionText","LongDescriptionText","TechnicalDetailsText_DEPRECATED","CurrencyCode","PriceResult","OriginalPrice_DEPRECATED","CurrentPrice_DEPRECATED","DiscountPercentage","ExpirationTimestamp","PurchasedCount_DEPRECATED","PurchaseLimit","IsAvailableForPurchase","OriginalPrice64","CurrentPrice64","DecimalPoint","ReleaseDateTimestamp","EffectiveDateTimestamp"})
public class EOS_Ecom_CatalogOffer
extends com.sun.jna.Structure
implements java.lang.AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_Ecom_CatalogOffer.ByReference |
static class |
EOS_Ecom_CatalogOffer.ByValue |
| Modifier and Type | Field and Description |
|---|---|
int |
ApiVersion
API Version: Set this to
EOS_ECOM_CATALOGOFFER_API_LATEST. |
java.lang.String |
CatalogNamespace
Product namespace in which this offer exists
|
java.lang.String |
CurrencyCode
The Currency Code for this offer
|
int |
CurrentPrice_DEPRECATED
The current price including discounts of this offer as a 32-bit number is deprecated..
|
long |
CurrentPrice64
The current price including discounts of this offer as a 64-bit number.
|
int |
DecimalPoint
The decimal point for the provided price.
|
java.lang.String |
DescriptionText
Localized UTF-8 description of this offer
|
byte |
DiscountPercentage
A value from 0 to 100 define the percentage of the OrignalPrice that the CurrentPrice represents
|
long |
EffectiveDateTimestamp
Timestamp indicating the effective date of the offer.
|
static int |
EOS_ECOM_CATALOGOFFER_API_LATEST
The most recent version of the EOS_Ecom_CatalogOffer struct.
|
static int |
EOS_ECOM_CATALOGOFFER_EFFECTIVEDATETIMESTAMP_UNDEFINED
Timestamp value representing an undefined EffectiveDateTimestamp for EOS_Ecom_CatalogOffer
|
static int |
EOS_ECOM_CATALOGOFFER_EXPIRATIONTIMESTAMP_UNDEFINED
Timestamp value representing an undefined ExpirationTimestamp for EOS_Ecom_CatalogOffer
|
static int |
EOS_ECOM_CATALOGOFFER_RELEASEDATETIMESTAMP_UNDEFINED
Timestamp value representing an undefined ReleaseDateTimestamp for EOS_Ecom_CatalogOffer
|
long |
ExpirationTimestamp
Contains the POSIX timestamp that the offer expires or -1 if it does not expire
|
java.lang.String |
Id
The ID of this offer
|
EOS_Bool |
IsAvailableForPurchase
True if the user can purchase this offer.
|
java.lang.String |
LongDescriptionText
Localized UTF-8 long description of this offer
|
int |
OriginalPrice_DEPRECATED
The original price of this offer as a 32-bit number is deprecated.
|
long |
OriginalPrice64
The original price of this offer as a 64-bit number.
|
EOS_EResult |
PriceResult
If this value is EOS_Success then OriginalPrice, CurrentPrice, and DiscountPercentage contain valid data.
|
int |
PurchasedCount_DEPRECATED
The number of times that the requesting account has purchased this offer.
|
int |
PurchaseLimit
The maximum number of times that the offer can be purchased.
|
long |
ReleaseDateTimestamp
Timestamp indicating when the time when the offer was released.
|
int |
ServerIndex
The index of this offer as it exists on the server.
|
java.lang.String |
TechnicalDetailsText_DEPRECATED
Deprecated.
|
java.lang.String |
TitleText
Localized UTF-8 title of this offer
|
| Constructor and Description |
|---|
EOS_Ecom_CatalogOffer() |
EOS_Ecom_CatalogOffer(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_CATALOGOFFER_API_LATEST
public static final int EOS_ECOM_CATALOGOFFER_EXPIRATIONTIMESTAMP_UNDEFINED
public static final int EOS_ECOM_CATALOGOFFER_RELEASEDATETIMESTAMP_UNDEFINED
public static final int EOS_ECOM_CATALOGOFFER_EFFECTIVEDATETIMESTAMP_UNDEFINED
public int ApiVersion
EOS_ECOM_CATALOGOFFER_API_LATEST.public int ServerIndex
public java.lang.String CatalogNamespace
public java.lang.String Id
public java.lang.String TitleText
public java.lang.String DescriptionText
public java.lang.String LongDescriptionText
public java.lang.String TechnicalDetailsText_DEPRECATED
public java.lang.String CurrencyCode
public EOS_EResult PriceResult
public int OriginalPrice_DEPRECATED
public int CurrentPrice_DEPRECATED
public byte DiscountPercentage
public long ExpirationTimestamp
public int PurchasedCount_DEPRECATED
public int PurchaseLimit
public EOS_Bool IsAvailableForPurchase
public long OriginalPrice64
public long CurrentPrice64
public int DecimalPoint
public long ReleaseDateTimestamp
public long EffectiveDateTimestamp