> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# CustomerCompensationProblem

> The schema definition for the CustomerCompensationProblem resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the customer compensation problem.

## Specific attributes

[Navigate to header](#param-commercial-activity)

config

jsonb

public

required

The config of the customer compensation problem.

[Navigate to header](#param-commercial-activity)

default\_cause

varchar

public

required

The default cause of the customer compensation problem.

**Rules**: Max length: 50 characters

[Navigate to header](#param-commercial-activity)

default\_priority

varchar

public

required

The default priority of the customer compensation problem.

**Rules**: Max length: 50 characters

[Navigate to header](#param-commercial-activity)

internal

varchar

public

required

The internal of the customer compensation problem.

**Rules**: Max length: 100 characters

[Navigate to header](#param-commercial-activity)

is\_current

boolean

default:"true"

public

required

Indicates whether the customer compensation problem is current.

[Navigate to header](#param-commercial-activity)

name\_en

varchar

public

required

The name en of the customer compensation problem.

**Rules**: Max length: 150 characters

[Navigate to header](#param-commercial-activity)

name\_es

varchar

public

required

The name es of the customer compensation problem.

**Rules**: Max length: 150 characters

[Navigate to header](#param-commercial-activity)

subject\_type

varchar

public

required

The subject type of the customer compensation problem.

**Rules**: Possible values: account, code\_coupon\_account, code\_coupon\_account\_redemption, maihue\_street\_machine, maihue\_street\_recharge, payment\_provider\_transaction, subscription\_product\_billing\_period. Max length: 50 characters

[Navigate to header](#param-commercial-activity)

verifier

varchar

public

required

The verifier of the customer compensation problem.

**Rules**: Possible values: club\_redemption, double\_charge, machine\_unavailable, maihue\_home\_note, recharge. Max length: 50 characters

[Navigate to header](#param-commercial-activity)

version

integer

default:"1"

public

required

The version of the customer compensation problem.

## Foreign keys

[Navigate to header](#param-commercial-activity)

business\_unit

uuid

public

Optional reference to the Business Unit associated with the customer compensation problem. [Ref: Business Unit Schema](https://docs.bbrands.io/schemas/product/business-unit.md)

[Navigate to header](#param-commercial-activity)

user\_saved

uuid

public

Optional reference to the Users associated with the customer compensation problem.

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.