Sha256: c9857c3b1c62cf08a175cc82833e7f483d27b2229954b1eb28b976181e871834
Contents?: true
Size: 618 Bytes
Versions: 393
Compression:
Stored size: 618 Bytes
Contents
# frozen_string_literal: true module Files class PaymentLineItem attr_reader :options, :attributes def initialize(attributes = {}, options = {}) @attributes = attributes || {} @options = options || {} end # double - Payment line item amount def amount @attributes[:amount] end # date-time - Payment line item created at date/time def created_at @attributes[:created_at] end # int64 - Invoice ID def invoice_id @attributes[:invoice_id] end # int64 - Payment ID def payment_id @attributes[:payment_id] end end end
Version data entries
393 entries across 393 versions & 1 rubygems