
# Response Device Term

## Structure

`ResponseDeviceTerm`

## Fields

| Name | Type | Tags | Description | Getter | Setter |
|  --- | --- | --- | --- | --- | --- |
| `type` | [`?string(Type22Enum)`](../../doc/models/type-22-enum.md) | Optional | Resource Type<br>**Default**: `Type22Enum::DEVICETERM` | getType(): ?string | setType(?string type): void |
| `data` | [`?Data6`](../../doc/models/data-6.md) | Optional | - | getData(): ?Data6 | setData(?Data6 data): void |

## Example (as JSON)

```json
{
  "type": "DeviceTerm",
  "data": {
    "location_id": "location_id4",
    "terminal_id": "terminal_id6",
    "require_signature": false,
    "device_term_api_id": "device_term_api_id0",
    "terms_conditions": "terms_conditions0",
    "id": "id0",
    "reason_code_id": 250,
    "signature": {
      "signature": "signature6",
      "resource": "Recurring",
      "resource_id": "resource_id4",
      "id": "id8",
      "created_ts": 80,
      "modified_ts": 4
    },
    "created_ts": 114,
    "modified_ts": 190,
    "created_user_id": "created_user_id2",
    "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": {
      "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"
    },
    "terminal": {
      "location_id": "location_id6",
      "default_product_transaction_id": "default_product_transaction_id8",
      "terminal_application_id": "terminal_application_id2",
      "terminal_cvm_id": "terminal_cvm_id8",
      "terminal_manufacturer_code": "1",
      "title": "title2",
      "mac_address": "mac_address0",
      "local_ip_address": "local_ip_address4",
      "port": 70,
      "serial_number": "serial_number4",
      "terminal_number": "terminal_number6",
      "terminal_timeouts": {
        "card_entry_timeout": 80,
        "device_terms_prompt_timeout": 160,
        "overall_timeout": 132,
        "pin_entry_timeout": 116,
        "signature_input_timeout": 58,
        "signature_submit_timeout": 248,
        "status_display_time": 148,
        "tip_cashback_timeout": 142,
        "transaction_timeout": 250
      },
      "tip_percents": {
        "percent_1": 112,
        "percent_2": 64,
        "percent_3": 94
      },
      "location_api_id": "location_api_id2",
      "terminal_api_id": "terminal_api_id8",
      "header_line_1": "header_line_14",
      "header_line_2": "header_line_22",
      "header_line_3": "header_line_34",
      "header_line_4": "header_line_46",
      "header_line_5": "header_line_50",
      "trailer_line_1": "trailer_line_16",
      "trailer_line_2": "trailer_line_20",
      "trailer_line_3": "trailer_line_36",
      "trailer_line_4": "trailer_line_42",
      "trailer_line_5": "trailer_line_50",
      "default_checkin": "default_checkin4",
      "default_checkout": "default_checkout0",
      "default_room_rate": 246,
      "default_room_number": "default_room_number2",
      "debit": false,
      "emv": false,
      "cashback_enable": false,
      "print_enable": false,
      "sig_capture_enable": false,
      "is_provisioned": false,
      "tip_enable": false,
      "validated_decryption": false,
      "communication_type": "usb/serial",
      "active": false,
      "id": "id2",
      "created_ts": 130,
      "modified_ts": 54,
      "last_registration_ts": 10,
      "created_user_id": "created_user_id6",
      "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"
        }
      }
    ],
    "reason_code": {
      "id": 240,
      "title": "title2"
    }
  }
}
```

