def creation_source=(creation_source)
      validator = EnumAttributeValidator.new('String', ["OTHER", "APPOINTMENTS", "COUPON", "DELETION_RECOVERY", "DIRECTORY", "EGIFTING", "EMAIL_COLLECTION", "FEEDBACK", "IMPORT", "INVOICES", "LOYALTY", "MARKETING", "MERGE", "ONLINE_STORE", "INSTANT_PROFILE", "TERMINAL", "THIRD_PARTY", "THIRD_PARTY_IMPORT", "UNMERGE_RECOVERY"])
      unless validator.valid?(creation_source)
        fail ArgumentError, "invalid value for 'creation_source', must be one of #{validator.allowable_values}."
      end
      @creation_source = creation_source
    end
def creation_source=(creation_source)
      validator = EnumAttributeValidator.new('String', ["OTHER", "APPOINTMENTS", "COUPON", "DELETION_RECOVERY", "DIRECTORY", "EGIFTING", "EMAIL_COLLECTION", "FEEDBACK", "IMPORT", "INVOICES", "LOYALTY", "MARKETING", "MERGE", "ONLINE_STORE", "INSTANT_PROFILE", "TERMINAL", "THIRD_PARTY", "THIRD_PARTY_IMPORT", "UNMERGE_RECOVERY"])
      unless validator.valid?(creation_source)
        fail ArgumentError, "invalid value for 'creation_source', must be one of #{validator.allowable_values}."
      end
      @creation_source = creation_source
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] creation_source Object to be assigned