Sha256: ca45776e348b1cecfeec37860dd4974b262a58da1c1ad926fe3aade9cdcbebc3

Contents?: true

Size: 396 Bytes

Versions: 61

Compression:

Stored size: 396 Bytes

Contents

module RockRMS
  module Response
    class PaymentDetail < Base
      MAP = {
        id: 'Id',
        exp_month: 'ExpirationMonth',
        exp_year: 'ExpirationYear',
        foreign_key: 'ForeignKey',
        payment_type_id: 'CurrencyTypeValueId',
        masked_number: 'AccountNumberMasked'
      }.freeze

      def format_single(data)
        to_h(MAP, data)
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
rock_rms-7.0.2 lib/rock_rms/response/payment_detail.rb
rock_rms-7.0.1 lib/rock_rms/response/payment_detail.rb
rock_rms-7.0.0 lib/rock_rms/response/payment_detail.rb
rock_rms-6.2.0 lib/rock_rms/response/payment_detail.rb
rock_rms-6.1.0 lib/rock_rms/response/payment_detail.rb
rock_rms-6.0.8 lib/rock_rms/response/payment_detail.rb
rock_rms-6.0.7 lib/rock_rms/response/payment_detail.rb
rock_rms-6.0.6 lib/rock_rms/response/payment_detail.rb
rock_rms-6.0.5 lib/rock_rms/response/payment_detail.rb
rock_rms-6.0.4 lib/rock_rms/response/payment_detail.rb
rock_rms-6.0.3 lib/rock_rms/response/payment_detail.rb
rock_rms-6.0.1 lib/rock_rms/response/payment_detail.rb
rock_rms-6.0.0 lib/rock_rms/response/payment_detail.rb
rock_rms-5.18.0 lib/rock_rms/response/payment_detail.rb
rock_rms-5.17.0 lib/rock_rms/response/payment_detail.rb
rock_rms-5.16.0 lib/rock_rms/response/payment_detail.rb
rock_rms-5.15.0 lib/rock_rms/response/payment_detail.rb
rock_rms-5.14.0 lib/rock_rms/response/payment_detail.rb
rock_rms-5.13.0 lib/rock_rms/response/payment_detail.rb
rock_rms-5.12.0 lib/rock_rms/response/payment_detail.rb