Constructor PurchasableDetailDefinition
PurchasableDetailDefinition(Price, Payout, string, string)
Sets up a detail for a single price and single payout. Also has optional parameters for default source and destination overrides.
Declaration
public PurchasableDetailDefinition(Price price, Payout payout, string defaultSourceInventoryId = "", string defaultDestinationInventoryId = "")
Parameters
| Type | Name | Description |
|---|---|---|
| Price | price | The price to use. |
| Payout | payout | The payout to use. |
| string | defaultSourceInventoryId | Inventory to look in for inputs. |
| string | defaultDestinationInventoryId | Inventory to look in for outputs. |
PurchasableDetailDefinition(List<Price>, Payout, string, string)
Sets up a detail for multiple price points and a single payout. Also has optional parameters for default source and destination overrides.
Declaration
public PurchasableDetailDefinition(List<Price> prices, Payout payout, string defaultSourceInventoryId = "", string defaultDestinationInventoryId = "")
Parameters
| Type | Name | Description |
|---|---|---|
| List<Price> | prices | The prices to use for this detail. |
| Payout | payout | The payout to use. |
| string | defaultSourceInventoryId | Inventory to look in for inputs. |
| string | defaultDestinationInventoryId | Inventory to look in for outputs. |