class MasterCard::API::Mastercom::Retrievals

Public Class Methods

acquirerFulfillARequest(mapObj) click to toggle source
# File lib/mastercard/api/mastercom/retrievals.rb, line 66
def self.acquirerFulfillARequest(mapObj)
    #
    #Creates object of type Retrievals
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [Retrievals] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("2ea62802-968c-4849-89c0-36dd722292a8", Retrievals.new(mapObj))
end
create(mapObj) click to toggle source
# File lib/mastercard/api/mastercom/retrievals.rb, line 82
def self.create(mapObj)
    #
    #Creates object of type Retrievals
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [Retrievals] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("ae27698c-326c-4ab4-97b9-e4d943d07700", Retrievals.new(mapObj))
end
getDocumentation(criteria) click to toggle source
# File lib/mastercard/api/mastercom/retrievals.rb, line 120
def self.getDocumentation(criteria)
    #
    #Query objects of type Retrievals by id and optional criteria
    #@param [Dict] criteria
    #@return [Retrievals] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("abd937f5-a369-4d54-affa-11ad9dc41bed",Retrievals.new(criteria))
end
getPossibleValueListsForCreate(criteria) click to toggle source
# File lib/mastercard/api/mastercom/retrievals.rb, line 103
def self.getPossibleValueListsForCreate(criteria)
    #
    #Query objects of type Retrievals by id and optional criteria
    #@param [Dict] criteria
    #@return [Retrievals] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("3433bb2e-a862-4c7b-998e-e0383149b5c1",Retrievals.new(criteria))
end
issuerRespondToFulfillment(mapObj) click to toggle source
# File lib/mastercard/api/mastercom/retrievals.rb, line 132
def self.issuerRespondToFulfillment(mapObj)
    #
    #Creates object of type Retrievals
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [Retrievals] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("f33b97f8-fa62-44b6-af19-31f76ce0975f", Retrievals.new(mapObj))
end

Protected Class Methods

getOperationConfig(operationUUID) click to toggle source
# File lib/mastercard/api/mastercom/retrievals.rb, line 52
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/mastercom/retrievals.rb, line 59
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

retrievalFullfilmentImageStatus() click to toggle source
# File lib/mastercard/api/mastercom/retrievals.rb, line 149
def retrievalFullfilmentImageStatus
    #
    #Updates an object of type Retrievals
    #
    #@return [Retrievals] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("c2be8087-eed2-4987-ae7a-b23a67804389",self)
end
retrievalFullfilmentStatus() click to toggle source
# File lib/mastercard/api/mastercom/retrievals.rb, line 166
def retrievalFullfilmentStatus
    #
    #Updates an object of type Retrievals
    #
    #@return [Retrievals] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("24de8e0b-a150-4897-90b3-c912ff2fd463",self)
end