Sha256: a7f7ab373fc47f195cf1e024853c2f73f486932c3b3829dfdd7e9becd3c1070c

Contents?: true

Size: 772 Bytes

Versions: 3

Compression:

Stored size: 772 Bytes

Contents

module GenesisRuby
  module Api
    module Requests
      module Base
        module Financials
          # Base Class used for all transaction request containing Credit Card data
          class CreditCard < GenesisRuby::Api::Requests::Base::Financial

            include Mixins::Requests::Financial::PaymentAttributes
            include Mixins::Requests::Financial::Cards::CreditCardAttributes
            include Mixins::Requests::Financial::Cards::TokenizationAttributes

            protected

            # Credit Card attributes
            def payment_transaction_structure
              payment_attributes_structure.merge credit_card_attributes_structure, tokenization_attributes_structure
            end

          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
genesis_ruby-0.1.3 lib/genesis_ruby/api/requests/base/financials/credit_card.rb
genesis_ruby-0.1.2 lib/genesis_ruby/api/requests/base/financials/credit_card.rb
genesis_ruby-0.1.1 lib/genesis_ruby/api/requests/base/financials/credit_card.rb