Sha256: 306f87589772995358844d5e6f1eea3e6e69cca02e14f3996edce09b74444b3c

Contents?: true

Size: 466 Bytes

Versions: 5

Compression:

Stored size: 466 Bytes

Contents

module Gateway
  class CreateBuyerRequest < Person
    attr_accessor :AddressCollection

    attr_accessor :BuyerCategory

    attr_accessor :BuyerReference

    attr_accessor :CreateDateInMerchant

    attr_accessor :LastBuyerUpdateInMerchant

    def initialize
      @AddressCollection = Array.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/Person/create_buyer_request.rb
stone_ecommerce-1.4.0 lib/gateway/Person/create_buyer_request.rb
mundipagg_sdk-1.4.0 lib/gateway/Person/create_buyer_request.rb
stone_ecommerce-1.3.0 lib/gateway/Person/create_buyer_request.rb
stone_ecommerce-1.2.3 lib/gateway/Person/create_buyer_request.rb