object

CouponValidity

Coupon validity schema which includes coupon title, coupon code, next validation flag, valid flag, error display message and discount of coupon.
Fields
code
String
Coupon code of the coupon applied. Example: 'SAVE10'
discount
Float
Coupon discount value. Example: 150.0
display_message_en
String
Display message for coupon validity. Example: 'Coupon valid for this payment mode'
next_validation_required
Boolean
Whether next page validation is required. Example: false
title
String
Coupon title. Example: 'SAVE10'
valid
Boolean
Whether the coupon is valid. Example: true
error
String
Error message for the selected payment mode. Example: 'Not valid on COD'