Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DestinyVendorReceipt

If a character purchased an item that is refundable, a Vendor Receipt will be created on the user's Destiny Profile. These expire after a configurable period of time, but until then can be used to get refunds on items. BNet does not provide the ability to refund a purchase yet, but you know.

Hierarchy

  • DestinyVendorReceipt

Index

Properties

currencyPaid

currencyPaid: DestinyItemQuantity[]

The amount paid for the item, in terms of items that were consumed in the purchase and their quantity.

expiresOn

expiresOn: string

The date at which this receipt is rendered invalid.

itemReceived

itemReceived: DestinyItemQuantity

The item that was received, and its quantity.

licenseUnlockHash

licenseUnlockHash: number

The unlock flag used to determine whether you still have the purchased item.

purchasedByCharacterId

purchasedByCharacterId: string

The ID of the character who made the purchase.

refundPolicy

Whether you can get a refund, and what happens in order for the refund to be received. See the DestinyVendorItemRefundPolicy enum for details.

sequenceNumber

sequenceNumber: number

The identifier of this receipt.

timeToExpiration

timeToExpiration: string

The seconds since epoch at which this receipt is rendered invalid.