LogoLogo
HomeLibraryDonateAbout
  • Introduction
  • JS
    • EC
      • ECommerceInterface
      • ECDeviceInfo
      • ECProgress
      • Payment Objects
        • ECPrice
        • ECCreditCardPayment
        • ECCreditCardEncryptedPayment
        • ECECardPayment
        • ECAccountPayment
        • ECTransactionInfo
      • Title Objects
        • ECTitleLimit
        • ECTitleInfo
        • ECTicketInfo
    • DL Tasks
    • Keyboard
    • Mii
    • NWC24
    • SD Card
    • Shop
    • Sound
  • SOAP
    • Base Format
    • IAS
      • CheckRegistration
      • GetRegistrationInfo
      • SyncRegistration
      • GetChallenge
      • Register
      • Unregister
    • ECS
      • AcceptGiftTitle
      • ConfirmCSS
      • CheckAccountBalance
      • CheckDeviceStatus
      • DeleteETickets
      • GetECConfig
      • GetETickets
      • GiftTitle
      • ListETickets
      • ListPurchaseHistory
      • MigrateETickets
      • MigratePoints
      • NotifyETicketsSynced
      • PurchaseTitle
      • PurchasePoints
      • RedeemAllSCATitles
    • CAS
      • GetCountryAttributes
      • ListContentSets
      • ListContentSetGroups
Powered by GitBook
On this page
  • Properties
  • ECTransactionInfos
  • Properties

Was this helpful?

  1. JS
  2. EC
  3. Payment Objects

ECTransactionInfo

PreviousECAccountPaymentNextTitle Objects

Last updated 3 years ago

Was this helpful?

If you want to query transaction info, you utilize an ECTransactionInfo object. You likely do not want to instantiate one yourself, instead retrieving transactions from the server via :

var infos = ec.getTransactionInfos();

// Ensure you check infos.length. In this example, we do not.
var info = infos.get(0);

Properties

This array is considered immutable, and cannot be modified. Properties may only be retrieved.

Property Name
Discussion

info.id

The ID of this transaction.

info.date

A UNIX timestamp representing when this transaction occurred.

info.type

A string representing its type, such as PURCHGAME. It is unknown what types are available, as the client and frontend do not appear to check this field.

ECTransactionInfos

ECTransactionInfos manages multiple of an ECTransactionInfo. It is regarded as immutable.

var infos = ec.getTransactionInfos();

Properties

Property Name
Discussion

infos.length

Returns the amount of available transactions in this array.

infos.get(index)

infos.set

This array is considered immutable. Despite it existing, attempting to call or access this property results in an error.

Retrieves the at the given index.

ECommerceInterface
ECTransactionInfo