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