| Name |
Type |
Description |
Notes |
| amount |
int |
The amount to be deducted from the total sum of all payments, in cents. |
|
| code |
str |
Discount code. |
|
| type |
str |
It can be 'loyalty', 'campaign', 'coupon' o 'sign' |
|
| id |
str |
The discount line id |
|
| object |
str |
The object name |
|
| parent_id |
str |
The order id |
|
from conekta.models.discount_lines_response import DiscountLinesResponse
# TODO update the JSON string below
json = "{}"
# create an instance of DiscountLinesResponse from a JSON string
discount_lines_response_instance = DiscountLinesResponse.from_json(json)
# print the JSON string representation of the object
print(DiscountLinesResponse.to_json())
# convert the object into a dict
discount_lines_response_dict = discount_lines_response_instance.to_dict()
# create an instance of DiscountLinesResponse from a dict
discount_lines_response_from_dict = DiscountLinesResponse.from_dict(discount_lines_response_dict)
[Back to Model list] [Back to API list] [Back to README]