Sha256: 6fcc945a343b7c70ebb9bf9f98f4f89938404b285e341a4b5e732786d702c813
Contents?: true
Size: 512 Bytes
Versions: 2
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true module MonoMerchant module Invoice class PaymentInfo < ApiRequest attr_reader :invoice_id def initialize(invoice_id) @invoice_id = invoice_id super(type: :get) end protected def params { invoiceId: invoice_id } end def data %w[maskedPan approvalCode rrn amount ccy finalAmount createdDate terminal paymentScheme paymentMethod fee domesticCard domesticCard cancelList] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mono-merchant-0.2.0 | lib/mono-merchant/invoice/payment_info.rb |
mono-merchant-0.1.0 | lib/mono-merchant/invoice/payment_info.rb |