Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 2.13 KB

OrderUpdateRequest.md

File metadata and controls

40 lines (34 loc) · 2.13 KB

Conekta::OrderUpdateRequest

Properties

Name Type Description Notes
charges Array<ChargeRequest> [optional]
checkout CheckoutRequest [optional]
currency String Currency with which the payment will be made. It uses the 3-letter code of the International Standard ISO 4217. [optional]
customer_info OrderUpdateRequestCustomerInfo [optional]
discount_lines Array<OrderDiscountLinesRequest> List of discounts that are applied to the order. You must have at least one discount. [optional]
fiscal_entity OrderUpdateFiscalEntityRequest [optional]
line_items Array<Product> List of products that are sold in the order. You must have at least one product. [optional]
metadata Hash<String, String> [optional]
pre_authorize Boolean Indicates whether the order charges must be preauthorized [optional][default to false]
shipping_contact CustomerShippingContacts [optional]
shipping_lines Array<ShippingRequest> List of shipping costs. If the online store offers digital products. [optional]
tax_lines Array<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
)