Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 2.34 KB

File metadata and controls

41 lines (32 loc) · 2.34 KB

OrderUpdate

a order

Properties

Name Type Description Notes
charges List[ChargeRequest] [optional]
checkout OrderCheckoutRequest [optional]
currency str Currency with which the payment will be made. It uses the 3-letter code of the International Standard ISO 4217. [optional]
customer_info OrderUpdateCustomerInfo [optional]
discount_lines List[OrderDiscountLinesRequest] List of discounts that are applied to the order. [optional]
fiscal_entity OrderUpdateFiscalEntityRequest [optional]
line_items List[Product] List of products that are sold in the order. You must have at least one product. [optional]
metadata Dict[str, str] [optional]
pre_authorize bool Indicates whether the order charges must be preauthorized [optional]
shipping_contact CustomerShippingContactsRequest [optional]
shipping_lines List[ShippingRequest] List of shipping costs. If the online store offers digital products. [optional]
tax_lines List[OrderTaxRequest] [optional]

Example

from conekta.models.order_update import OrderUpdate

# TODO update the JSON string below
json = "{}"
# create an instance of OrderUpdate from a JSON string
order_update_instance = OrderUpdate.from_json(json)
# print the JSON string representation of the object
print(OrderUpdate.to_json())

# convert the object into a dict
order_update_dict = order_update_instance.to_dict()
# create an instance of OrderUpdate from a dict
order_update_from_dict = OrderUpdate.from_dict(order_update_dict)

[Back to Model list] [Back to API list] [Back to README]