Class: Gateway::CreateBuyerRequest
- Inherits:
-
Person
- Object
- Person
- Gateway::CreateBuyerRequest
- Defined in:
- lib/gateway/Person/create_buyer_request.rb
Instance Attribute Summary collapse
-
#AddressCollection ⇒ Object
Returns the value of attribute AddressCollection.
-
#BuyerCategory ⇒ Object
Returns the value of attribute BuyerCategory.
-
#BuyerReference ⇒ Object
Returns the value of attribute BuyerReference.
-
#CreateDateInMerchant ⇒ Object
Returns the value of attribute CreateDateInMerchant.
-
#LastBuyerUpdateInMerchant ⇒ Object
Returns the value of attribute LastBuyerUpdateInMerchant.
Instance Method Summary collapse
-
#initialize ⇒ CreateBuyerRequest
constructor
A new instance of CreateBuyerRequest.
- #to_json ⇒ Object
Constructor Details
#initialize ⇒ CreateBuyerRequest
Returns a new instance of CreateBuyerRequest.
13 14 15 |
# File 'lib/gateway/Person/create_buyer_request.rb', line 13 def initialize @AddressCollection = Array.new end |
Instance Attribute Details
#AddressCollection ⇒ Object
Returns the value of attribute AddressCollection.
3 4 5 |
# File 'lib/gateway/Person/create_buyer_request.rb', line 3 def AddressCollection @AddressCollection end |
#BuyerCategory ⇒ Object
Returns the value of attribute BuyerCategory.
5 6 7 |
# File 'lib/gateway/Person/create_buyer_request.rb', line 5 def BuyerCategory @BuyerCategory end |
#BuyerReference ⇒ Object
Returns the value of attribute BuyerReference.
7 8 9 |
# File 'lib/gateway/Person/create_buyer_request.rb', line 7 def BuyerReference @BuyerReference end |
#CreateDateInMerchant ⇒ Object
Returns the value of attribute CreateDateInMerchant.
9 10 11 |
# File 'lib/gateway/Person/create_buyer_request.rb', line 9 def CreateDateInMerchant @CreateDateInMerchant end |
#LastBuyerUpdateInMerchant ⇒ Object
Returns the value of attribute LastBuyerUpdateInMerchant.
11 12 13 |
# File 'lib/gateway/Person/create_buyer_request.rb', line 11 def LastBuyerUpdateInMerchant @LastBuyerUpdateInMerchant end |
Instance Method Details
#to_json ⇒ Object
17 18 19 20 21 |
# 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 |