Sha256: 5c5167d8c3f11ec8de1d197f8798140cb333f60b4adbf9357efc81875285d669

Contents?: true

Size: 729 Bytes

Versions: 18

Compression:

Stored size: 729 Bytes

Contents

module Iyzipay
  module Model
    class PaymentCard
      def self.to_pki_string(request)
        unless request.nil?
          PkiBuilder.new.
              append(:cardHolderName, request[:cardHolderName]).
              append(:cardNumber, request[:cardNumber]).
              append(:expireYear, request[:expireYear]).
              append(:expireMonth, request[:expireMonth]).
              append(:cvc, request[:cvc]).
              append(:registerCard, request[:registerCard]).
              append(:cardAlias, request[:cardAlias]).
              append(:cardToken, request[:cardToken]).
              append(:cardUserKey, request[:cardUserKey]).
              get_request_string
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 5 rubygems

Version Path
iyzipay-subscription-payments-1.0.2 lib/iyzipay/model/payment_card.rb
iyzipay-subscription-payments-1.0.1 lib/iyzipay/model/payment_card.rb
iyzipay-subscriptions-1.0.1 lib/iyzipay/model/payment_card.rb
iyzipay-subscriptions-1.0.0 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.45 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.44 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.43 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.42 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.39 lib/iyzipay/model/payment_card.rb
erdem-iyzipay-1.1.0 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.36 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.35 lib/iyzipay/model/payment_card.rb
iyzipay-zebramo-1.0.36 lib/iyzipay/model/payment_card.rb
iyzipay-zebramo-1.0.35 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.34 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.32 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.31 lib/iyzipay/model/payment_card.rb
iyzipay-1.0.29 lib/iyzipay/model/payment_card.rb