> For the complete documentation index, see [llms.txt](https://docs.oscwii.org/wii-shop-channel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oscwii.org/wii-shop-channel/js/ec.md).

# EC

EC, short for ECommerce, is understandably the most crucial part of the Wii Shop Channel. As such, its family of functions and objects comprise most of the JS API and binary within, separated across many separate mechanics. Each object available is listed below.

While every object can be instantiated by itself, data available populated within the majority objects - such as [ECDeviceInfo](/wii-shop-channel/js/ec/ecdeviceinfo.md) or [ECProgress](/wii-shop-channel/js/ec/ecprogress.md) - will only be present when returned from a function in [ECommerceInterface](/wii-shop-channel/js/ec/ecommerceinterface.md). Ensure you read the object's respective documentation for the correct way to utilize one.

## Objects

### Common

These objects provide general functionality for all of the EC interface.

* [ECommerceInterface](/wii-shop-channel/js/ec/ecommerceinterface.md)
* [ECDeviceInfo](/wii-shop-channel/js/ec/ecdeviceinfo.md)
* [ECProgress](/wii-shop-channel/js/ec/ecprogress.md)

### Payment

Payment-related objects provide multiple source of payments - via credit cards, "ECards" (known as a Wii Points Card officially) or the existing account balance. It's additionally possible to work with information about an existing transaction.

* [ECCreditCardPayment](/wii-shop-channel/js/ec/payment-objects/eccreditcardpayment.md)
* [ECCreditCardEncryptedPayment](/wii-shop-channel/js/ec/payment-objects/eccreditcardencryptedpayment.md)
* [ECECardPayment](/wii-shop-channel/js/ec/payment-objects/ececardpayment.md)
* [ECAccountPayment](/wii-shop-channel/js/ec/payment-objects/ecaccountpayment.md)
* [ECPrice](/wii-shop-channel/js/ec/payment-objects/ecprice.md)
* [ECTransactionInfo](/wii-shop-channel/js/ec/payment-objects/ectransactioninfo.md), and [ECTransactionInfos](/wii-shop-channel/js/ec/payment-objects/ectransactioninfo.md#ectransactioninfo).

### Title

Title-related objects provide functionality for querying title information, ticket information, and title limit information.

* [ECTitleLimit](/wii-shop-channel/js/ec/title-objects/ectitlelimit.md), and [ECTitleLimits](/wii-shop-channel/js/ec/title-objects/ectitlelimit.md#ectitlelimits)
* [ECTitleInfo](/wii-shop-channel/js/ec/title-objects/ectitleinfo.md), and [ECTitleInfos](/wii-shop-channel/js/ec/title-objects/ectitleinfo.md#ectitleinfos)
* [ECTicketInfo](/wii-shop-channel/js/ec/title-objects/ecticketinfo.md), and [ECTicketInfos](/wii-shop-channel/js/ec/title-objects/ecticketinfo.md#ecticketinfos)
