class MasterCard::API::PersonalizedLoyaltyOffers::UserSaving

Public Class Methods

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

        return self.execute("adbff82f-95c8-43d0-afb4-2651f29747a2",UserSaving.new(criteria))
end

Protected Class Methods

getOperationConfig(uuid) click to toggle source
# File lib/mastercard/api/personalizedloyaltyoffers/usersaving.rb, line 46
def self.getOperationConfig(uuid)
        if @__store.key?(uuid)
                return @__store[uuid]
        end
        raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
end
getOperationMetadata() click to toggle source
# File lib/mastercard/api/personalizedloyaltyoffers/usersaving.rb, line 53
def self.getOperationMetadata()
        return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
end