Sha256: 14651a2b5a9692cb235194ea64b044c87b32fae915d542e1e328b139b8866df9

Contents?: true

Size: 433 Bytes

Versions: 4

Compression:

Stored size: 433 Bytes

Contents

require_relative 'retry_sale_options'

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
stone_ecommerce-1.0.3 lib/gateway/Sale/retry_sale_request.rb
mundipagg_sdk-1.0.3 lib/gateway/Sale/retry_sale_request.rb
stone_ecommerce-1.0.2 lib/gateway/Sale/retry_sale_request.rb
stone_ecommerce-1.0.0 lib/gateway/Sale/retry_sale_request.rb