public class EOS_Ecom_Transaction
extends com.sun.jna.PointerType
implements java.lang.AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_Ecom_Transaction.ByReference |
static class |
EOS_Ecom_Transaction.ByValue |
| Constructor and Description |
|---|
EOS_Ecom_Transaction() |
EOS_Ecom_Transaction(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
EOS_Ecom_Entitlement |
copyEntitlementByIndex(EOS_Ecom_Transaction_CopyEntitlementByIndexOptions options)
Fetches an entitlement from a given index.
|
int |
getEntitlementsCount(EOS_Ecom_Transaction_GetEntitlementsCountOptions options)
Fetch the number of entitlements that are part of this transaction.
|
EOS_EResult |
getTransactionId(java.nio.ByteBuffer outBuffer,
java.nio.IntBuffer inOutBufferLength)
The Ecom Transaction Interface exposes getters for accessing information about a completed transaction.
|
void |
release()
Release the memory associated with an EOS_Ecom_HTransaction.
|
public EOS_Ecom_Transaction(com.sun.jna.Pointer address)
public EOS_Ecom_Transaction()
public EOS_EResult getTransactionId(java.nio.ByteBuffer outBuffer, java.nio.IntBuffer inOutBufferLength)
outBuffer - A buffer to receive the transaction ID stringinOutBufferLength - On input, the size of the out buffer.EOS_Ecom_CheckoutCallbackInfo,
EOS_Ecom_Interface.getTransactionCount(EOS_Ecom_GetTransactionCountOptions),
EOS_Ecom_Interface.copyTransactionByIndex(EOS_Ecom_CopyTransactionByIndexOptions)public int getEntitlementsCount(EOS_Ecom_Transaction_GetEntitlementsCountOptions options)
options - structure containing the Epic Account ID being accessedcopyEntitlementByIndex(EOS_Ecom_Transaction_CopyEntitlementByIndexOptions)public EOS_Ecom_Entitlement copyEntitlementByIndex(EOS_Ecom_Transaction_CopyEntitlementByIndexOptions options) throws EOSException
options - structure containing the index being accessedEOSEcomEntitlementStaleException - if the entitlement information is stale and passed out in OutEntitlementEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the entitlement is not foundEOSExceptionEOS_Ecom_Entitlement.release()public void release()
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception