Sha256: 5b7a1cf1f1929e7dcb9e7fb05b109e9fdf859e90fd853f49067f1b1ae4cb2954

Contents?: true

Size: 378 Bytes

Versions: 44

Compression:

Stored size: 378 Bytes

Contents

module RockRMS
  module Response
    class PaymentDetail < Base
      MAP = {
        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

44 entries across 44 versions & 1 rubygems

Version Path
rock_rms-9.9.0 lib/rock_rms/response/payment_detail.rb
rock_rms-9.8.0 lib/rock_rms/response/payment_detail.rb
rock_rms-9.7.0 lib/rock_rms/response/payment_detail.rb
rock_rms-9.6.0 lib/rock_rms/response/payment_detail.rb
rock_rms-9.5.0 lib/rock_rms/response/payment_detail.rb
rock_rms-9.4.0 lib/rock_rms/response/payment_detail.rb
rock_rms-9.3.0 lib/rock_rms/response/payment_detail.rb
rock_rms-9.2.0 lib/rock_rms/response/payment_detail.rb
rock_rms-9.1.0 lib/rock_rms/response/payment_detail.rb
rock_rms-9.0.0 lib/rock_rms/response/payment_detail.rb
rock_rms-8.23.0 lib/rock_rms/response/payment_detail.rb
rock_rms-8.22.0 lib/rock_rms/response/payment_detail.rb
rock_rms-8.21.0 lib/rock_rms/response/payment_detail.rb
rock_rms-8.20.0 lib/rock_rms/response/payment_detail.rb
rock_rms-8.19.0 lib/rock_rms/response/payment_detail.rb
rock_rms-8.18.0 lib/rock_rms/response/payment_detail.rb
rock_rms-8.17.0 lib/rock_rms/response/payment_detail.rb
rock_rms-8.16.0 lib/rock_rms/response/payment_detail.rb
rock_rms-8.15.2 lib/rock_rms/response/payment_detail.rb
rock_rms-8.15.1 lib/rock_rms/response/payment_detail.rb