Class: MasterCard::API::PersonalizedLoyaltyOffers::RedeemedOffers

Inherits:
Core::Model::BaseObject
  • Object
show all
Includes:
Core::Model
Defined in:
lib/mastercard/api/personalizedloyaltyoffers/redeemedoffers.rb

Class Method Summary collapse

Class Method Details

.redeemOffers(criteria) ⇒ Object



65
66
67
68
69
70
71
72
73
74
# File 'lib/mastercard/api/personalizedloyaltyoffers/redeemedoffers.rb', line 65

def self.redeemOffers(criteria)
	#
	#Query objects of type RedeemedOffers by id and optional criteria
	#@param [Dict] criteria
	#@return [RedeemedOffers] object representing the response.
	#@raise [APIException] an exception from the response status
	#

	return self.execute("c0383b20-ee76-4aca-8ace-7a2ee3276bc0",RedeemedOffers.new(criteria))
end