class MasterCard::API::BlockchainB2bxb::Accepts

Public Class Methods

create(mapObj) click to toggle source
# File lib/mastercard/api/blockchainb2bxb/accepts.rb, line 60
def self.create(mapObj)
        #
        #Creates object of type Accepts
        #
        #@param Dict mapObj, containing the required parameters to create a new object
        #@return [Accepts] of the response of created instance.
        #@raise [APIException] an exception from the response status
        return self.execute("339dc319-91ca-47ca-be88-6dcd2154b84f", Accepts.new(mapObj))
end

Protected Class Methods

getOperationConfig(operationUUID) click to toggle source
# File lib/mastercard/api/blockchainb2bxb/accepts.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/blockchainb2bxb/accepts.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