---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/object-types](../index.md) / customAttributePropertyTypes

# Function: customAttributePropertyTypes()

> **customAttributePropertyTypes**(`attr`): `PropertyTypes`

Defined in: [packages/b2c-tooling-sdk/src/operations/object-types/script-types.ts:73](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/operations/object-types/script-types.ts#L73)

Maps an attribute value type to the Script API types of its `custom`
property. Getters return platform objects for HTML, image, money, quantity,
and enum attributes; setters take the plain value.

## Parameters

### attr

## Returns

`PropertyTypes`
