Conekta::OrderUpdateRequest

April 10, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
chargesArray<ChargeRequest>[optional]
checkoutCheckoutRequest[optional]
currencyStringCurrency with which the payment will be made. It uses the 3-letter code of the International Standard ISO 4217.[optional]
customer_infoOrderUpdateRequestCustomerInfo[optional]
discount_linesArray<OrderDiscountLinesRequest>List of discounts that are applied to the order. You must have at least one discount.[optional]
fiscal_entityOrderUpdateFiscalEntityRequest[optional]
line_itemsArray<Product>List of products that are sold in the order. You must have at least one product.[optional]
metadataHash<String, String>[optional]
pre_authorizeBooleanIndicates whether the order charges must be preauthorized[optional][default to false]
shipping_contactCustomerShippingContacts[optional]
shipping_linesArray<ShippingRequest>List of shipping costs. If the online store offers digital products.[optional]
tax_linesArray<OrderTaxRequest>[optional]

Example

require 'conekta'

instance = Conekta::OrderUpdateRequest.new(
  charges: null,
  checkout: null,
  currency: MXN,
  customer_info: null,
  discount_lines: null,
  fiscal_entity: null,
  line_items: null,
  metadata: null,
  pre_authorize: null,
  shipping_contact: null,
  shipping_lines: null,
  tax_lines: null
)