Sha256: 3fbe80df55f7465d359ebd1a76536c6779320b4cd9d58100b0fc884b7ad55bf3
Contents?: true
Size: 779 Bytes
Versions: 6
Compression:
Stored size: 779 Bytes
Contents
# Conekta::DiscountLinesDataResponse ## 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::DiscountLinesDataResponse.new( amount: 500, code: 123, type: loyalty, id: dis_lin_2tQQ58HPgPw7StE8z, object: discount_line, parent_id: ord_2tPAmKCEJqh8RE6nY ) ```
Version data entries
6 entries across 6 versions & 1 rubygems