
# Response User

## Structure

`ResponseUser`

## Fields

| Name | Type | Tags | Description | Getter | Setter |
|  --- | --- | --- | --- | --- | --- |
| `type` | [`?string(Type110Enum)`](../../doc/models/type-110-enum.md) | Optional | Resource Type<br>**Default**: `Type110Enum::USER` | getType(): ?string | setType(?string type): void |
| `data` | [`?Data29`](../../doc/models/data-29.md) | Optional | - | getData(): ?Data29 | setData(?Data29 data): void |

## Example (as JSON)

```json
{
  "type": "User",
  "data": {
    "account_number": "account_number0",
    "branding_domain_url": "branding_domain_url0",
    "cell_phone": "cell_phone6",
    "company_name": "company_name6",
    "contact_id": "contact_id4",
    "date_of_birth": "date_of_birth2",
    "domain_id": "domain_id2",
    "email": "email6",
    "email_trx_receipt": false,
    "home_phone": "home_phone0",
    "first_name": "first_name0",
    "last_name": "last_name8",
    "locale": "locale8",
    "office_phone": "office_phone4",
    "office_ext_phone": "office_ext_phone4",
    "primary_location_id": "primary_location_id0",
    "requires_new_password": "requires_new_password2",
    "terms_condition_code": "terms_condition_code6",
    "tz": "tz2",
    "ui_prefs": {
      "entry_page": "entry_page8",
      "page_size": 74,
      "report_export_type": "xls",
      "process_method": "virtual_terminal",
      "default_terminal": "default_terminal0"
    },
    "username": "username0",
    "user_api_key": "user_api_key2",
    "user_hash_key": "user_hash_key4",
    "user_type_code": 1000,
    "password": "password4",
    "zip": "zip4",
    "location_id": "location_id4",
    "contact_api_id": "contact_api_id4",
    "primary_location_api_id": "primary_location_api_id2",
    "status_code": 1,
    "api_only": false,
    "is_invitation": false,
    "address": {
      "city": "city6",
      "state": "state2",
      "postal_code": "postal_code8",
      "country": "US",
      "street": "street6"
    },
    "id": "id0",
    "status": false,
    "login_attempts": 190,
    "last_login_ts": 44,
    "created_ts": 114,
    "modified_ts": 190,
    "created_user_id": "created_user_id2",
    "terms_accepted_ts": 194,
    "terms_agree_ip": "terms_agree_ip6",
    "current_date_time": "current_date_time0",
    "current_login_ip": "current_login_ip8",
    "current_login": 210,
    "sftp_access": false,
    "log_api_response_body_ts": 148,
    "locations": [
      {
        "id": "id8",
        "created_ts": 16,
        "modified_ts": 196,
        "account_number": "account_number8",
        "address": {
          "city": "city6",
          "state": "state2",
          "postal_code": "postal_code8",
          "country": "US",
          "street": "street6",
          "street2": "street22"
        },
        "branding_domain_id": "branding_domain_id2",
        "contact_email_trx_receipt_default": false,
        "default_ach": "default_ach2",
        "default_cc": "default_cc0",
        "email_reply_to": "email_reply_to2",
        "fax": "fax4",
        "location_api_id": "location_api_id8",
        "location_api_key": "location_api_key6",
        "location_c1": "location_c14",
        "location_c2": "location_c24",
        "location_c3": "location_c36",
        "name": "name8",
        "office_phone": "office_phone8",
        "office_ext_phone": "office_ext_phone2",
        "tz": "tz0",
        "parent_id": "parent_id4",
        "show_contact_notes": false,
        "show_contact_files": false,
        "created_user_id": "created_user_id0",
        "location_type": "merchant",
        "ticket_hash_key": "ticket_hash_key0"
      },
      {
        "id": "id8",
        "created_ts": 16,
        "modified_ts": 196,
        "account_number": "account_number8",
        "address": {
          "city": "city6",
          "state": "state2",
          "postal_code": "postal_code8",
          "country": "US",
          "street": "street6",
          "street2": "street22"
        },
        "branding_domain_id": "branding_domain_id2",
        "contact_email_trx_receipt_default": false,
        "default_ach": "default_ach2",
        "default_cc": "default_cc0",
        "email_reply_to": "email_reply_to2",
        "fax": "fax4",
        "location_api_id": "location_api_id8",
        "location_api_key": "location_api_key6",
        "location_c1": "location_c14",
        "location_c2": "location_c24",
        "location_c3": "location_c36",
        "name": "name8",
        "office_phone": "office_phone8",
        "office_ext_phone": "office_ext_phone2",
        "tz": "tz0",
        "parent_id": "parent_id4",
        "show_contact_notes": false,
        "show_contact_files": false,
        "created_user_id": "created_user_id0",
        "location_type": "merchant",
        "ticket_hash_key": "ticket_hash_key0"
      },
      {
        "id": "id8",
        "created_ts": 16,
        "modified_ts": 196,
        "account_number": "account_number8",
        "address": {
          "city": "city6",
          "state": "state2",
          "postal_code": "postal_code8",
          "country": "US",
          "street": "street6",
          "street2": "street22"
        },
        "branding_domain_id": "branding_domain_id2",
        "contact_email_trx_receipt_default": false,
        "default_ach": "default_ach2",
        "default_cc": "default_cc0",
        "email_reply_to": "email_reply_to2",
        "fax": "fax4",
        "location_api_id": "location_api_id8",
        "location_api_key": "location_api_key6",
        "location_c1": "location_c14",
        "location_c2": "location_c24",
        "location_c3": "location_c36",
        "name": "name8",
        "office_phone": "office_phone8",
        "office_ext_phone": "office_ext_phone2",
        "tz": "tz0",
        "parent_id": "parent_id4",
        "show_contact_notes": false,
        "show_contact_files": false,
        "created_user_id": "created_user_id0",
        "location_type": "merchant",
        "ticket_hash_key": "ticket_hash_key0"
      }
    ],
    "primary_location": {
      "id": "id2",
      "created_ts": 4,
      "modified_ts": 184,
      "account_number": "account_number8",
      "address": {
        "city": "city6",
        "state": "state2",
        "postal_code": "postal_code8",
        "country": "US",
        "street": "street6",
        "street2": "street22"
      },
      "branding_domain_id": "branding_domain_id6",
      "contact_email_trx_receipt_default": false,
      "default_ach": "default_ach6",
      "default_cc": "default_cc4",
      "email_reply_to": "email_reply_to8",
      "fax": "fax8",
      "location_api_id": "location_api_id2",
      "location_api_key": "location_api_key0",
      "location_c1": "location_c18",
      "location_c2": "location_c28",
      "location_c3": "location_c30",
      "name": "name2",
      "office_phone": "office_phone4",
      "office_ext_phone": "office_ext_phone6",
      "tz": "tz6",
      "parent_id": "parent_id8",
      "show_contact_notes": false,
      "show_contact_files": false,
      "created_user_id": "created_user_id4",
      "location_type": "merchant",
      "ticket_hash_key": "ticket_hash_key4"
    },
    "received_emails": [
      {
        "subject": "subject6",
        "body": "body8",
        "source_address": "source_address2",
        "return_path": "return_path0",
        "provider_id": "provider_id4",
        "domain_id": "domain_id4",
        "reason_sent": "reason_sent4",
        "reason_model": "UserReport",
        "reason_model_id": "reason_model_id4",
        "reply_to": "reply_to4",
        "id": "id2",
        "created_ts": 32
      }
    ],
    "contact": {
      "location_id": "location_id6",
      "account_number": "account_number2",
      "contact_api_id": "contact_api_id2",
      "first_name": "first_name2",
      "last_name": "last_name0",
      "cell_phone": "cell_phone8",
      "balance": 117.46,
      "address": {
        "city": "city6",
        "state": "state2",
        "postal_code": "postal_code8",
        "country": "US",
        "street": "street6"
      },
      "company_name": "company_name8",
      "header_message": "header_message8",
      "date_of_birth": "date_of_birth4",
      "email_trx_receipt": false,
      "home_phone": "home_phone2",
      "office_phone": "office_phone6",
      "office_phone_ext": "office_phone_ext8",
      "header_message_type": 190,
      "update_if_exists": 1,
      "contact_c1": "contact_c14",
      "contact_c2": "contact_c26",
      "contact_c3": "contact_c36",
      "parent_id": "parent_id8",
      "email": "email4",
      "id": "id2",
      "created_ts": 250,
      "modified_ts": 70,
      "active": false,
      "created_user_id": "created_user_id4"
    },
    "isDeletable": false,
    "active_notification_alerts": [
      {
        "location_id": "location_id0",
        "location_api_id": "location_api_id6",
        "date_start": "date_start8",
        "date_end": "date_end0",
        "user_location": false,
        "user_contact": false,
        "include_children": false,
        "alert_type": 2,
        "alert_type_id": 0,
        "description": "description4",
        "alert_message": "alert_message2",
        "id": "id6",
        "created_ts": 78,
        "modified_ts": 2,
        "created_user_id": "created_user_id8",
        "modified_user_id": "modified_user_id2"
      },
      {
        "location_id": "location_id0",
        "location_api_id": "location_api_id6",
        "date_start": "date_start8",
        "date_end": "date_end0",
        "user_location": false,
        "user_contact": false,
        "include_children": false,
        "alert_type": 2,
        "alert_type_id": 0,
        "description": "description4",
        "alert_message": "alert_message2",
        "id": "id6",
        "created_ts": 78,
        "modified_ts": 2,
        "created_user_id": "created_user_id8",
        "modified_user_id": "modified_user_id2"
      },
      {
        "location_id": "location_id0",
        "location_api_id": "location_api_id6",
        "date_start": "date_start8",
        "date_end": "date_end0",
        "user_location": false,
        "user_contact": false,
        "include_children": false,
        "alert_type": 2,
        "alert_type_id": 0,
        "description": "description4",
        "alert_message": "alert_message2",
        "id": "id6",
        "created_ts": 78,
        "modified_ts": 2,
        "created_user_id": "created_user_id8",
        "modified_user_id": "modified_user_id2"
      }
    ],
    "location_users": [
      {
        "location_id": "location_id2",
        "user_id": "user_id6",
        "location_api_id": "location_api_id8",
        "id": "id8",
        "created_ts": 102,
        "modified_ts": 178,
        "created_user_id": "created_user_id0",
        "modified_user_id": "modified_user_id0"
      },
      {
        "location_id": "location_id2",
        "user_id": "user_id6",
        "location_api_id": "location_api_id8",
        "id": "id8",
        "created_ts": 102,
        "modified_ts": 178,
        "created_user_id": "created_user_id0",
        "modified_user_id": "modified_user_id0"
      },
      {
        "location_id": "location_id2",
        "user_id": "user_id6",
        "location_api_id": "location_api_id8",
        "id": "id8",
        "created_ts": 102,
        "modified_ts": 178,
        "created_user_id": "created_user_id0",
        "modified_user_id": "modified_user_id0"
      }
    ],
    "auth_roles": [
      {
        "user_id": "user_id0",
        "auth_role_code": 158,
        "code": 204,
        "created_ts": 162,
        "modified_ts": 18,
        "created_user_id": "created_user_id4",
        "modified_user_id": "modified_user_id6"
      },
      {
        "user_id": "user_id0",
        "auth_role_code": 158,
        "code": 204,
        "created_ts": 162,
        "modified_ts": 18,
        "created_user_id": "created_user_id4",
        "modified_user_id": "modified_user_id6"
      }
    ],
    "changelogs": [
      {
        "id": "id0",
        "created_ts": 104,
        "action": "action2",
        "model": "model8",
        "model_id": "model_id0",
        "user_id": "user_id8",
        "changelog_details": [
          {
            "id": "id4",
            "changelog_id": "changelog_id6",
            "field": "field8",
            "old_value": "old_value8"
          }
        ],
        "user": {
          "id": "id0",
          "username": "username0",
          "first_name": "first_name0",
          "last_name": "last_name8"
        }
      },
      {
        "id": "id0",
        "created_ts": 104,
        "action": "action2",
        "model": "model8",
        "model_id": "model_id0",
        "user_id": "user_id8",
        "changelog_details": [
          {
            "id": "id4",
            "changelog_id": "changelog_id6",
            "field": "field8",
            "old_value": "old_value8"
          }
        ],
        "user": {
          "id": "id0",
          "username": "username0",
          "first_name": "first_name0",
          "last_name": "last_name8"
        }
      }
    ],
    "resources": {
      "title": "title6",
      "priv": "priv6",
      "resource_name": "resource_name8",
      "id": 198,
      "last_used_date": 186,
      "created_ts": 174,
      "modified_ts": 6
    },
    "domain": {
      "url": "url0",
      "title": "title2",
      "logo": "logo2",
      "support_email": "support_email6",
      "allow_contact_signup": false,
      "allow_contact_registration": false,
      "allow_contact_login": false,
      "registration_fields": [
        "address",
        "company_name"
      ],
      "company_name": "company_name2",
      "nav_color": "nav_color6",
      "button_primary_color": "button_primary_color6",
      "logo_background_color": "logo_background_color6",
      "icon_background_color": "icon_background_color2",
      "menu_text_background_color": "menu_text_background_color0",
      "menu_text_color": "menu_text_color6",
      "right_menu_background_color": "right_menu_background_color8",
      "right_menu_text_color": "right_menu_text_color8",
      "button_primary_text_color": "button_primary_text_color6",
      "nav_logo": "nav_logo6",
      "fav_icon": "fav_icon8",
      "aes_key": "aes_key0",
      "help_text": "help_text4",
      "email_reply_to": "email_reply_to4",
      "email": "email0",
      "custom_javascript": "custom_javascript0",
      "custom_theme": "custom_theme4",
      "custom_css": "custom_css2",
      "contact_user_default_entry_page": "dashboard",
      "contact_user_default_auth_roles": [
        {
          "key1": "val1",
          "key2": "val2"
        },
        {
          "key1": "val1",
          "key2": "val2"
        }
      ],
      "custom_stylesheet_url": "custom_stylesheet_url0",
      "id": "id6",
      "created_ts": 178,
      "modified_ts": 2
    },
    "created_user": {
      "account_number": "account_number6",
      "branding_domain_url": "branding_domain_url4",
      "cell_phone": "cell_phone2",
      "company_name": "company_name2",
      "contact_id": "contact_id8",
      "date_of_birth": "date_of_birth8",
      "domain_id": "domain_id8",
      "email": "email0",
      "email_trx_receipt": false,
      "home_phone": "home_phone6",
      "first_name": "first_name6",
      "last_name": "last_name4",
      "locale": "locale4",
      "office_phone": "office_phone0",
      "office_ext_phone": "office_ext_phone0",
      "primary_location_id": "primary_location_id6",
      "requires_new_password": "requires_new_password8",
      "terms_condition_code": "terms_condition_code2",
      "tz": "tz8",
      "ui_prefs": {
        "entry_page": "entry_page8",
        "page_size": 74,
        "report_export_type": "xls",
        "process_method": "virtual_terminal",
        "default_terminal": "default_terminal0"
      },
      "username": "username6",
      "user_api_key": "user_api_key2",
      "user_hash_key": "user_hash_key0",
      "user_type_code": 300,
      "password": "password0",
      "zip": "zip0",
      "location_id": "location_id0",
      "contact_api_id": "contact_api_id8",
      "primary_location_api_id": "primary_location_api_id8",
      "status_code": 2,
      "api_only": false,
      "is_invitation": false,
      "address": {
        "city": "city6",
        "state": "state2",
        "postal_code": "postal_code8",
        "country": "US",
        "street": "street6"
      },
      "id": "id6",
      "status": false,
      "login_attempts": 52,
      "last_login_ts": 162,
      "created_ts": 232,
      "modified_ts": 52,
      "created_user_id": "created_user_id8",
      "terms_accepted_ts": 56,
      "terms_agree_ip": "terms_agree_ip2",
      "current_date_time": "current_date_time6",
      "current_login_ip": "current_login_ip4",
      "current_login": 72,
      "sftp_access": false,
      "log_api_response_body_ts": 10
    },
    "location_marketplaces": [
      {
        "location_id": "location_id0",
        "marketplace_id": "marketplace_id8",
        "location_api_id": "location_api_id6",
        "user_id": "user_id4",
        "id": "id6",
        "created_ts": 8,
        "created_user_id": "created_user_id8"
      },
      {
        "location_id": "location_id0",
        "marketplace_id": "marketplace_id8",
        "location_api_id": "location_api_id6",
        "user_id": "user_id4",
        "id": "id6",
        "created_ts": 8,
        "created_user_id": "created_user_id8"
      }
    ],
    "email_blacklist": {
      "id": "id2",
      "isBlacklisted": false,
      "detail": false,
      "created_ts": 204
    },
    "helppage": {
      "user_type_code": 900,
      "body": "body6",
      "title": "title6",
      "id": "id0",
      "created_ts": 96,
      "modified_ts": 84,
      "created_user_id": "created_user_id2",
      "modified_user_id": "modified_user_id8"
    }
  }
}
```

