class MasterCard::API::Mastercom::Chargebacks

Public Class Methods

create(mapObj) click to toggle source
# File lib/mastercard/api/mastercom/chargebacks.rb, line 84
def self.create(mapObj)
    #
    #Creates object of type Chargebacks
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [Chargebacks] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("a96bd620-a49d-4222-8065-c0410d980fc7", Chargebacks.new(mapObj))
end
createReversal(mapObj) click to toggle source
# File lib/mastercard/api/mastercom/chargebacks.rb, line 100
def self.createReversal(mapObj)
    #
    #Creates object of type Chargebacks
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [Chargebacks] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("c6cc9f7b-e279-40ce-a9d2-dda490d12825", Chargebacks.new(mapObj))
end
getPossibleValueListsForCreate(mapObj) click to toggle source
# File lib/mastercard/api/mastercom/chargebacks.rb, line 133
def self.getPossibleValueListsForCreate(mapObj)
    #
    #Creates object of type Chargebacks
    #
    #@param Dict mapObj, containing the required parameters to create a new object
    #@return [Chargebacks] of the response of created instance.
    #@raise [APIException] an exception from the response status
    return self.execute("598dd945-f711-4cf9-8df1-a09579998850", Chargebacks.new(mapObj))
end
retrieveDocumentation(criteria) click to toggle source
# File lib/mastercard/api/mastercom/chargebacks.rb, line 121
def self.retrieveDocumentation(criteria)
    #
    #Query objects of type Chargebacks by id and optional criteria
    #@param [Dict] criteria
    #@return [Chargebacks] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("7c26acb2-a9cd-4c05-8314-7147dce0906a",Chargebacks.new(criteria))
end

Protected Class Methods

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

acknowledgeReceivedChargebacks() click to toggle source
# File lib/mastercard/api/mastercom/chargebacks.rb, line 68
def acknowledgeReceivedChargebacks
    #
    #Updates an object of type Chargebacks
    #
    #@return [Chargebacks] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("a4ca54dc-ba89-418f-b38d-699f32bef089",self)
end
chargebacksImageStatus() click to toggle source
# File lib/mastercard/api/mastercom/chargebacks.rb, line 150
def chargebacksImageStatus
    #
    #Updates an object of type Chargebacks
    #
    #@return [Chargebacks] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("f48cf894-b6b3-454c-b215-94eddabb931a",self)
end
chargebacksStatus() click to toggle source
# File lib/mastercard/api/mastercom/chargebacks.rb, line 167
def chargebacksStatus
    #
    #Updates an object of type Chargebacks
    #
    #@return [Chargebacks] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("709d18c2-9fb9-4a29-9cd7-1dd39f26dd64",self)
end
update() click to toggle source
# File lib/mastercard/api/mastercom/chargebacks.rb, line 184
def update
    #
    #Updates an object of type Chargebacks
    #
    #@return [Chargebacks] object representing the response.
    #@raise [APIException] an exception from the response status
    #
    return self.class.execute("1e0acfea-d280-4feb-82e7-287e7c8edfc3",self)
end