Sha256: 6a6e708d4db80d644ea9dbb8fb711d00428b1115d5d8af8291fce12d7b5ab851

Contents?: true

Size: 380 Bytes

Versions: 5

Compression:

Stored size: 380 Bytes

Contents

module Gateway
  
  class ManageSaleRequest

    attr_accessor :CreditCardTransactionCollection

    attr_accessor :OrderKey

    def initialize
      @CreditCardTransactionCollection = Array.new;
    end

    def to_json
      hash = {}
      instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
      hash
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mundipagg_sdk-1.3.0 lib/gateway/Sale/manage_sale_request.rb
stone_ecommerce-1.2.4 lib/gateway/Sale/manage_sale_request.rb
mundipagg_sdk-1.2.4 lib/gateway/Sale/manage_sale_request.rb
mundipagg_sdk-1.2.3 lib/gateway/Sale/manage_sale_request.rb
mundipagg_sdk-1.2.3rc lib/gateway/Sale/manage_sale_request.rb