Adds new property
discount objects in the Checkout Frontend API to identify the source of the discount code.
This property provides information on the source of the discount code, which has two possible values:
"cart"discount created from plugin actions discount_cart and/or discount_line_items.
"coupon"discount created in the Bold Checkout admin.