Class: MasterCard::API::PersonalizedLoyaltyOffers::ActivateStatementCreditOffer

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

Class Method Summary collapse

Class Method Details

.activateCredit(mapObj) ⇒ Object



60
61
62
63
64
65
66
67
68
# File 'lib/mastercard/api/personalizedloyaltyoffers/activatestatementcreditoffer.rb', line 60

def self.activateCredit(mapObj)
	#
	#Creates object of type ActivateStatementCreditOffer
	#
	#@param Dict mapObj, containing the required parameters to create a new object
	#@return [ActivateStatementCreditOffer] of the response of created instance.
	#@raise [APIException] an exception from the response status
	return self.execute("f0428b6e-14a3-4b2d-8daf-8df41e9fe746", ActivateStatementCreditOffer.new(mapObj))
end