Conekta::CheckoutOrderTemplate
October 9, 2025 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| currency | String | It is the currency in which the order will be created. It must be a valid ISO 4217 currency code. | |
| customer_info | CheckoutOrderTemplateCustomerInfo | [optional] | |
| line_items | Array<Product> | They are the products to buy. Each contains the "unit price" and "quantity" parameters that are used to calculate the total amount of the order. | |
| metadata | Hash<String, Object> | It is a set of key-value pairs that you can attach to the order. It can be used to store additional information about the order in a structured format. | [optional] |
Example
require 'conekta'
instance = Conekta::CheckoutOrderTemplate.new(
currency: MXN,
customer_info: null,
line_items: null,
metadata: {"key":"value"}
)