net.rim.blackberry.events.PaymentSuccessEvent

PaymentSuccessEvent

Properties | Constants


Packagenet.rim.blackberry.events
Classpublic class PaymentSuccessEvent
InheritancePaymentSuccessEvent Inheritance flash.events.Event

This event is dispatched when the purchase is a success.

Class information:
PlayBook Tablet OS Version:   1.0.6



Public Properties

 PropertyDefined By
  existingPurchases : Array
An array of previously successful purchases.
PaymentSuccessEvent
  price : Price
An object describing the price of the digital good.
PaymentSuccessEvent
  purchase : Purchase
Represents a successful in-app purchase.
PaymentSuccessEvent
  subscriptionExists : Boolean
A Boolean representing the fact that a subscription exists.
PaymentSuccessEvent

Public Constants

 ConstantDefined By
  CANCEL_SUBSCRIPTION_SUCCESS : String = cancelSubscriptionSuccess
[static] This event is thrown by PaymentSystem if the cancelSubscription request succeeds.
PaymentSuccessEvent
  CHECK_EXISTING_SUCCESS : String = checkExistingSuccess
[static] This event is thrown by PaymentSystem if the checkExisting request succeeds.
PaymentSuccessEvent
  GET_EXISTING_PURCHASES_SUCCESS : String = getExistingPurchasesSuccess
[static] This event is thrown by PaymentSystem if the getExistingPurchases request succeeds.
PaymentSuccessEvent
  GET_PRICE_SUCCESS : String = getPriceSuccess
[static] This event is thrown by PaymentSystem if the getPrice request succeeds.
PaymentSuccessEvent
  PURCHASE_SUCCESS : String = purchaseSuccess
[static] This event is thrown by PaymentSystem if the purchase request succeeds.
PaymentSuccessEvent

Property Detail

existingPurchases


public var existingPurchases:Array

An array of previously successful purchases. This will be populated with a successful getExistingPurchases() call.

price


public var price:Price

An object describing the price of the digital good. This will be populated with a successful getPrice() call.

purchase


public var purchase:Purchase

Represents a successful in-app purchase. This will be populated with a successful purchase() call.

subscriptionExists


public var subscriptionExists:Boolean

A Boolean representing the fact that a subscription exists. This will be populated with a successful checkExisting() call.

Constant Detail

CANCEL_SUBSCRIPTION_SUCCESS


public static const CANCEL_SUBSCRIPTION_SUCCESS:String = cancelSubscriptionSuccess

This event is thrown by PaymentSystem if the cancelSubscription request succeeds.

CHECK_EXISTING_SUCCESS


public static const CHECK_EXISTING_SUCCESS:String = checkExistingSuccess

This event is thrown by PaymentSystem if the checkExisting request succeeds.

GET_EXISTING_PURCHASES_SUCCESS


public static const GET_EXISTING_PURCHASES_SUCCESS:String = getExistingPurchasesSuccess

This event is thrown by PaymentSystem if the getExistingPurchases request succeeds.

GET_PRICE_SUCCESS


public static const GET_PRICE_SUCCESS:String = getPriceSuccess

This event is thrown by PaymentSystem if the getPrice request succeeds.

PURCHASE_SUCCESS


public static const PURCHASE_SUCCESS:String = purchaseSuccess

This event is thrown by PaymentSystem if the purchase request succeeds.