class MasterCard::API::Mastercom::Fees
Public Class Methods
create(mapObj)
click to toggle source
# File lib/mastercard/api/mastercom/fees.rb, line 61 def self.create(mapObj) # #Creates object of type Fees # #@param Dict mapObj, containing the required parameters to create a new object #@return [Fees] of the response of created instance. #@raise [APIException] an exception from the response status return self.execute("f9726b83-6f84-453e-ade6-eb38fc782e9a", Fees.new(mapObj)) end
getPossibleValueListsForCreate(mapObj)
click to toggle source
# File lib/mastercard/api/mastercom/fees.rb, line 77 def self.getPossibleValueListsForCreate(mapObj) # #Creates object of type Fees # #@param Dict mapObj, containing the required parameters to create a new object #@return [Fees] of the response of created instance. #@raise [APIException] an exception from the response status return self.execute("31520043-9256-4b9e-96e4-60c3db4568d8", Fees.new(mapObj)) end
Protected Class Methods
getOperationConfig(operationUUID)
click to toggle source
# File lib/mastercard/api/mastercom/fees.rb, line 47 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/fees.rb, line 54 def self.getOperationMetadata() return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride()) end