stack

Home > @infiniteobjects/models > TokenClaimModel

TokenClaimModel class

Token Claim Campaign Model

Signature:

export declare class TokenClaimModel extends BaseFirebaseEntity implements ITokenClaimSchema, ITokenClaim 

Extends: BaseFirebaseEntity

Implements: ITokenClaimSchema, ITokenClaim

Properties

Property Modifiers Type Description
campaignId   string ID of the token claim campaign
claimed   boolean Is the token claimed
claimerEmail   Nullable<string> Email address of who is gonna claim this NFT
claimUrl   Nullable<string> Linkdrop claim URL
emailSent   boolean Has the email being send?
fullfilled   boolean Is the print fullfilled
id   string Unique identifier
masterId   Nullable<string> Master Id
printId   Nullable<string> Video Print Id
schemaVersion   TokenClaimSchemaVersion Schema Version
shopifyLineItemId   Nullable<number> Shopify LineItem associated with this claim
shopifyOrderId   Nullable<number> Shopify Order associated with this claim
shopifyOrderNumber   Nullable<number> Shopify Order number associated with this claim
state readonly TokenClaimState Token Claim State
tokenId   number Token Id

Methods

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