class QuerySaleResponse

Attributes

SaleDataCollection[RW]

Lista de vendas

SaleDataCount[RW]

Indicador do total de vendas

Public Class Methods

new() click to toggle source
# File lib/mundipagg/Sale/query_sale_response.rb, line 8
def initialize
  @SaleDataCollection = Array.new
end

Public Instance Methods

to_json() click to toggle source
# File lib/mundipagg/Sale/query_sale_response.rb, line 12
def to_json
  hash = {}
  instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
  hash
end