Class Purchase#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Models.Purchase : xbe.sdk.EntityBase#

Describes a single product that has been purchased by a user.

REQUIRES: Purchasing Services

Public Functions

Purchase ()#
Purchase (Object obj)

Properties

Guid ProductUid { get; set; }#

The unique identifier of the product that has been subscribed to.

DateTime ExpirationDate { get; set; }#

The date and time that this purchase will expire. A null value indicates no expiration.

string Referral { get; set; }#

The unique identifier of the third party that referred this purchase sale.

DateTime RenewalDate { get; set; }#

The date and time that the purchase will be automatically renewed. A undefined value indicates that either th purchase does not require renewal(perpetual license) or will not be automatically renewed at the end of the licensing term.

DateTime StartDate { get; set; }#

The date and time that the license to the purchase began.

Object Data { get; set; }#

An arbitrary map of metadata associated with this purchase.

Guid WalletUid { get; set; }#

The unique identifier of the wallet that owns the product purchase.

Public Static Functions

new Purchase Parse (string json)#

Parses the given JSON encoded string into a new Purchase instance.

Param json:

Return: