a order
Name | Type | Description | Notes |
---|---|---|---|
charges | List[ChargeRequest] | List of charges that are applied to the order | [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. | |
customer_info | OrderRequestCustomerInfo | ||
discount_lines | List[OrderDiscountLinesRequest] | List of discounts that are applied to the order. You must have at least one discount. | [optional] |
fiscal_entity | OrderFiscalEntityRequest | [optional] | |
line_items | List[Product] | List of products that are sold in the order. You must have at least one product. | |
metadata | Dict[str, object] | Metadata associated with the order | [optional] |
needs_shipping_contact | bool | Allows you to fill out the shipping information at checkout | [optional] |
pre_authorize | bool | Indicates whether the order charges must be preauthorized | [optional] [default to False] |
processing_mode | str | Indicates the processing mode for the order, either ecommerce, recurrent or validation. | [optional] |
return_url | str | Indicates the redirection callback upon completion of the 3DS2 flow. Do not use this parameter if your order has a checkout parameter | [optional] |
shipping_contact | CustomerShippingContacts | [optional] | |
shipping_lines | List[ShippingRequest] | List of shipping costs. If the online store offers digital products. | [optional] |
tax_lines | List[OrderTaxRequest] | List of taxes that are applied to the order. | [optional] |
three_ds_mode | str | Indicates the 3DS2 mode for the order, either smart or strict. | [optional] |
from conekta.models.order_request import OrderRequest
# TODO update the JSON string below
json = "{}"
# create an instance of OrderRequest from a JSON string
order_request_instance = OrderRequest.from_json(json)
# print the JSON string representation of the object
print(OrderRequest.to_json())
# convert the object into a dict
order_request_dict = order_request_instance.to_dict()
# create an instance of OrderRequest from a dict
order_request_from_dict = OrderRequest.from_dict(order_request_dict)