Class: Gateway::UpdateInstantBuyDataRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/gateway/InstantBuyData/update_instant_buy_data_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#BuyerKeyObject

Returns the value of attribute BuyerKey.



3
4
5
# File 'lib/gateway/InstantBuyData/update_instant_buy_data_request.rb', line 3

def BuyerKey
  @BuyerKey
end

Instance Method Details

#to_jsonObject



5
6
7
8
9
# File 'lib/gateway/InstantBuyData/update_instant_buy_data_request.rb', line 5

def to_json
  hash = {}
  instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
  hash
end