Sha256: 276ea82f9eb803245ab7d87e0b80f2cd3948660c34f54a95a6037bf633ccfd8d

Contents?: true

Size: 1.31 KB

Versions: 2

Compression:

Stored size: 1.31 KB

Contents

# Conekta::Product

## 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. |  |

## Example

```ruby
require 'conekta'

instance = Conekta::Product.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
)
```

Version data entries

2 entries across 2 versions & 1 rubygems

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