Commerce · Components
PricingVersionDecision
Caller-owned native decisions over retained pricingPublic export
typescript
import { PricingVersionDecision } from '@happyvertical/smrt-commerce/svelte';- Import path
@happyvertical/smrt-commerce/svelte- Props
- 13
- Props described
- 13 of 13
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
versionPricingVersionDataYesAuthorized immutable version snapshot; displaying it records no decision.actionstringYesCaller-owned native form destination.actionsreadonly PricingDecisionAction[]YesExplicit available decisions; no acceptance/award action is inferred.hiddenFieldsreadonly PricingHiddenField[]NoOrdered exact hidden values, including caller-owned version/request/tenant tokens.reasonstringNoRetained reason text, including text returned after a rejected action.reasonNamestringNoNative field name for the reason; omit to use reason.reasonLabelstringNoLocalized reason label override.reasonRequiredbooleanNoWhether the server requires a reason for these decisions.errorstringNoCaller-returned form error; does not reset text or hidden identity.readOnlybooleanNoHide mutation controls for a viewer; this is not server authorization.busybooleanNoDisable decisions while an application-controlled submission is in flight.onsubmitHTMLFormAttributes['onsubmit']NoOptional progressive enhancement; native submission remains the default.childrenSnippetNoAdditional caller-owned native fields or decision context within the form.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.