stack

Home > @infiniteobjects/models > TokenGatedProductSaleModel

TokenGatedProductSaleModel class

Token Gated Product Sale Model

Signature:

export declare class TokenGatedProductSaleModel extends BaseFirebaseEntity implements ITokenGatedProductSale, ITokenGatedProductSaleSchema 

Extends: BaseFirebaseEntity

Implements: ITokenGatedProductSale, ITokenGatedProductSaleSchema

Properties

Property Modifiers Type Description
blockchain   TokenGatedProductSupportedBlockchains Blockchain
blockchainNetwork   BlockchainNetwork BlockchainNetwork
campaignId   string ID of the token gated product campaign
contractAddress   string Address of the contract of the unlocking token.
customerEmail   Nullable<string> Shopify order id
dateCreated   Date The date the entity was created.
datePurchased   Date Shopify order id
dateUpdated   Date The date the entity was Updated.
id   string Unique identifier
ownerAddress   string Address of the owner of the unlocking token
printId   string Video PrintId Associated with this sale
schemaVersion   TokenGatedProductSaleSchemaVersion Schema Version
shopifyLineItemId   string Shopify order id
shopifyOrderId   string Shopify order id
shopifyOrderNumber   string Shopify order id
shopifyProductId   string Shopify order id
shopifyVariantId   string Shopify order id
tokenId   string Token used to unlock the product

Methods

Method Modifiers Description
toEmbedded()   Serializes this class as an simplified object
toModel()   Serializes this class back to the model
toSchema()   Serializes this class to the Schema type