Conekta::ProductOrderResponse
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]
require 'conekta'
instance = Conekta ::ProductOrderResponse . 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
)