Home > @infiniteobjects/data-types > PrintButtonAvailableVariant > calculatePrices
Calculates the prices or the pct based on the given PrintButtonPlatformPayoutMode
Signature:
calculatePrices(payoutMode: PrintButtonPlatformPayoutMode): PrintButtonAvailableVariant;
Parameter | Type | Description |
---|---|---|
payoutMode | PrintButtonPlatformPayoutMode |
Returns:
payoutArtistPct
is a getter on the class and does not depend on the PrintButtonPlatformPayoutMode
- payoutArtistDollars
is a getter on the class and does not depend on the PrintButtonPlatformPayoutMode