Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 537 Bytes

OrderDiscountLinesRequest.md

File metadata and controls

22 lines (16 loc) · 537 Bytes

Conekta::OrderDiscountLinesRequest

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'

Example

require 'conekta'

instance = Conekta::OrderDiscountLinesRequest.new(
  amount: 500,
  code: 123,
  type: loyalty
)