class Gateway::CreateBuyerRequest

Attributes

AddressCollection[RW]
BuyerCategory[RW]
BuyerReference[RW]
CreateDateInMerchant[RW]
LastBuyerUpdateInMerchant[RW]

Public Class Methods

new() click to toggle source
# File lib/gateway/Person/create_buyer_request.rb, line 13
def initialize
  @AddressCollection = Array.new
end

Public Instance Methods

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