Logo
Developer SDK
Version 1.9.632.913d652c-152450467.
package-info.java
1 /**
2  * Provides the interface for all communication between the payment terminal and Android
3  * applications.
4  *
5  * <p>Sending Messages:<br /> The developer must retrieve an instance of CommerceManager, and then
6  * open a session passing in the proper listener.<br /> The developer must create an instance of the
7  * CommerceMessage object that represents the specific message they want to send, allowing any kind
8  * of communication with the companion as desired.<br /> The developer will call send() on the
9  * CommerceMessage object, receiving an immediate status regarding the ability of the service to
10  * transmit the message.<br /> The developer will receive the response on the registered broadcast
11  * receiver.<br /></p>
12  *
13  * <p>Receiving Messages:<br /> Apps will receive messages from the terminal using a <a
14  * href="http://developer.android.com/reference/android/content/BroadcastReceiver.html">BroadcastReceiver</a>.
15  * The broadcast receiver for messages from apps to the terminal must be configured with the
16  * following manifest parameters, per <a href="http://developer.android.com/reference/android/R.styleable.html#AndroidManifestReceiver">AndroidManifestReceiver</a>.
17  * Additional receiver attributes are optional.<br /> <ul> <li>{@code android:enabled="true"}</li>
18  * <li>{@code android:exported="true"}</li> <li>{@code android:name="[name of receiving
19  * class]"}</li> <li>{@code android:permission="[vfi bundle].service.CpCommunications"}</li> </ul>
20  * </p>
21  *
22  * <p> Following is a list of the objects that are necessary to integrate a POS application. This
23  * includes basket-related functionality, but will be expanded in the future to handle CP
24  * Application responses and transaction modifications. <ul> <li>CommerceEvent.java</li>
25  * <li>CommerceListener.java</li> <li>Status.java</li> <li>apis/</li> <ul><li>none</li></ul>
26  * <li>entities/</li> <ul> <li>Basket.java</li> <li>CardInformation.java</li>
27  * <li>Merchandise.java</li> <li>Payment.java</li> <li>Transaction.java</li> </ul> <li>payment/</li>
28  * <ul> <li>BasketManager.java</li> <li>PaymentCompletedEvent.java</li> <li>Receipt.java</li>
29  * <li>ReceiptDeliveryMethodEvent.java</li> <li>TransactionEndedEvent.java</li>
30  * <li>TransactionEvent.java</li> <li>TransactionManager.java</li> <li>TransactionResponse.java</li>
31  * </ul> <li>triggers/</li> <ul><li>none</li></ul> </ul> </p>
32  */
33 
34 package com.verifone.commerce;

This document is the confidential property of Verifone, Inc. Any reproduction or distribution of this document, in whole or in part, or the disclosure of any of the information contained herein, without the prior written consent of Verifone, Inc. is prohibited. This document and any supplemental material supplied as part of any review must be returned to Verifone, Inc. upon request. Notice: This document may go through material revisions over time. While the Company will make every effort to keep readers updated as changes occur, care must be taken by the reader to make sure they are reading the latest version. Version numbers appear in the title page and revision history page of this document. All rights reserved. Verifone, the Verifone logo are either trademarks or registered trademarks of Verifone in the United States and/or other countries. All other trademarks or brand names are properties of their respective holders.