class MasterCard::API::P2p::AccountInfo
Protected Class Methods
getOperationConfig(operationUUID)
click to toggle source
# File lib/mastercard/api/p2p/accountinfo.rb, line 46 def self.getOperationConfig(operationUUID) if @__store.key?(operationUUID) return @__store[operationUUID] end raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID) end
getOperationMetadata()
click to toggle source
# File lib/mastercard/api/p2p/accountinfo.rb, line 53 def self.getOperationMetadata() return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride()) end
Public Instance Methods
read()
click to toggle source
# File lib/mastercard/api/p2p/accountinfo.rb, line 61 def read # #Updates an object of type AccountInfo # #@return [AccountInfo] object representing the response. #@raise [APIException] an exception from the response status # return self.class.execute("c1116ee0-9867-4139-9b48-865dfa760a9f",self) end