Sha256: c3eb6c8d2f2897f320b8aca75e2f03248f5c2dbd819dc843fda39a28c2a2ca10

Contents?: true

Size: 504 Bytes

Versions: 5

Compression:

Stored size: 504 Bytes

Contents

require_relative 'retry_sale_options'
module Gateway

  class RetrySaleRequest

    attr_accessor :Options

    attr_accessor :OrderKey

    attr_accessor :RetrySaleCreditCardTransactionCollection

    def initialize
      @RetrySaleCreditCardTransactionCollection = Array.new
      @Options = RetrySaleOptions.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/retry_sale_request.rb
stone_ecommerce-1.2.4 lib/gateway/Sale/retry_sale_request.rb
mundipagg_sdk-1.2.4 lib/gateway/Sale/retry_sale_request.rb
mundipagg_sdk-1.2.3 lib/gateway/Sale/retry_sale_request.rb
mundipagg_sdk-1.2.3rc lib/gateway/Sale/retry_sale_request.rb