Sha256: 4e3e4ffb20bed5f90115cffa04ac096660da3ad534062cf616463c9a5e0291c3

Contents?: true

Size: 316 Bytes

Versions: 4

Compression:

Stored size: 316 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

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