class MasterCard::API::Mastercom::CaseFiling

Public Class Methods

create(mapObj) click to toggle source
# File lib/mastercard/api/mastercom/casefiling.rb, line 65
def self.create(mapObj)
    #
    #Creates object of type CaseFiling
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [CaseFiling] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("852b65eb-94b4-4715-b24b-7a9dc214c391", CaseFiling.new(mapObj))
end
retrieveDocumentation(criteria) click to toggle source
# File lib/mastercard/api/mastercom/casefiling.rb, line 86
def self.retrieveDocumentation(criteria)
    #
    #Query objects of type CaseFiling by id and optional criteria
    #@param [Dict] criteria
    #@return [CaseFiling] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("327a11d5-ed49-4555-a886-e10ceaaf01bb",CaseFiling.new(criteria))
end

Protected Class Methods

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

caseFilingImageStatus() click to toggle source
# File lib/mastercard/api/mastercom/casefiling.rb, line 99
def caseFilingImageStatus
    #
    #Updates an object of type CaseFiling
    #
    #@return [CaseFiling] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("8aa5352f-930f-4d7b-83de-af134e04059f",self)
end
caseFilingStatus() click to toggle source
# File lib/mastercard/api/mastercom/casefiling.rb, line 116
def caseFilingStatus
    #
    #Updates an object of type CaseFiling
    #
    #@return [CaseFiling] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("8650be3f-80f6-482c-b4ca-540edc7fb53e",self)
end
retrieve() click to toggle source
# File lib/mastercard/api/mastercom/casefiling.rb, line 133
def retrieve
    #
    #Updates an object of type CaseFiling
    #
    #@return [CaseFiling] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("fc603a0d-362b-4845-bfbb-4787d3fde374",self)
end
update() click to toggle source
# File lib/mastercard/api/mastercom/casefiling.rb, line 150
def update
    #
    #Updates an object of type CaseFiling
    #
    #@return [CaseFiling] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("6a72e1ef-1f07-4ef0-9534-aa1e4fe6f433",self)
end