a order
Name | Type | Description | Notes |
---|---|---|---|
charges | List[ChargeRequest] | [optional] | |
checkout | CheckoutRequest | [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 | OrderUpdateRequestCustomerInfo | [optional] | |
discount_lines | List[OrderDiscountLinesRequest] | List of discounts that are applied to the order. You must have at least one discount. | [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] [default to False] |
shipping_contact | CustomerShippingContacts | [optional] | |
shipping_lines | List[ShippingRequest] | List of shipping costs. If the online store offers digital products. | [optional] |
tax_lines | List[OrderTaxRequest] | [optional] |
from conekta.models.order_update_request import OrderUpdateRequest
# TODO update the JSON string below
json = "{}"
# create an instance of OrderUpdateRequest from a JSON string
order_update_request_instance = OrderUpdateRequest.from_json(json)
# print the JSON string representation of the object
print(OrderUpdateRequest.to_json())
# convert the object into a dict
order_update_request_dict = order_update_request_instance.to_dict()
# create an instance of OrderUpdateRequest from a dict
order_update_request_from_dict = OrderUpdateRequest.from_dict(order_update_request_dict)