Sha256: d9d03d5ac646a6230199414c3d3c9b9879be267a52a59a55508eef110622cc65
Contents?: true
Size: 771 Bytes
Versions: 5
Compression:
Stored size: 771 Bytes
Contents
# 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 ```ruby require 'conekta' instance = Conekta::DiscountLinesResponse.new( amount: 500, code: 123, type: loyalty, id: dis_lin_2tQQ58HPgPw7StE8z, object: discount_line, parent_id: ord_2tPAmKCEJqh8RE6nY ) ```
Version data entries
5 entries across 5 versions & 1 rubygems