# selling_plan_allocation
Information about how a specific [selling plan](https://shopify.dev/apps/subscriptions/selling-plans) affects a line item.
To learn about supporting selling plans in your theme, refer to [Purchase options](https://shopify.dev/themes/pricing-payments/purchase-options).
## Properties
### checkout_charge_amount
**Type:** number
The amount charged to the customer at checkout in the currency's subunit, displayed in the customer's local currency. Use [money filters](https://shopify.dev/docs/api/liquid/filters/money-filters) to format the price for display.
### compare_at_price
**Type:** number
The **compare at** price of the selling plan allocation in the currency's subunit. This represents the line item's price before the selling plan is applied, shown in the customer's local currency. For currencies without subunits (JPY, KRW), tenths and hundredths are appended. Use [money filters](https://shopify.dev/docs/api/liquid/filters/money-filters) for formatting.
### per_delivery_price
**Type:** number
The price for each delivery within the selling plan, in the currency's subunit. For multi-delivery plans, this equals the total price divided by delivery count. Displayed in the customer's local currency. Use [money filters](https://shopify.dev/docs/api/liquid/filters/money-filters) to format.
### price
**Type:** number
The selling plan allocation's price in the currency's subunit, shown in the customer's local currency. Use [money filters](https://shopify.dev/docs/api/liquid/filters/money-filters) for formatting.
### price_adjustments
**Type:** array of [selling_plan_allocation_price_adjustment](https://shopify.dev/docs/api/liquid/objects/selling_plan_allocation_price_adjustment)
Price adjustments for the selling plan allocation. The array contains a maximum of two items; it's empty if the selling plan creates no adjustments. Each item maps to a corresponding entry in the selling plan's price adjustments array.
### remaining_balance_charge_amount
**Type:** number
The remaining balance the customer must pay, in the currency's subunit, shown in the customer's local currency. Use [money filters](https://shopify.dev/docs/api/liquid/filters/money-filters) for formatting.
### selling_plan
**Type:** [selling_plan](https://shopify.dev/docs/api/liquid/objects/selling_plan)
The selling plan associated with this allocation.
### selling_plan_group_id
**Type:** string
The ID of the [selling_plan_group](https://shopify.dev/docs/api/liquid/objects/selling_plan_group) containing this allocation's selling plan.
### unit_price
**Type:** number
The [unit price](https://shopify.dev/docs/api/liquid/objects/variant#variant-unit_price) of the associated variant, in the currency's subunit. Returns `nil` if the variant lacks a unit price. Displayed in the customer's local currency. Use [money filters](https://shopify.dev/docs/api/liquid/filters/money-filters) for formatting.
## Returned by
- [line_item.selling_plan_allocation](https://shopify.dev/docs/api/liquid/objects/line_item#line_item-selling_plan_allocation)
- [variant.selling_plan_allocations](https://shopify.dev/docs/api/liquid/objects/variant#variant-selling_plan_allocations)
- [product.selected_selling_plan_allocation](https://shopify.dev/docs/api/liquid/objects/product#product-selected_selling_plan_allocation)
- [product.selected_or_first_available_selling_plan_allocation](https://shopify.dev/docs/api/liquid/objects/product#product-selected_or_first_available_selling_plan_allocation)
- [variant.selected_selling_plan_allocation](https://shopify.dev/docs/api/liquid/objects/variant#variant-selected_selling_plan_allocation)
- [remote_product.selected_selling_plan_allocation](https://shopify.dev/docs/api/liquid/objects/remote_product#remote_product-selected_selling_plan_allocation)
- [remote_product.selected_or_first_available_selling_plan_allocation](https://shopify.dev/docs/api/liquid/objects/remote_product#remote_product-selected_or_first_available_selling_plan_allocation)