
# Response Contact

## Structure

`ResponseContact`

## Fields

| Name | Type | Tags | Description | Getter | Setter |
|  --- | --- | --- | --- | --- | --- |
| `type` | [`?string(Type10Enum)`](../../doc/models/type-10-enum.md) | Optional | Resource Type<br>**Default**: `Type10Enum::CONTACT` | getType(): ?string | setType(?string type): void |
| `data` | [`?Data2`](../../doc/models/data-2.md) | Optional | - | getData(): ?Data2 | setData(?Data2 data): void |

## Example (as JSON)

```json
{
  "type": "Contact",
  "data": {
    "location_id": "location_id4",
    "account_number": "account_number0",
    "contact_api_id": "contact_api_id4",
    "first_name": "first_name0",
    "last_name": "last_name8",
    "cell_phone": "cell_phone6",
    "balance": 126.34,
    "address": {
      "city": "city6",
      "state": "state2",
      "postal_code": "postal_code8",
      "country": "US",
      "street": "street6"
    },
    "company_name": "company_name6",
    "header_message": "header_message6",
    "date_of_birth": "date_of_birth2",
    "email_trx_receipt": false,
    "home_phone": "home_phone0",
    "office_phone": "office_phone4",
    "office_phone_ext": "office_phone_ext6",
    "header_message_type": 54,
    "update_if_exists": 1,
    "contact_c1": "contact_c12",
    "contact_c2": "contact_c24",
    "contact_c3": "contact_c34",
    "parent_id": "parent_id6",
    "email": "email6",
    "id": "id0",
    "created_ts": 114,
    "modified_ts": 190,
    "active": false,
    "created_user_id": "created_user_id2",
    "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
      }
    ],
    "is_deletable": false,
    "location": {
      "id": "id4",
      "created_ts": 254,
      "modified_ts": 178,
      "account_number": "account_number6",
      "address": {
        "city": "city6",
        "state": "state2",
        "postal_code": "postal_code8",
        "country": "US",
        "street": "street6",
        "street2": "street22"
      },
      "branding_domain_id": "branding_domain_id8",
      "contact_email_trx_receipt_default": false,
      "default_ach": "default_ach8",
      "default_cc": "default_cc6",
      "email_reply_to": "email_reply_to6",
      "fax": "fax0",
      "location_api_id": "location_api_id4",
      "location_api_key": "location_api_key2",
      "location_c1": "location_c10",
      "location_c2": "location_c20",
      "location_c3": "location_c32",
      "name": "name4",
      "office_phone": "office_phone2",
      "office_ext_phone": "office_ext_phone8",
      "tz": "tz4",
      "parent_id": "parent_id0",
      "show_contact_notes": false,
      "show_contact_files": false,
      "created_user_id": "created_user_id4",
      "location_type": "hierarchy",
      "ticket_hash_key": "ticket_hash_key6"
    },
    "user": {
      "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_birth8",
      "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_phone6",
      "office_ext_phone": "office_ext_phone4",
      "primary_location_id": "primary_location_id0",
      "requires_new_password": "requires_new_password2",
      "terms_condition_code": "terms_condition_code4",
      "tz": "tz8",
      "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_key8",
      "user_hash_key": "user_hash_key6",
      "user_type_code": 1000,
      "password": "password4",
      "zip": "zip6",
      "location_id": "location_id4",
      "contact_api_id": "contact_api_id4",
      "primary_location_api_id": "primary_location_api_id8",
      "status_code": 0,
      "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": 128,
      "last_login_ts": 238,
      "created_ts": 204,
      "modified_ts": 128,
      "created_user_id": "created_user_id8",
      "terms_accepted_ts": 124,
      "terms_agree_ip": "terms_agree_ip6",
      "current_date_time": "current_date_time0",
      "current_login_ip": "current_login_ip8",
      "current_login": 148,
      "sftp_access": false,
      "log_api_response_body_ts": 86
    },
    "recurrings": [
      {
        "account_vault_id": "account_vault_id6",
        "token_id": "token_id4",
        "contact_id": "contact_id6",
        "account_vault_api_id": "account_vault_api_id4",
        "token_api_id": "token_api_id6",
        "_joi": {
          "conditions": {
            "method": "xor",
            "values": "account_vault_api_id"
          }
        },
        "active": false,
        "description": "description0",
        "end_date": "end_date0",
        "installment_total_count": 124,
        "interval": 26,
        "interval_type": "m",
        "location_id": "location_id4",
        "notification_days": 186,
        "payment_method": "cc",
        "product_transaction_id": "product_transaction_id4",
        "recurring_id": "recurring_id4",
        "recurring_api_id": "recurring_api_id2",
        "start_date": "start_date4",
        "status": "ended",
        "transaction_amount": 180,
        "terms_agree": false,
        "terms_agree_ip": "terms_agree_ip6",
        "recurring_c1": "recurring_c18",
        "recurring_c2": "recurring_c20",
        "recurring_c3": "recurring_c32",
        "send_to_proc_as_recur": false,
        "tags": [
          "tags5",
          "tags6",
          "tags7"
        ],
        "secondary_amount": 96,
        "currency": "currency0",
        "id": "id0",
        "next_run_date": "next_run_date8",
        "created_ts": 206,
        "modified_ts": 26,
        "recurring_type_id": "o",
        "installment_amount_total": 176,
        "created_user_id": "created_user_id2"
      }
    ],
    "email_blacklist": {
      "id": "id2",
      "isBlacklisted": false,
      "detail": false,
      "created_ts": 204
    },
    "sms_blacklist": {
      "id": "id6",
      "isBlacklisted": false,
      "detail": false,
      "created_ts": 140
    },
    "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"
        }
      }
    ],
    "postback_logs": [
      {
        "postback_status_id": 3,
        "id": "id0",
        "postback_config_id": "postback_config_id8",
        "changelog_id": "changelog_id2",
        "http_verb": "http_verb0",
        "next_run_ts": 4,
        "created_ts": 40,
        "model": "model8",
        "model_id": "model_id0"
      },
      {
        "postback_status_id": 3,
        "id": "id0",
        "postback_config_id": "postback_config_id8",
        "changelog_id": "changelog_id2",
        "http_verb": "http_verb0",
        "next_run_ts": 4,
        "created_ts": 40,
        "model": "model8",
        "model_id": "model_id0"
      }
    ],
    "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
    },
    "parent": {
      "location_id": "location_id4",
      "account_number": "account_number0",
      "contact_api_id": "contact_api_id4",
      "first_name": "first_name0",
      "last_name": "last_name8",
      "cell_phone": "cell_phone6",
      "balance": 165.44,
      "address": {
        "city": "city6",
        "state": "state2",
        "postal_code": "postal_code8",
        "country": "US",
        "street": "street6"
      },
      "company_name": "company_name6",
      "header_message": "header_message6",
      "date_of_birth": "date_of_birth8",
      "email_trx_receipt": false,
      "home_phone": "home_phone0",
      "office_phone": "office_phone6",
      "office_phone_ext": "office_phone_ext4",
      "header_message_type": 124,
      "update_if_exists": 1,
      "contact_c1": "contact_c18",
      "contact_c2": "contact_c26",
      "contact_c3": "contact_c34",
      "parent_id": "parent_id4",
      "email": "email6",
      "id": "id0",
      "created_ts": 72,
      "modified_ts": 252,
      "active": false,
      "created_user_id": "created_user_id2"
    },
    "children": {
      "location_id": "location_id2",
      "account_number": "account_number8",
      "contact_api_id": "contact_api_id4",
      "first_name": "first_name8",
      "last_name": "last_name6",
      "cell_phone": "cell_phone4",
      "balance": 163.72,
      "address": {
        "city": "city6",
        "state": "state2",
        "postal_code": "postal_code8",
        "country": "US",
        "street": "street6"
      },
      "company_name": "company_name4",
      "header_message": "header_message4",
      "date_of_birth": "date_of_birth0",
      "email_trx_receipt": false,
      "home_phone": "home_phone8",
      "office_phone": "office_phone2",
      "office_phone_ext": "office_phone_ext4",
      "header_message_type": 208,
      "update_if_exists": 1,
      "contact_c1": "contact_c10",
      "contact_c2": "contact_c22",
      "contact_c3": "contact_c32",
      "parent_id": "parent_id4",
      "email": "email2",
      "id": "id8",
      "created_ts": 12,
      "modified_ts": 88,
      "active": false,
      "created_user_id": "created_user_id0"
    }
  }
}
```

