stack

Home > @infiniteobjects/data-types > PrintButtonAvailableVariant

PrintButtonAvailableVariant class

PrintButtonAvailableVariant

Signature:

export declare class PrintButtonAvailableVariant implements IPrintButtonAvailableVariant 

Implements: IPrintButtonAvailableVariant

Properties

Property Modifiers Type Description
id   Nullable<string> Shopify Variant Id
image   Nullable<IStorageObject> Image Attached to this variant
launchDate   Nullable<Date> Variant Launch date
material   DeviceMaterial The material of the device
payoutArtistDollars   number Profit shared with the Artist (in usd)
payoutArtistPct   number Profit shared with the Artist (in pct)
payoutPlatformDollars   number Profit shared with the Platform (in usd)
payoutPlatformManagerDollars   number Profit shared with the Platform Manager service (in usd)
payoutPlatformManagerPct   number Profit shared with the Platform Manager service (in pct)
payoutPlatformPct   number Profit shared with the Platform (in pct)
price   float The price of this variant (in usd)
priceInEth   number Current Price of the variant in ETH
priceTier   AvailableVariantTierPrice The Price tier for Artist payouts
size   DeviceSize The size of the device
sku   string SKU of this variant
syncCryptoPrices   boolean Does this variant presents prices in Crypto?
title   Nullable<string> Variant title

Methods

Method Modifiers Description
calculatePrices(payoutMode)   Calculates the prices or the pct based on the given PrintButtonPlatformPayoutMode
getId()   Returns an identifier