Sha256: 39fd550d568933422b9fcdf7973816d47c97778416d21f31c46c64fef350fabe
Contents?: true
Size: 645 Bytes
Versions: 4
Compression:
Stored size: 645 Bytes
Contents
class CreateSaleResponse # Lista as transações de Cartão de Crédito attr_accessor :CreditCardTransactionResultCollection # Lista as transações de boleto attr_accessor :BoletoTransactionResultCollection # Dados de retorno do pedido attr_accessor :OrderResult # Chave do comprador. Utilizada para identificar um comprador no gateway attr_accessor :BuyerKey def initialize @CreditCardTransactionResultCollection = Array.new @BoletoTransactionResultCollection = Array.new end def to_json hash = {} instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end end
Version data entries
4 entries across 4 versions & 2 rubygems