Sha256: 3c3ea82e1b20506ec2c0980879b2877698936c82f62e3ad25f6760f86f764d27

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 KB

Contents

# Conekta::ProductDataResponse

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **antifraud_info** | **Hash<String, Object>** |  | [optional] |
| **brand** | **String** | The brand of the item. | [optional] |
| **description** | **String** | Short description of the item | [optional] |
| **metadata** | **Hash<String, Object>** | It is a key/value hash that can hold custom fields. Maximum 100 elements and allows special characters. | [optional] |
| **name** | **String** | The name of the item. It will be displayed in the order. |  |
| **quantity** | **Integer** | The quantity of the item in the order. |  |
| **sku** | **String** | The stock keeping unit for the item. It is used to identify the item in the order. | [optional] |
| **tags** | **Array<String>** | List of tags for the item. It is used to identify the item in the order. | [optional] |
| **unit_price** | **Integer** | The price of the item in cents. |  |
| **id** | **String** |  | [optional] |
| **object** | **String** |  | [optional] |
| **parent_id** | **String** |  | [optional] |

## Example

```ruby
require 'conekta'

instance = Conekta::ProductDataResponse.new(
  antifraud_info: {key=value},
  brand: Cohiba,
  description: Imported From Mex.,
  metadata: {key=value},
  name: Box of Cohiba S1s,
  quantity: 1,
  sku: XYZ12345,
  tags: [food, mexican food],
  unit_price: 20000,
  id: null,
  object: null,
  parent_id: null
)
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conekta-6.0.4 docs/ProductDataResponse.md
conekta-6.0.3 docs/ProductDataResponse.md