class MasterCard::API::MpqrAccept::InstitutionConfiguration

Public Class Methods

read(criteria) click to toggle source
# File lib/mastercard/api/mpqraccept/institutionconfiguration.rb, line 69
def self.read(criteria)
    #
    #Query objects of type InstitutionConfiguration by id and optional criteria
    #@param [Dict] criteria
    #@return [InstitutionConfiguration] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("f104cf94-df39-4d88-b76e-d2584687c06c",InstitutionConfiguration.new(criteria))
end

Protected Class Methods

getOperationConfig(operationUUID) click to toggle source
# File lib/mastercard/api/mpqraccept/institutionconfiguration.rb, line 50
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/mpqraccept/institutionconfiguration.rb, line 57
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

publish() click to toggle source
# File lib/mastercard/api/mpqraccept/institutionconfiguration.rb, line 82
def publish
    #
    #Updates an object of type InstitutionConfiguration
    #
    #@return [InstitutionConfiguration] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("52ad8869-0bcb-4262-8a6c-9524fe47270d",self)
end
terminate() click to toggle source
# File lib/mastercard/api/mpqraccept/institutionconfiguration.rb, line 116
def terminate
    #
    #Updates an object of type InstitutionConfiguration
    #
    #@return [InstitutionConfiguration] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("709c781e-f76e-421a-8ce4-6e09c09ef8ea",self)
end
unpublish() click to toggle source
# File lib/mastercard/api/mpqraccept/institutionconfiguration.rb, line 133
def unpublish
    #
    #Updates an object of type InstitutionConfiguration
    #
    #@return [InstitutionConfiguration] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("c5c16024-841a-4379-acdd-1ee475cc8231",self)
end
update() click to toggle source
# File lib/mastercard/api/mpqraccept/institutionconfiguration.rb, line 99
def update
    #
    #Updates an object of type InstitutionConfiguration
    #
    #@return [InstitutionConfiguration] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("805e8fab-a267-46e9-95fc-b616d3f56a0c",self)
end