Conekta::DiscountLinesResponse Properties Name Type Description Notes amount Integer The amount to be deducted from the total sum of all payments, in cents. code String Discount code. type String It can be 'loyalty', 'campaign', 'coupon' o 'sign' id String The discount line id object String The object name parent_id String The order id Example require 'conekta' instance = Conekta::DiscountLinesResponse.new( amount: 500, code: 123, type: loyalty, id: dis_lin_2tQQ58HPgPw7StE8z, object: discount_line, parent_id: ord_2tPAmKCEJqh8RE6nY )