Sha256: fa2a3ffdca9aea0fb59b9338034fe64017a5053240091c6832ba533dd56c9485

Contents?: true

Size: 481 Bytes

Versions: 5

Compression:

Stored size: 481 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.4.1 lib/gateway/Sale/retry_sale_request.rb
stone_ecommerce-1.4.0 lib/gateway/Sale/retry_sale_request.rb
mundipagg_sdk-1.4.0 lib/gateway/Sale/retry_sale_request.rb
stone_ecommerce-1.3.0 lib/gateway/Sale/retry_sale_request.rb
stone_ecommerce-1.2.3 lib/gateway/Sale/retry_sale_request.rb