Description
The ComponentPricing object represents special pricing for components when included in New Product Bundle. It allows for different pricing strategies and variable pricing options.
ℹ️ Note
This object supports custom data via the data attribute.
Attributes
| Attribute | Type | Description |
|---|---|---|
anchor_product |
Product | Returns the anchor Product this pricing is specific to (if any) |
component_product |
Product | Returns the component Product this pricing applies to |
deposit_amount |
Number | Returns the deposit amount required for this component |
earn_points |
Number | Returns the earn points earned for purchasing this component |
enable_variable_pricing? |
Boolean | Returns true if variable pricing is enabled for this component |
id |
String | Returns the unique id of this ComponentPricing |
on_sale? |
Boolean | Returns true if this component is currently on sale |
sale_price |
Number | Returns the sale price for this component |
unit_price |
Number | Returns the base unit price for this component |
variable_pricing_options |
Map | Returns the variable pricing configuration options |