Interface AirshipPurchaseReceipt

Describes a transaction that has been authorized by a user.

interface AirshipPurchaseReceipt {
    createdAt: string;
    id: string;
    price: number;
    productId: string;
    purchaserUid: string;
    quantity: number;
    receiverUid: string;
    total: number;
}

Properties

createdAt: string

The time the transaction was authorized by the user as an ISO timestamp.

id: string

ID of the transaction. Equivalent to receiptId

price: number

The price of the product at the time of purchase.

productId: string

The ID of the product that was purchased.

purchaserUid: string

The user who paid for this product.

quantity: number

The quantity of product purchased.

receiverUid: string

The user who is receiving this product.

total: number

The total price paid by the purchaser.