Sha256: 575683ad248411424c835a37de94fac51e3016b18add7aa2dbcac624529e4952

Contents?: true

Size: 960 Bytes

Versions: 7

Compression:

Stored size: 960 Bytes

Contents

# ElasticEmail::ContactPayload

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **email** | **String** | Proper email address. |  |
| **status** | [**ContactStatus**](ContactStatus.md) |  | [optional][default to 'Transactional'] |
| **first_name** | **String** | First name. | [optional] |
| **last_name** | **String** | Last name. | [optional] |
| **custom_fields** | **Hash<String, String>** | A key-value collection of custom contact fields which can be used in the system. Only already existing custom fields will be saved. | [optional] |
| **consent** | [**ConsentData**](ConsentData.md) |  | [optional] |

## Example

```ruby
require 'ElasticEmail'

instance = ElasticEmail::ContactPayload.new(
  email: mail@example.com,
  status: null,
  first_name: Fred,
  last_name: Flintstone,
  custom_fields: {"city":"New York","age":"34"},
  consent: null
)
```

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ElasticEmail-4.0.24 docs/ContactPayload.md
ElasticEmail-4.0.23 docs/ContactPayload.md
ElasticEmail-4.0.22 docs/ContactPayload.md
ElasticEmail-4.0.21 docs/ContactPayload.md
ElasticEmail-4.0.20 docs/ContactPayload.md
ElasticEmail-4.0.16 docs/ContactPayload.md
ElasticEmail-4.0.15 docs/ContactPayload.md