WalletTransactionItemBase Class

WalletTransactionItemBase Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The base class for transactional wallet items.

Namespace:  Microsoft.Phone.Wallet
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public abstract class WalletTransactionItemBase : WalletItem, 
	IWalletTransactionHistory, ISecureElementItem

The WalletTransactionItemBase type exposes the following members.

Public propertyBackgroundColorGets or sets the background color for the front of the card view.
Public propertyBarcodeImageGets or sets an image that represents the barcode of the wallet item. (Inherited from WalletItem.)
Public propertyBillingAddressGets or sets the user’s billing address.
Public propertyBillingPhoneGets or sets the user’s phone number.
Public propertyCustomerNameGets or sets the customer name of the wallet item. (Inherited from WalletItem.)
Public propertyCustomPropertiesGets the collection of CustomWalletProperty objects associated with the wallet item. (Inherited from WalletItem.)
Public propertyDisplayAvailableBalanceGets or sets the card’s available balance.
Public propertyDisplayAvailableCreditGets or sets the available credit on this card.
Public propertyDisplayBalanceGets or sets the balance on this card.
Public propertyDisplayCreditLimitGets or sets the card’s credit limit.
Public propertyDisplayNameGets or sets the name or title to be displayed to the user. (Inherited from WalletItem.)
Public propertyIdGets the Id of the wallet item. (Inherited from WalletItem.)
Public propertyIsAcknowledgedGets or sets whether this item has been acknowledged by the app. Default value is false, meaning the item is new. (Inherited from WalletItem.)
Public propertyIssuerAddressGets the address of the card issuer.
Public propertyIssuerNameGets or sets the issuer name of the wallet item. (Inherited from WalletItem.)
Public propertyIssuerPhoneGets the phone number of the card issuer.
Public propertyIssuerWebsiteGets or sets the full, http or https, URI for the issuer’s web site. (Inherited from WalletItem.)
Public propertyIsUserAttentionRequiredGets a value that indicates whether a user attention required notification is visible to the user. (Inherited from WalletItem.)
Public propertyLastUpdatedGets or sets the date and time the data for this item was last updated. (Inherited from WalletItem.)
Public propertyLogo159x159Gets or sets the medium (159 x 159) logo of the wallet item. (Inherited from WalletItem.)
Public propertyLogo336x336Gets or sets the large (336 x 336) logo of the wallet item. (Inherited from WalletItem.)
Public propertyLogo99x99Gets or sets the small (99 x 99) logo of the wallet item. (Inherited from WalletItem.)
Public propertyMessageGets or sets the status message of the wallet item. (Inherited from WalletItem.)
Public propertyMessageNavigationUriGets or sets Uri of the app to launch when the user taps the status message. (Inherited from WalletItem.)
Public propertyNavigationUriGets or sets a relative URI to a page in the app. (Inherited from WalletItem.)
Public propertyNicknameGets or sets a user-supplied nickname for this card.
Public propertyNotesGets or sets the notes for the wallet item (Inherited from WalletItem.)
Public propertySecureElementPropertiesGets Secure Element properties for this card.
Public propertySupportedUsagesGets the abilities of this card, whether it can be used with NFC or to purchase in the Windows Phone Store.
Public propertyTransactionHistoryGets the ordered list of transaction history items for this card.
Public propertyTransactionHistoryNavigationUriGets or sets the URI that the user can navigate in order to get more transaction history.
Public propertyUserImageGets or sets the user image of the wallet item. (Inherited from WalletItem.)

Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodNotifyActivationAuthenticationCompletedThis method is called when user authentication for item activation has been completed.
Public methodSaveAsyncAsynchronously saves changes to the wallet item. If this item is a Deal and the item is not in the Wallet, it will be added. If the item is a PaymentInstrument, WalletTransactionItem or an OnlinePaymentInstrument, you can only use this method to update the item if it already exists in the Wallet, otherwise an exception will be thrown. To add a new instance of PaymentInstrument or WalletTransactionItem, use the AddWalletItemTask. For more information, see How to use the add Wallet item task for Windows Phone 8. (Inherited from WalletItem.)
Public methodSetUserAttentionRequiredNotificationSets or clears the notification for the wallet item. (Inherited from WalletItem.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUndoUndoes all changes to the wallet item since the last time SaveAsync was called. (Inherited from WalletItem.)
Public methodUpdateIdUpdates the Id of the wallet item. (Inherited from WalletItem.)


If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.


Windows Phone 8

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

© 2017 Microsoft